OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Convertion Error when .map file uses West ccordinates

Go down

Convertion Error when .map file uses West ccordinates Empty Convertion Error when .map file uses West ccordinates

Post  pab on Thu Jul 18, 2013 7:51 pm

Hi,
I have this kind of .map files. But Oruxmapsdesktop convert this without using west coordinates, so calibration is wrong.
When replacing by 0, 50.58448556,W by -0, 50.58448556,E ... it works, but it is a huge job.
Is there a possibility to improve that ?
Thanks

.map exemple heunder

OziExplorer Map Data File Version 2.1
CHALONNES-SUR-LOIRE TOP25 vue au 25000eme
CHALONNES-SUR-LOIRE.BMP
1 TIFF scale factor
WGS 84,WGS 84, 0.0000, 0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,E
Map Projection,Latitude/Longitude,PolyCal,No,AutoCalOnly,No,BSBUseWPX,Yes
Point00,xy, 0, 0,in, deg, 47, 23.15799313,N, 0, 50.58448556,W, grid, , , ,N
Point01,xy, 4000, 0,in, deg, 47, 23.37177375,N, 0, 42.64362528,W, grid, , , ,N
Point02,xy, 4000, 4000,in, deg, 47, 17.97867332,N, 0, 42.33603021,W, grid, , , ,N
Point03,xy, 0, 4000,in, deg, 47, 17.76524561,N, 0, 50.26356269,W, grid, , , ,N

Projection Setup, 45.000000000, 5.000000000, 0.999600000, 0.00, 0.00, 49.000000000, 45.000000000,,,
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_nMM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,4000,0
MMPXY,3,4000,4000
MMPXY,4,0,4000
MMPLL,1, 0.84307476, 47.38596655
MMPLL,2, 0.71072709, 47.38952956
MMPLL,3, 0.70560050, 47.29964456
MMPLL,4, 0.83772604, 47.29608743
MM1B,5.004373
MOP,Map Open Position,0,0
IWH,Map Image Width/Height,4000,4000

pab

Cantidad de envíos : 21
Fecha de inscripción : 2011-03-13

View user profile

Back to top Go down

Convertion Error when .map file uses West ccordinates Empty Re: Convertion Error when .map file uses West ccordinates

Post  orux on Sat Jul 20, 2013 4:15 pm

pab wrote:Hi,
I have this kind of .map files. But Oruxmapsdesktop convert this without using west coordinates, so calibration is wrong.
When replacing by 0, 50.58448556,W by -0, 50.58448556,E ... it works, but it is a huge job.
Is there a possibility to improve that ?
Thanks

.map exemple heunder

OziExplorer Map Data File Version 2.1
CHALONNES-SUR-LOIRE TOP25 vue au 25000eme
CHALONNES-SUR-LOIRE.BMP
1   TIFF scale factor
WGS 84,WGS 84,   0.0000,   0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,E
Map Projection,Latitude/Longitude,PolyCal,No,AutoCalOnly,No,BSBUseWPX,Yes
Point00,xy,     0,     0,in, deg,  47, 23.15799313,N,   0, 50.58448556,W, grid,   ,           ,           ,N
Point01,xy,  4000,     0,in, deg,  47, 23.37177375,N,   0, 42.64362528,W, grid,   ,           ,           ,N
Point02,xy,  4000,  4000,in, deg,  47, 17.97867332,N,   0, 42.33603021,W, grid,   ,           ,           ,N
Point03,xy,     0,  4000,in, deg,  47, 17.76524561,N,   0, 50.26356269,W, grid,   ,           ,           ,N

Projection Setup,    45.000000000,     5.000000000,     0.999600000,            0.00,            0.00,    49.000000000,    45.000000000,,,
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_nMM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,4000,0
MMPXY,3,4000,4000
MMPXY,4,0,4000
MMPLL,1,  0.84307476, 47.38596655
MMPLL,2,  0.71072709, 47.38952956
MMPLL,3,  0.70560050, 47.29964456
MMPLL,4,  0.83772604, 47.29608743
MM1B,5.004373
MOP,Map Open Position,0,0
IWH,Map Image Width/Height,4000,4000


Hi, pab;

I think the problem is here:
MMPXY,1,0,0
MMPXY,2,4000,0
MMPXY,3,4000,4000
MMPXY,4,0,4000
MMPLL,1,  0.84307476, 47.38596655
MMPLL,2, 0.71072709, 47.38952956
MMPLL,3,  0.70560050, 47.29964456
MMPLL,4,  0.83772604, 47.29608743


Those values are worng, they should be negative. OruxMapsDesktop uses the corner points, if available.

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Convertion Error when .map file uses West ccordinates Empty Re: Convertion Error when .map file uses West ccordinates

Post  pab on Sat Jul 20, 2013 5:51 pm

Yes, I think you're right.
But is there a way that oruxmapdesktop uses the first set of data (at the beginning of the fiel) instead of the last one ?

pab

Cantidad de envíos : 21
Fecha de inscripción : 2011-03-13

View user profile

Back to top Go down

Convertion Error when .map file uses West ccordinates Empty Re: Convertion Error when .map file uses West ccordinates

Post  orux on Sat Jul 20, 2013 6:43 pm

pab wrote:Yes, I think you're right.
But is there a way that oruxmapdesktop uses the first set of data (at the beginning of the fiel) instead of the last one ?

Hi, you can force changing this line:
MMPXY,1,0,0

use instead:
MMPXY,1,0,1

orux

_________________
Ahora puedes contribuir:--> DONACIÓN
Now you can contribute:--> DONATE
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

View user profile

Back to top Go down

Convertion Error when .map file uses West ccordinates Empty Re: Convertion Error when .map file uses West ccordinates

Post  pab on Sat Jul 20, 2013 7:31 pm

It woks!
What is the meaning of this MMPXY,1,0,1 ?
Anycase, thanks

pab

Cantidad de envíos : 21
Fecha de inscripción : 2011-03-13

View user profile

Back to top Go down

Convertion Error when .map file uses West ccordinates Empty Re: Convertion Error when .map file uses West ccordinates

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum