I have some coordinates in datum REGCAN95, and I want to know how to convert them to something usable in OpenStreetMap. I have found that REGCAN95 uses the EPSG codes as follows:
For example I have the coordinate 28BR205306 or 28BR067530, which I want to find in OpenStreetMap or other webmaps. How can I convert them? PS: I have also asked this on GIS.stackexchange.com and got some comments with hints, but no answer. I answered it myself, as I have found a solution via the Wikipedia page abouth the MGRS reference system. asked 15 Mar '16, 19:51 erik |
Conversion to & from various co-ordinate systems is usually done using the Proj4 library. This projection occurs in proj4 with the following parameters: "+proj=utm +zone=27 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs", which appears to be identical to EPSG:3187 shown here on Spatial Reference. This site allows on-line conversions between many reference systems. Otherwise you will have to make use of tools provided by OSGeo. This question has been asked & answered on GIS Stack Exchange also. The OP did not provide this information. answered 16 Mar '16, 13:48 SK53 ♦ Thank you for your answer. I like this proj4 tool, because you can convert many coordinates per script at once. Well, theoretically. I tried it with your command:
(16 Mar '16, 15:26)
erik
I have searched on spatialreference.org and there seems no data about EPSG:4083.
(16 Mar '16, 15:36)
erik
To use cs2cs/proj4 to convert the locations, you would first need to translate the MGRS representation to a UTM representation. proj4 doesn't understand the MGRS representation.
(16 Mar '16, 16:10)
maxerickson
@erik Re: EPSG:4082. Yes I'd have told you that but thought I was wasting my time with my answer. However I thought what I had written might be of some use to someone else.
(16 Mar '16, 21:37)
SK53 ♦
@maxerickson Would you mind telling me how to do so? I mean, how to translate MGRS to UTM with cs2cs? Or is that impossible? Maybe another commandline tool?
(17 Mar '16, 00:56)
erik
There is no support for MGRS in cs2cs so you would need to use another tool.
(17 Mar '16, 13:10)
maxerickson
showing 5 of 6
show 1 more comments
|
Please dont duplicate questions here & on GIS Stack Exchange. Or if you do, say so; and certainly take the trouble to update the query when it's already answered. It's very frustrating to start writing an answer & find the query has already been answered. I like to help, NOT HAVE MY TIME WASTED.