26

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?

Harold Chan
  • 1,667
  • 3
  • 17
  • 25

4 Answers4

31

This one's pretty handy: http://cs2cs.mygeodata.eu/

Also useful for batch conversions.

yalestar
  • 1,250
  • 13
  • 18
5

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.

Devdatta Tengshe
  • 41,311
  • 35
  • 139
  • 263
2

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

0

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]);
hoogw
  • 1,712
  • 1
  • 18
  • 23