Add to favorites

Recalculation of geographical coordinates. Degree -> degree/minute/second:

Latitude: ° Longitude: °

Recalculation of geographical coordinates. Degree/minute/second -> degree:

Latitude: °'" Longitude: °'"

Determination of the height above sea level in the coordinates:

Latitude: ° Longitude: °

Search Form geographical coordinates of the object based on the mapping services of Google or Yandex.
Columbia, Missouri, USA
Unter den Linden 2, Berlin, Deutschland
55.7522,37.6156 (latitude,longitude)

use the service: Google Yandex
Recent searches:

Determination of geographical coordinates of the object on the map.

Link to this place:

Geo IP
Host / IP: My IP

Full version



If you want to use geographical coordinates search on your site, you can use the service on a commercial basis The annual fee or 5 000 search queries is $25.
To do this you need to connect to your site script one of two ways:

1. Using PHP's
You must pass a variable data at{ser}&q={q}
It can be done, for example, using the library Curl.

$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, "{ser}&q={q}");
curl_setopt ($ch, CURLOPT_HEADER, false);
curl_setopt ($ch, CURLOPT_REFERER, getenv("SERVER_NAME"));

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec ($ch);
curl_close ($ch);

As a result of this script in the variable $data will contain data in the format of json.
{"results":[{"lat" : "55.6088333", "long" : "38.8553333", "alt" : "126.8087997"}],"status" : "ОК", "date" : "2015-01-01", "hit" : "99999"}

2. Using the tools of javascript
Need to connect to your site script{ser}&q={q}
<script src="{ser}&q={q}"></script>

As a result, your script will be added javascript variable latlong with the data in the format of json.
latlong = '{"results":[{"lat" : "55.6088333", "long" : "38.8553333", "alt" : "126.8087997"}],"status" : "ОК", "date" : "2015-01-01", "hit" : "99999"}';

Customization service
ser={ser} - mandatory parameter. Instead {ser} insert name of the search engine. Possible values​​: yandex or google;
q={q} - mandatory parameter. Instead {q} insert your search request;
Encoding - utf-8
When first using the geographic service are binding IP addresses to the site where the service was connected. This is done for security and protection against misuse of geographical service.

Explanation fields server response:
results - Array with results of geographical coordinates.
status - Status of the search query. OK - no errors.
date - End date of service.
hit - Remaining number of search queries.

Possible errors:
Access Denied from IP
With this IP address does not have access. Ability to change IP address of your website. Contact the administrator.
Access Denied from Host
With this host does not have access. Outdated Service or number of searches exceeded the norm. Contact the administrator.
server returned an empty result!
Search server returned an empty result.
In the search query contains illegal characters!
In the search query contains invalid characters.
Empty query!
Empty query.

On connection and use geographical service, please contact by e-mail .

VkontakteFacebook ()