function sanitize( $var ) {
return str_replace('"', '', htmlentities($var) );
}
if ($_GET['go'] != '' ) {
list($x, $y) = explode( ' ', sanitize( str_replace('%20', '', $_GET['go']) ) );
} else {
$x = sanitize($_GET['x']);
$y = sanitize($_GET['y']);
$z = sanitize($_GET['z']);
}
if ( ( $x != '' ) and ( $y != '' ) ) $position = "$x $y";
?>
GPS Coordinate Converter and Maps
What you can do with this website
With this website you can:
- Convert your GPS coordinates between the most used formats
- Search the GPS coordinates of a point on the map
- Calculate distances between two points
- Get the altitude of a point in the map
Coordinate formats supported
When using only numbers to write coordinates use the - symbol (minus character) to write South or West
Decimal Degrees
34.669358 -40.957031
N34.669358 W40.957031
Decimal, Degrees and Seconds (DMS)
N34 40 09 W40 57 25
34 40 09 -40 57 25
GPS
N34 40.161 W40 57.422
34 40.161 -40 57.422
UTM
24N 320690 3838119
Url
Paste the full Google Maps URL
Enter coordinates or Google Maps URL
Decimal Degrees
Latitude
Longitude
Degrees, Minutes & Seconds
Latitude
Longitude
GPS
Latitude
Longitude
UTM
X
Y