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

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Unable to convert ozi-files

Go down

Unable to convert ozi-files Empty Unable to convert ozi-files

Post  Olof Sun Oct 18, 2009 4:23 am

Desktop program is unable to convert my ozi files. Here is the simple world-file
Error message is: "Error while reading calibration coordinates"
I have the same problem with ozfx3 files. (Files are ok and working in oziexplorer"
---------------------------------------
OziExplorer Map Data File Version 2.2
The World Map
world.ozf2
1 ,Map Code,
WGS 84,, 0.0000, 0.0000,WGS 84
Reserved 1
Reserved 2
Magnetic Variation,,,W
Map Projection,Latitude/Longitude,PolyCal,No,AutoCalOnly,No,BSBUseWPX,Yes
Point01,xy, 84, 85,in, deg, 60, 0.0000,N, 150, 0.0000,W, grid, , , ,N
Point02,xy, 912, 415,in, deg, 60, 0.0000,S, 150, 0.0000,E, grid, , , ,N
Point03,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point04,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point05,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point06,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point07,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point08,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point09,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point10,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point11,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point12,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point13,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point14,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point15,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point16,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point17,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point18,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point19,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point20,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point21,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point22,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point23,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point24,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point25,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point26,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point27,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point28,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point29,xy, , ,in, deg, , ,N, , ,W, grid, , , ,N
Point30,xy, , ,in, deg, , ,N, , ,W, 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,No
MMPNUM,4
MMPXY,1,5,5
MMPXY,2,991,5
MMPXY,3,993,495
MMPXY,4,3,495
MMPLL,1,-178.623188, 89.090909
MMPLL,2, 178.623188, 89.090909
MMPLL,3, 179.347826, -89.090909
MMPLL,4,-179.347826, -89.090909
MM1B,19199.918553
MOP,Map Open Position,7087,10355
IWH,Map Image Width/Height,998,500
--------------------------------------------

Olof
Guest


Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sun Oct 18, 2009 7:05 am

Olof wrote:Desktop program is unable to convert my ozi files. Here is the simple world-file
Error message is: "Error while reading calibration coordinates"
I have the same problem with ozfx3 files. (Files are ok and working in oziexplorer"

Hi, Olof;
There are a lot of problems with that Ozi map:
1.-OruxMapsDesktop can not read ozf2/3 image files. They are propietary OziExplorer, and you need to convert them to png/jpg before using with OruxMapsDesktop.
2.-This calibration file does not contain corner coordinates (MMPXY should be 0,0,...)
3.-It has an unknow projection for OruxMapsDesktop: "Longitude/Latitude".

But it is an interesting map, to test; Could you send me this map? to: oruxuro@gmail.com

Thanks, Olof.
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty ozi files

Post  asperge Fri Oct 23, 2009 10:30 pm

First, congratulations for you application!
I've the same problem. I have hiking maps in ozi format, and the Oruxmaps desktop displays the following message:
'An error occured while reading .map file'

Here is the map file:
OziExplorer Map Data File Version 2.1
1135_Buchs WGS84
KOMB1135.tif
1 ,Map Code,
WGS 84,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,47 ,12.334155 ,N,9 ,19.177253 ,E, grid, , , ,N
Point02,xy,6999,4799,in,deg,47 ,5.619927 ,N,9 ,32.775696 ,E, grid, , , ,N
Point03,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point04,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point05,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point06,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point07,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point08,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point09,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point10,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point11,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point12,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point13,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point14,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point15,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point16,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point17,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point18,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point19,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point20,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point21,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point22,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point23,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point24,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point25,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point26,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point27,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point28,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point29,xy, , ,in, deg, , ,N, , E, grid, , , ,
Point30,xy, , ,in, deg, , ,N, , E, grid, , , ,
Projection Setup,,,,,,,,,,
Map Feature = MF ; Map Comment = MC These follow if they exist
Track File = TF These follow if they exist
Moving Map Stuff = MM? These follow if they exist
MM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2,6999, 0
MMPXY,3,6999, 4799
MMPXY,4,0,4799
MMPLL,1, 9.319621, 47.205569
MMPLL,2, 9.550516, 47.201565
MMPLL,3, 9.546262, 47.093665
MMPLL,4, 9.315832, 47.097662
MM1B,2.5000
LL Grid Setup
LLGRID,Yes,1 Min,Yes,65535,16711935,4227327,1 Min,16711935,16777215,8,1,Yes,x
Other Grid Setup
GRGRID,No,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,6999,4799

It would be great to be able to convert these maps files. Thanks in advance for your help.

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 6:38 am

Hi, asperge.

I am going to do some test, and give you a solution,

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 1:19 pm

Hi, asperge.

I have a new version of OruxMapsDesktop that can read this Ozi file.

IMPORTANT: This Ozi map uses .tif images. If you have problems when OruxMapsDesktop tries to open the image ("An error occurred while reading image!" or similar) you have two solutions:
1.-convert .tif image to .png with gimp or similar, and change .map file (image extension from .tif to .png).
2.-install jai image IO tools:https://jai-imageio.dev.java.net/binary-builds.html

This is last OruxMapsDesktop version:
http://oruxmaps.x10hosting.com/OruxMapsDesktop.zip

Please, give me some feedback.

orux


Last edited by orux on Sun Oct 25, 2009 12:27 pm; edited 1 time in total (Reason for editing : updated to last version)
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty feedback

Post  asperge Sat Oct 24, 2009 4:20 pm

Thanks a lot for your help, your effort is very much appreciated.

Now it's working. The only 'problem' is that i've hundreds of small maps (with scale 1:250000). I can convert the image files in batch mode, but modifying the map files manually would be very long. Would it be complicated for you to support more image formats with your OruxMapsDesktop?

Another question: How do you know the projection? By looking at the map file, usually i can see the Datum, but i don't know always about the projection.
For example, i've the following map file:

OziExplorer Map Data File Version 2.1
ABONDANCE -UN de Lutin France 2004- Topo 1:25000
\ABONDANCE.png
1, Map Code,
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
Point01,xy, 0, 0,in, deg, 46, 21.54309696,N, 6, 37.61648528,E, grid, , , ,N
Point02,xy, 4000, 0,in, deg, 46, 21.24417470,N, 6, 45.40102788,E, grid, , , ,N
Point03,xy, 4000, 4000,in, deg, 46, 15.85450874,N, 6, 44.96361634,E, grid, , , ,N
Point04,xy, 0, 4000,in, deg, 46, 16.15293919,N, 6, 37.19186317,E, grid, , , ,N
Point05,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point06,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point07,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point08,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point09,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point10,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point11,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point12,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point13,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point14,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point15,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point16,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point17,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point18,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point19,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point20,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point21,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point22,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point23,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point24,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point25,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point26,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point27,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point28,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point29,xy, , ,in, deg, , ,N, , ,E, grid, , , ,N
Point30,xy, , ,in, deg, , ,N, , ,E, 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
MM0,Yes
MMPNUM,4
MMPXY,1,0,0
MMPXY,2, 4000,0
MMPXY,3, 4000, 4000
MMPXY,4,0, 4000
MMPLL,1, 6.62694142, 46.35905162
MMPLL,2, 6.75668380, 46.35406958
MMPLL,3, 6.74939361, 46.26424181
MMPLL,4, 6.61986439, 46.26921565
MM1B,2.471979
MOP,Map Open Position,1500,1700
IWH,Map Image Width/Height, 4000, 4000

I can see it's a WGS 84 datum. But what about the projection?

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty jai image IO

Post  asperge Sat Oct 24, 2009 4:23 pm

Another question, what is the purpose of installing the jai image library? Is it used by the OruxMapsDesktop?

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty Java library

Post  asperge Sat Oct 24, 2009 4:35 pm

Sorry, i didn't see that the java library was used in order to support more image formats. I've installed it, but the OruxMapsDesktop still doesn't load the tiff image. Perhaps there is something wrong with Classpath or another thing. I'm investigating the problem.

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty Error with image

Post  asperge Sat Oct 24, 2009 4:44 pm

I've installed the jai_imageio_windows-i586.jar in the /lib directory of OruxMapsDesktop, but when i click on the create map, it says:
'An error occurred while generating images'

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 4:47 pm

asperge wrote:Another question, what is the purpose of installing the jai image library? Is it used by the OruxMapsDesktop?

Hi, asperge;

You have "projection" here:
Map Projection,(SUI) Swiss Grid,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No
Your last map:
Map Projection,Latitude/Longitude,PolyCal,No,AutoCalOnly,No,BSBUseWPX,Yes

But I do not know this projection (Latitude/Longitude). You can test with OruxMapsDesktop "Flat Earth". Try one map, and see how much precision you get.

If you install jai IO tools in your jre, OruxMapsDesktop will be able to understand .tiff format, and you will be able to use batch conversion tool (only with wgs84 and a projection that OruxMapsDesktop knows).

I have done some test this morning; after installing jai tools I was able to convert .tiff images with OruxMapsDesktop.

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 4:49 pm

asperge wrote:I've installed the jai_imageio_windows-i586.jar in the /lib directory of OruxMapsDesktop, but when i click on the create map, it says:
'An error occurred while generating images'

Hi, asperge;

You need to install jai it tools in your jvm, not in OruxMapsDestop;

I have a linux machine, let me investigate about windows...

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 4:52 pm

Hi asperge;

You need:

To install the JRE version, double-click on the jai_imageio-1_1-lib-windows-i586-jre.exe icon and follow the directions.

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 4:58 pm

Hi, asperge;

If you send to me this map, I could do some test with Longitude/latitude projection.

Before send it, convert png image to jpg with maximum compress ratio, if you can.

map:
ABONDANCE -UN de Lutin France 2004- Topo 1:25000

--------->oruxuro@gmail.com

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty More feedback

Post  asperge Sat Oct 24, 2009 5:17 pm

Ok, now i've installed the right file (*jre.exe), and Oruxmapdesktop can handle the tif file. Great! It would be nice to state in the documentation that you have to install this file in order to handle more image formats. I've sent to you the map and the image files by email. Thanks again for your dedication. You can count on me for advertising your application!

asperge
Guest


Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sat Oct 24, 2009 5:28 pm

asperge wrote:Ok, now i've installed the right file (*jre.exe), and Oruxmapdesktop can handle the tif file. Great! It would be nice to state in the documentation that you have to install this file in order to handle more image formats. I've sent to you the map and the image files by email. Thanks again for your dedication. You can count on me for advertising your application!

Thanks asperge;

I have been working with your map; I think it is safe to use a "flat earth" projection, but I want to investigate it a little more.

But this will be tomorrow; now I have to go out,

regards,

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Sun Oct 25, 2009 12:03 pm

Hi all;

With Ozi "Latitude/Longitude" projection maps you have to select in OruxMapsDesktop "Flat Earth" projection.

regards,

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty still getting error when trying to convert

Post  Eran Fri Feb 05, 2010 11:53 am

Hi,
first off , great app!
I just started using it and it looks great.
I am trying to convert my oziexplorer files (ozf2,ozfx3) and have installed the jai tools both on my windows machine and my linux machine (every possible combination).
I can convert tiff files but still get the error when trying to convert ozi files , I even tried the basic world.ozf2 file that comes with the ozi installation, but cant convert.

Any ideas?

Thanks, Eran

Eran
Guest


Back to top Go down

Unable to convert ozi-files Empty ozi files

Post  Eran Fri Feb 05, 2010 12:53 pm

OK, reading through the forums I think the problem is the projection which is specific to Israeli UTM grid. And not the image format.

Will post in the relevant forum, sorry

Eran

Eran
Guest


Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

Post  orux Fri Feb 05, 2010 6:10 pm

Eran wrote:OK, reading through the forums I think the problem is the projection which is specific to Israeli UTM grid. And not the image format.

Will post in the relevant forum, sorry

Eran

Hi, Eran, the problem is ozf2/ozf3 formats;

At the header or OruxMapsDesktop manual:

SECOND: IF YOU HAVE OZI MAPS WITH FORMATS OZF2, OZFX3, YOU
HAVE TO EXTRACT FROM THEM THE IMAGE IN PNG FORMAT, WITH
DEMAPPER: (http://www.terraperfecta.com/download.php)

orux
orux
orux

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

Back to top Go down

Unable to convert ozi-files Empty Re: Unable to convert ozi-files

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