Every time I want to do conversion, I need to get into the console to run proj.4. Is there any online tools for converting coordinates between different EPSG?
4 Answers
This one's pretty handy: http://cs2cs.mygeodata.eu/
Also useful for batch conversions.
-
1this tool is really more handy~! How about including Z-axis conversion? Feb 21, 2013 at 6:05
-
Awesome! Just in case the original URL's forwarding breaks, the tool is currently at mygeodata.cloud/cs2cs Mar 30, 2018 at 18:32
To do a one-off projection, I usually use the geometry service on our ArcGIS Server's REST endpoint.
You could also use ArcGIS Online's Rest Endpoint, which is available here.
Here is a sample which shows how you can project from 4326 to 3857.
Please note that you need to comply with their Terms & Conditions.
Two other handy tools for future reference:
- twcc.fr (the world woordinate converter)
- epsg.io, very useful for both transformation, retrieving available coordinate systems, ...
And to find which coordinate system might be suitable for your needs : georepository.com
I have tried, GDAL, .net package with nuget, doesn't work,
I have tried, above http://cs2cs.mygeodata.eu/, it does not give correct result.
I have tried, ArcGIS Online's Rest Endpoint, which is available here. it works fine.
Now, introduce you the best solution is proj4js
It is very easy to use, in client browser, just see example,
proj4.defs([
[
'EPSG:4326',
'+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees'],
[
'EPSG:2230',
'+title=NAD83 (2230) +proj=lcc +lat_1=33.88333333333333 +lat_2=32.78333333333333 +lat_0=32.16666666666666 +lon_0=-116.25 +x_0=2000000.0001016 +y_0=500000.0001016001 +datum=NAD83 +units=us-ft +no_defs'
]
]);
proj4('EPSG:2230','EPSG:4326',[6053765.97863,2201827.64981]);