Jump to content

 
Photo

Want convert OZIExplorer map file to standard world file

- - - - -

  • Please log in to reply
1 reply to this topic

#1
Jan Helebrant

Jan Helebrant

    Contributor

  • Validated Member
  • PipPip
  • 24 posts
  • Gender:Male
  • Interests:GIS, open-source, graphics (both 2D and 3D), multimedia, taking photos
  • Czech Republic

Hi all,
I needed some good quality ortophoto maps for my project. I found very useful opensource tool called gMapmaker which can easily download and merge tiles form various sources including Google maps. However, the only one possibility to get image with some georeference is OziExplorer map file.

I am just curious if someone here tried to convert it to standard world file to use the map in GIS. The file has this structure:

OziExplorer Map Data File Version 2.2

mapa7.png

C:\Documents and Settings\gmapmaker\map.png

1 ,Map Code,

WGS 84,,   0.0000,   0.0000,WGS 84

Reserved 1

Reserved 2

Magnetic Variation,,,E

Map Projection,Mercator,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No

Point01,xy,	  0,	  0,in, deg,   49,  6.913880,N,   14, 17.757568,E, grid, , , ,N

Point02,xy,  13824,   6912,in, deg,   49,  5.457348,N,   14, 22.207031,E, grid, , , ,N

Point03,xy,	  0,   6912,in, deg,   49,  5.457348,N,   14, 17.757568,E, grid, , , ,N

Point04,xy,  13824,	  0,in, deg,   49,  6.913880,N,   14, 22.207031,E, grid, , , ,N

Point05,xy,   1536,	  0,in, deg,   49,  6.913880,N,   14, 18.251953,E, grid, , , ,N

Point06,xy,   3072,	  0,in, deg,   49,  6.913880,N,   14, 18.746338,E, grid, , , ,N

Point07,xy,   4608,	  0,in, deg,   49,  6.913880,N,   14, 19.240723,E, grid, , , ,N

Point08,xy,   6144,	  0,in, deg,   49,  6.913880,N,   14, 19.735107,E, grid, , , ,N

Point09,xy,   7424,	  0,in, deg,   49,  6.913880,N,   14, 20.147095,E, grid, , , ,N

Point10,xy,   8960,	  0,in, deg,   49,  6.913880,N,   14, 20.641479,E, grid, , , ,N

Point11,xy,  10496,	  0,in, deg,   49,  6.913880,N,   14, 21.135864,E, grid, , , ,N

Point12,xy,  12032,	  0,in, deg,   49,  6.913880,N,   14, 21.630249,E, grid, , , ,N

Point13,xy,	  0,   3328,in, deg,   49,  6.212675,N,   14, 17.757568,E, grid, , , ,N

Point14,xy,   1536,   3328,in, deg,   49,  6.212675,N,   14, 18.251953,E, grid, , , ,N

Point15,xy,   3072,   3328,in, deg,   49,  6.212675,N,   14, 18.746338,E, grid, , , ,N

Point16,xy,   4608,   3328,in, deg,   49,  6.212675,N,   14, 19.240723,E, grid, , , ,N

Point17,xy,   6144,   3328,in, deg,   49,  6.212675,N,   14, 19.735107,E, grid, , , ,N

Point18,xy,   7424,   3328,in, deg,   49,  6.212675,N,   14, 20.147095,E, grid, , , ,N

Point19,xy,   8960,   3328,in, deg,   49,  6.212675,N,   14, 20.641479,E, grid, , , ,N

Point20,xy,  10496,   3328,in, deg,   49,  6.212675,N,   14, 21.135864,E, grid, , , ,N

Point21,xy,  12032,   3328,in, deg,   49,  6.212675,N,   14, 21.630249,E, grid, , , ,N

Point22,xy,  13568,   3328,in, deg,   49,  6.212675,N,   14, 22.124634,E, grid, , , ,N

Point23,xy,   1536,   6656,in, deg,   49,  5.511306,N,   14, 18.251953,E, grid, , , ,N

Point24,xy,   3072,   6656,in, deg,   49,  5.511306,N,   14, 18.746338,E, grid, , , ,N

Point25,xy,   4608,   6656,in, deg,   49,  5.511306,N,   14, 19.240723,E, grid, , , ,N

Point26,xy,   6144,   6656,in, deg,   49,  5.511306,N,   14, 19.735107,E, grid, , , ,N

Point27,xy,   7424,   6656,in, deg,   49,  5.511306,N,   14, 20.147095,E, grid, , , ,N

Point28,xy,   8960,   6656,in, deg,   49,  5.511306,N,   14, 20.641479,E, grid, , , ,N

Point29,xy,  10496,   6656,in, deg,   49,  5.511306,N,   14, 21.135864,E, grid, , , ,N

Point30,xy,  12032,   6656,in, deg,   49,  5.511306,N,   14, 21.630249,E, 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,13824,0

MMPXY,3,13824,6912

MMPXY,4,0,6912

MMPLL,1,   14.295959,   49.115231

MMPLL,2,   14.370117,   49.115231

MMPLL,3,   14.370117,   49.090956

MMPLL,4,   14.295959,   49.090956

MM1B,0.403228

MOP,Map Open Position,0,0

IWH,Map Image Width/Height,13824,6912

I assume, that the points coordinates could be extracted and used as georeferencing points in QGIS, but I am afraid that QGIS will use some transformation while the map is already in correct format.

I also think that the last numbers:
MMPLL,1,   14.295959,   49.115231

MMPLL,2,   14.370117,   49.115231

MMPLL,3,   14.370117,   49.090956

MMPLL,4,   14.295959,   49.090956

MM1B,0.403228
define the map corners coordinates and the cellsize, but I am not sure. I will play a little with it.

Does anybody already have some experience with this?

#2
Nick McW

Nick McW

    Newbie

  • New Member
  • Pip
  • 2 posts
  • No Country Selected

Jan, I had exactly the same problem, in my case with scanned Russian topo maps from MapStor. I'm sure a simple script would do the job of reading from the Ozi .map file and writing to a .jgw / .tfw etc. file. However the solution I found was using GlobalMapper's excellent Batch Convert tool. It's not free software, but almost worth it just for this facility...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->