Opened 11 years ago

Closed 5 years ago

#5062 closed defect (wontfix)

GDALWARP not reading ozf map info correctly

Reported by: dgamble1 Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: 1.9.0
Severity: normal Keywords: GDALWAP, OZF, image inverted
Cc:

Description

I have been trying to warp an ozf file however the warp process inverts the image north to south and east to west. I suspect this is because the image is from Australia (SE quadrant) and the software is assuming NW Quadrant.

I am using the command gdalwarp -s_srs EPSG:3111 -t_srs EPSG:28355 infile.map outfile.tif

I can upload the relevant files if required

Ozf .map file is as follows:

OziExplorer Map Data File Version 2.2 ACHERON 383_ACHERON.ozf2 1 ,Map Code, Australian Geocentric 1994 (GDA94) 0.0000, 0.0000,WGS 84 Reserved 1 Reserved 2 Magnetic Variation,E Map Projection,(VICGRID) Victoria Australia,PolyCal,No,AutoCalOnly,No,BSBUseWPX,No Point01,xy, 0, 0,in, deg, , ,S, , ,E, grid, , 2540000, 4488000,S Point02,xy, 4800, 4800,in, deg, , ,S, , ,E, grid, , 2570000, 4458000,S Point03,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point04,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point05,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point06,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point07,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point08,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point09,xy, , ,in, deg, , ,S, , ,E, grid, , , ,S Point10,xy, , ,in, deg, , , grid, , , , Point11,xy, , ,in, deg, , , grid, , , , Point12,xy, , ,in, deg, , , grid, , , , Point13,xy, , ,in, deg, , , grid, , , , Point14,xy, , ,in, deg, , , grid, , , , Point15,xy, , ,in, deg, , , grid, , , , Point16,xy, , ,in, deg, , , grid, , , , Point17,xy, , ,in, deg, , , grid, , , , Point18,xy, , ,in, deg, , , grid, , , , Point19,xy, , ,in, deg, , , grid, , , , Point20,xy, , ,in, deg, , , grid, , , , Point21,xy, , ,in, deg, , , grid, , , , Point22,xy, , ,in, deg, , , grid, , , , Point23,xy, , ,in, deg, , , grid, , , , Point24,xy, , ,in, deg, , , grid, , , , Point25,xy, , ,in, deg, , , grid, , , , Point26,xy, , ,in, deg, , , grid, , , , Point27,xy, , ,in, deg, , , grid, , , , Point28,xy, , ,in, deg, , , grid, , , , Point29,xy, , ,in, deg, , , grid, , , , Point30,xy, , ,in, deg, , , grid, , , , 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,4800,0 MMPXY,3,4800,4800 MMPXY,4,0,4800 MMPLL,1, 145.45, -37.1073 MMPLL,2, 145.788, -37.1055 MMPLL,3, 145.79, -37.3759 MMPLL,4, 145.452, -37.3776 MM1B,6.246911 MOP,Map Open Position,0,0 IWH,Map Image Width/Height,4800,4800

Change History (3)

comment:1 by dgamble1, 11 years ago

Summary: GDALWARP not reading oxf map info correctlyGDALWARP not reading ozf map info correctly

comment:2 by Jukka Rahkonen, 9 years ago

A sample file would be nice to have.

comment:3 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.