2

I'm creating an android version of a PC program (I've contacted the company who owns the PC program, so it's legal). The program is in the core a GPS, but is used to navigate pre-defined routes for heavyweight transports, because they are not allowed to pass some bridges. However, that isn't very important for my problem. The program reads the coordinates from text files, so my app needs to do that too, but those coordinates are not in the range -180 to 180 and -90 to 90. So I can't really understand them. For example, one coordinate has these values:

X: 6603939,57000491
Y: 575841,753705909

I need to convert these coordinates to WGS84 coordinates (lon and lat) in order to be able to use them for what I want.

  • You need to provide more information on the source of these files, and a guess as to the possible units. – Vince Jan 24 '15 at 20:54
6

I recommend you to have a look at the webpage epsg.io. There you can search also for regions to see which EPSG-codes are common for these regions. As you have written in your profile that you are from Sweden, I guess the coordinates are from Sweden,too. The best match i found so far was EPSG 3006 but i guess you flipped the x and y -values, is that possible?

if you flip x/y-Values and use EPSG3006 you end up in sweden in the middle of a road: enter image description here http://epsg.io/3006/map

  • Thanks! The location is correct :) So what coordinate system is it? – Daniel Kvist Jan 24 '15 at 22:10
  • Ah, Thanks! This seems to be what i'm looking for. – Daniel Kvist Jan 24 '15 at 22:15
  • Your welcome ;-) – Thomas B Jan 24 '15 at 22:16
  • 1
    @martinf Is this bad in some way? To maintain the "precision"? The point is to answer the asked question, right? – Daniel Kvist Jan 31 '15 at 23:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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