Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to convert GPS coordinates to EPSG:54004 on android. Are there any libraries or formulas to acomplish the task? Thanks in advance.

share|improve this question
54004 is not an EPSG authority object, but an Esri one--WGS 1984 World Mercator. Mathematically, it's the same as EPSG:3395 (although 3395 uses a scale factor = 1 and Esri's world Mercator is using standard parallel 1 = 0. – mkennedy Sep 7 '12 at 18:31
Thanks for help. But I am noob in gis. Can you please help me with my problem? – alekz Sep 10 '12 at 7:00
I'm sorry but I don't know about available Android libraries. A web search on android "map projection" turned up several questions on, a partial port of PROJ.4 on, etc. – mkennedy Sep 10 '12 at 16:26

It was in development when I last checked but the OGR functions of GDAL are a possibility. Install instructions on Android are quite complex and can be found here. Once you have it working you would then need to use the OGRCoordinateTransformation. This is going to be difficult to achieve.

May I suggest a differing approach that may be simpler. Using QGIS on Android may be a more out-of-the box solution. Please note mckennedy comment below on the reprojection information as it pertains to EPSG:54004 conversion.

One final thought, I would do neither of these but try to utilize and online transformation tool and just feed it the coordinates. Something like cs2cs or similar.

share|improve this answer
Thanks for the link to cs2cs, I had never heard of that site before and it looks quite nice! – ed.hankins Jan 21 at 12:19

When you say GPS i am assuming you mean in a state plane or utm? I would suggest creating a php webpage using the proj4 library. You can create a php/js page that will allow the input of N,E points as a single point entered by the user or in a batch of points in csv format and it will output it the lat/long coordinates. I have a webpage that can be found at , this takes any Texas State Plane coordinate point (in Northing Easting) and converts to WGS84 Lat/Lon, it works on a single point or a batch of many points. The program gives output as either a converted CSV or GPX file or it will map them in googlemaps or ESRI maps. I can give you the source code if you would like, but you will have to change some parameters, ie the source and destination CRS

Here is the web page for Proj4js -

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.