Tuesday, 14 February 2017

latitude longitude - OpenLayers Lat Lon Conversion?


I've been trying to figure this out, but have come up with nothing. I have this code:


....
var lat = 7486473;
var lon = 4193332;
var lonlat = new OpenLayers.LonLat(lon, lat);
....


It uses floats for the lat/lon values. My issue is I don't know how to convert regular latitude/longitude coordinates into these numbers. I've searched for the answer, but I haven't been able to make sense of anything since I'm pretty new to GIS as this isn't my field.


The location given represents Moscow. 55.7500° N, 37.6167° E Moscow, Coordinates




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...