Wrong coordinates?
2 posters
Wrong coordinates?
Hi,
I've just tried to create and display a map from an OZI file. The OruxMapsDesktop's conversion seems to work fine (the 4 coordinates in the otrk2.xml are correct - I checked in Google Maps and the 4 points indeed are located in the 4 corners of my PNG). In the android application however the top left coordinates are correct but the bottom right coordinates are wrong (when I place the position indicator on the bottom right corner it displays 45.9016°N-5.77002°E; the correct coordinates are 45.12754316°N 5.76858281°E).
This is problematic for me since my real position on the map is then displayed incorrectly. (I checked in the embedded Google Maps application and it works fine - 10m uncertainty with the GPS - so the problem does not come from the GPS.)
Have I missed something in the conversion process?
Here are the needed files to reproduce the problem:
I've just tried to create and display a map from an OZI file. The OruxMapsDesktop's conversion seems to work fine (the 4 coordinates in the otrk2.xml are correct - I checked in Google Maps and the 4 points indeed are located in the 4 corners of my PNG). In the android application however the top left coordinates are correct but the bottom right coordinates are wrong (when I place the position indicator on the bottom right corner it displays 45.9016°N-5.77002°E; the correct coordinates are 45.12754316°N 5.76858281°E).
This is problematic for me since my real position on the map is then displayed incorrectly. (I checked in the embedded Google Maps application and it works fine - 10m uncertainty with the GPS - so the problem does not come from the GPS.)
Have I missed something in the conversion process?
Here are the needed files to reproduce the problem:
- Ozi Map (PNG + .map): (7.3MB)
Thanks in advance,
Baptiste.
blepers- Guest
Re: Wrong coordinates?
Hi, blepers;
I do not know why, but those are not real 'latitude/longitude' projection maps.
Try with 'Transverse Mercator' projection, with these parameters:
Projection Setup, 45.000000000, 5.000000000, 0.999600000, 0.00, 0.00, 49.000000000, 45.000000000,,,
Latitude origin --> 45.0
Longitude origin--> 5.0
factor k -->0.9996
false north-->0.0
false east-->0.0
I think it will work fine;
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Wrong coordinates?
Thanks for your answer!
The result is the same as before.
What I don't get is why OruxMaps is displaying wrong coordinates. When I open the .xml file I have:
So, when looking at the map, why isn't OruxMaps displaying lon="5.76858281" lat="45.12754316" when I'm at the bottom right corner ?
The result is the same as before.
What I don't get is why OruxMaps is displaying wrong coordinates. When I open the .xml file I have:
- Code:
<?xml version="1.0" encoding="UTF-8"?>
<OruxTracker xmlns="http://oruxtracker.com/app/res/calibration"
versionCode="2.1">
<MapCalibration layers="false" layerLevel="0">
<MapName><![CDATA[GRENOBLE -UN de Lutin France 2004- Topo 1 25000]]></MapName>
<MapChunks xMax="8" yMax="8" datum="WGS 1984:Global Definition@WGS 1984:Global Definition" projection="Transverse Mercator,5.0,45.0,0.9996,0.0,0.0" img_height="512" img_width="512" file_name="GRENOBLE -UN de Lutin France 2004- Topo 1 25000" />
<MapDimensions height="4000" width="4000" />
<MapBounds minLat="45.12754316" maxLat="45.22127209" minLon="5.64162321" maxLon="5.77413759" />
<CalibrationPoints>
<CalibrationPoint corner="TL" lon="5.64697296" lat="45.22127209" />
<CalibrationPoint corner="BR" lon="5.76858281" lat="45.12754316" />
<CalibrationPoint corner="TR" lon="5.77413759" lat="45.21741246" />
<CalibrationPoint corner="BL" lon="5.64162321" lat="45.13139645" />
</CalibrationPoints>
</MapCalibration>
</OruxTracker>
So, when looking at the map, why isn't OruxMaps displaying lon="5.76858281" lat="45.12754316" when I'm at the bottom right corner ?
blepers- Cantidad de envíos : 4
Fecha de inscripción : 2010-05-14
Re: Wrong coordinates?
blepers wrote:Thanks for your answer!
The result is the same as before.
What I don't get is why OruxMaps is displaying wrong coordinates. When I open the .xml file I have:
- Code:
<?xml version="1.0" encoding="UTF-8"?>
<OruxTracker xmlns="http://oruxtracker.com/app/res/calibration"
versionCode="2.1">
<MapCalibration layers="false" layerLevel="0">
<MapName><![CDATA[GRENOBLE -UN de Lutin France 2004- Topo 1 25000]]></MapName>
<MapChunks xMax="8" yMax="8" datum="WGS 1984:Global Definition@WGS 1984:Global Definition" projection="Transverse Mercator,5.0,45.0,0.9996,0.0,0.0" img_height="512" img_width="512" file_name="GRENOBLE -UN de Lutin France 2004- Topo 1 25000" />
<MapDimensions height="4000" width="4000" />
<MapBounds minLat="45.12754316" maxLat="45.22127209" minLon="5.64162321" maxLon="5.77413759" />
<CalibrationPoints>
<CalibrationPoint corner="TL" lon="5.64697296" lat="45.22127209" />
<CalibrationPoint corner="BR" lon="5.76858281" lat="45.12754316" />
<CalibrationPoint corner="TR" lon="5.77413759" lat="45.21741246" />
<CalibrationPoint corner="BL" lon="5.64162321" lat="45.13139645" />
</CalibrationPoints>
</MapCalibration>
</OruxTracker>
So, when looking at the map, why isn't OruxMaps displaying lon="5.76858281" lat="45.12754316" when I'm at the bottom right corner ?
Restart maps database (main screen of OruxMaps)
Try then,
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Wrong coordinates?
It works!
Thanks for the help.
(Any idea on how I can automate the process? Everytime I select a map OruxMapsDesktop switch back to "Longitute/Lattitude". I've ~50 maps to convert... Not a really big deal but if there is a quick and easy solution...)
Thanks for the help.
(Any idea on how I can automate the process? Everytime I select a map OruxMapsDesktop switch back to "Longitute/Lattitude". I've ~50 maps to convert... Not a really big deal but if there is a quick and easy solution...)
blepers- Cantidad de envíos : 4
Fecha de inscripción : 2010-05-14
Re: Wrong coordinates?
blepers wrote:It works!
Thanks for the help.
(Any idea on how I can automate the process? Everytime I select a map OruxMapsDesktop switch back to "Longitute/Lattitude". I've ~50 maps to convert... Not a really big deal but if there is a quick and easy solution...)
Perhaps it will work:
1.-make a backup of your .map files
2.-With Oruxmapsdesktop, use 'translator' tab, and replace 'Latitude/Longitude' by 'Transverse Mercator' in all .map files.
Use batch convertor.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Wrong coordinates?
Seems to work fine.
Again, thanks for the help!
Again, thanks for the help!
blepers- Cantidad de envíos : 4
Fecha de inscripción : 2010-05-14
Similar topics
» Coordinates displayed wrong(with offset)
» New Zealand Datum
» UTM coordinates
» coordinates do not fit within text
» Error while reading calibration coordinates
» New Zealand Datum
» UTM coordinates
» coordinates do not fit within text
» Error while reading calibration coordinates
Permissions in this forum:
You cannot reply to topics in this forum
|
|