1

I have a list of coördinates that are in X/Y form, and I need them in lat/lon. I tried googling around a bit, and found this method: Converting projected coordinates to lat/lon using Python?

This does seem to work, but I found out a few minutes ago that there are numerous coordinate reference systems, and I have no clue which one my data is in.

I tried a few of these: https://epsg.io/?q=Belgium (because the file I got is from a Belgian company), but the results I got didn't seem right.

Is there any way to figure out what coordinate system was used (except for trying out all 10000 possibilities), with a known combination?

For example, I know X="0511245565" Y="0042422978" should approximately equal to 51.206728, 3.253426 in wsg84.

My appologies if this has been asked before, or if this is a dumb question. I have no background in GIS, or anything related.

Opifex
  • 113
  • 2
  • Do you know the bounding box of the data, and the approximate lat-long bounding box you expect it to be? And what's the range of the data numbers - is it likely to be metres or km or furlongs? Try common ones first - EPSG:3857 (Google's Web Mercator) and the UTM zone for your area. – Spacedman Jul 19 '18 at 13:43
  • 2
    But the real solution is to ask the people you got the data from - especially if they want you to do something with the data for them! – Spacedman Jul 19 '18 at 13:44
  • @Spacedman: These seem to be somewhat the extreme values: X="0505440460" Y="0044309962" and X="0511002690" Y="0030139468" I think it's likely metres, but I'm not really sure how I can tell. EPSG:3857, isn't that the same as Google's wsg84? Isn't this the one I want as my target coordsystem? I tried a few of the Lambert ones (common in my area), but will try a few more. Yes, the easiest way would be to ask the person I got the data from (which is what I'm doing now, by mail), but I'm pretty sure that his answer will be "I don't know what you're talking about. I just use the data." – Opifex Jul 19 '18 at 13:50

1 Answers1

2

There is likely a missing comma in your coordinates because they are too big for a national grid ( ex France which is larger than Belgium has on 7 digits on its national grid coordinates ) plus it's in meters which is just huge !

enter image description here

Do you see the ressemblance between the longitude and latitude of Antwerp and your Data, This means that your coordinates are likely to be in EPSG:4326 and that it only misses a comma after the third digit

Hicham Zouarhi
  • 3,255
  • 2
  • 19
  • 32
  • 1
    You are my hero! – Opifex Jul 19 '18 at 14:47
  • 1
    But you will have to work out if they are decimal degrees or DDDMMSS.SSS or some other fractional notation. Do digits 4 and 5 ever go above 59? – Spacedman Jul 19 '18 at 16:48
  • @Spacedman: Tbh. I don't know (This type of stuff is way out of my field of expertise), but when converting it with pyproj (with the method I linked above) it worked perfectly. – Opifex Jul 20 '18 at 17:31