Error while reading calibration coordinates
2 posters
Error while reading calibration coordinates
Hello,
I've the following error message : 'Error while reading calibration coordinates', with this map file:
I've the following error message : 'Error while reading calibration coordinates', with this map file:
OziExplorer Map Data File Version 2.2
1300_Chancy CH1903
KOMB1300.PNG
1 ,Map Code,
CH-1903,WGS 84, 0.0000, 0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,E
Map Projection,(SUI) Swiss Grid,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No
Point01,xy, 0, 0,in, deg, , ,N, , ,E, grid, , 480000, 122000,N
Point02,xy, 7002, 4798,in, deg, , ,N, , ,E, grid, , 497500, 110000,N
Point03,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point04,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point05,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point06,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point07,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point08,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point09,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point10,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point11,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point12,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point13,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point14,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point15,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point16,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point17,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point18,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point19,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point20,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point21,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point22,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point23,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point24,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point25,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point26,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point27,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point28,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point29,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Point30,xy, , ,in, deg, , ,N, , ,grid, grid, , , ,N
Projection Setup,,,,,,,,,,
Map Feature = MF ; Map Comment = MC These follow if they exist
Track File = TF These follow if they exist
Moving Map Parameters = MM? These follow if they exist
MM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,7002,4961
MMPXY,4,1,4962
MMPLL,1, 5.883551, 46.239959
MMPLL,2, 6.110328, 46.242854
MMPLL,3, 6.113148, 46.131244
MMPLL,4, 5.886770, 46.128331
MM1B,2.499212
LL Grid Setup
LLGRID,No,1 Min,Yes,65535,16711935,4227327,1 Min,16711935,16777215,8,1,Yes,x
Other Grid Setup
GRGRID,Yes,1 Km,No,5450740,12632256,1 Km,5450740,16777215,8,1,Yes,Yes,No,x
MOP,Map Open Position,0,0
IWH,Map Image Width/Height,7003,4963
asperge- Cantidad de envíos : 49
Fecha de inscripción : 2009-10-26
Re: Error while reading calibration coordinates
Hi, asperge.
This .map has not got the coordinates of the corners:
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,7002,4961
MMPXY,4,1,4962
MMPLL,1, 5.883551, 46.239959
MMPLL,2, 6.110328, 46.242854
MMPLL,3, 6.113148, 46.131244
MMPLL,4, 5.886770, 46.128331
But you can easily calibrate it by hand, using the grid coordinates:
Point01,xy, 0, 0,in, deg, , ,N, , ,E, grid, , 480000, 122000,N
Point02,xy, 7002, 4798,in, deg, , ,N, , ,E, grid, , 497500, 110000,N
How to:
I need to improve OruxMapsDesktop, in order to solve this situations.
orux
This .map has not got the coordinates of the corners:
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,7002,4961
MMPXY,4,1,4962
MMPLL,1, 5.883551, 46.239959
MMPLL,2, 6.110328, 46.242854
MMPLL,3, 6.113148, 46.131244
MMPLL,4, 5.886770, 46.128331
But you can easily calibrate it by hand, using the grid coordinates:
Point01,xy, 0, 0,in, deg, , ,N, , ,E, grid, , 480000, 122000,N
Point02,xy, 7002, 4798,in, deg, , ,N, , ,E, grid, , 497500, 110000,N
How to:
I need to improve OruxMapsDesktop, in order to solve this situations.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
calibration coordinates
Thanks a lot Jose for your help.
Perhaps i understand nothing about the map format, but i've searched a little bit and i think found the 'pattern' which generates 'my' error.
99% percent of the time, my map files have border points which represent a 'straight' square:
The first point has the same x location has the point 4, the point 3 has the same y location has the point 4,etc...
So we have a classical squares with angles which have 90 degrees.
But sometimes we have some 'distorted' squares (call we still call them squares? or perhaps it's polygons)
Here is an example:
As you can see the x location of point 1 (200) is not exactly the same as x location of point 4 (199). I am sure that i've the error message with ORUXMAPSDESKTOP when i've this type of coordinates.
What do you think of this? As i know very little about this format, perhaps i'm telling only nonsense!
By the way, i guess you know already very well the oziexplorer format, but for your information i found this:
http://www.rus-roads.ru/gps/help_ozi/map_file_format.html
Perhaps i understand nothing about the map format, but i've searched a little bit and i think found the 'pattern' which generates 'my' error.
99% percent of the time, my map files have border points which represent a 'straight' square:
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,6999,4799
MMPXY,4,0,4799
The first point has the same x location has the point 4, the point 3 has the same y location has the point 4,etc...
So we have a classical squares with angles which have 90 degrees.
But sometimes we have some 'distorted' squares (call we still call them squares? or perhaps it's polygons)
Here is an example:
MMPXY,1,200,0
MMPXY,2,7199,0
MMPXY,3,7199,4798
MMPXY,4,199,4798
As you can see the x location of point 1 (200) is not exactly the same as x location of point 4 (199). I am sure that i've the error message with ORUXMAPSDESKTOP when i've this type of coordinates.
What do you think of this? As i know very little about this format, perhaps i'm telling only nonsense!
By the way, i guess you know already very well the oziexplorer format, but for your information i found this:
http://www.rus-roads.ru/gps/help_ozi/map_file_format.html
asperge- Cantidad de envíos : 49
Fecha de inscripción : 2009-10-26
Re: Error while reading calibration coordinates
Hi, asperge;
You are right 100%
OruxMapsDesktop looks for a "rectangle", starting at 0,0 point, because an OruxMaps calibration file needs the coordinates of the corners (not exactly).
80% (more or less) of Ozi maps have got this pattern:
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,6999,4799
MMPXY,4,0,4799
But there are a lot of maps with different points instead (for example, all the maps with white margins).
I have to implement some formulas in OruxMapsDesktop to transform the coordinates of these type of maps. This week sure I will have ready a new version with this feature.
orux
You are right 100%
OruxMapsDesktop looks for a "rectangle", starting at 0,0 point, because an OruxMaps calibration file needs the coordinates of the corners (not exactly).
80% (more or less) of Ozi maps have got this pattern:
MMPXY,1,0,0
MMPXY,2,6999,0
MMPXY,3,6999,4799
MMPXY,4,0,4799
But there are a lot of maps with different points instead (for example, all the maps with white margins).
I have to implement some formulas in OruxMapsDesktop to transform the coordinates of these type of maps. This week sure I will have ready a new version with this feature.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Similar topics
» Error while reading calibration coordinates
» mbtiles - problems when reading
» JPG map calibration error
» Error al leer el jgw como calibration file
» Error al leer el jgw como calibration file en OruxMapsDesktop
» mbtiles - problems when reading
» JPG map calibration error
» Error al leer el jgw como calibration file
» Error al leer el jgw como calibration file en OruxMapsDesktop
Permissions in this forum:
You cannot reply to topics in this forum
|
|