When using gdalwarp it reorintates the map to grid north

by John Flint   Last Updated May 16, 2018 14:22 PM

I have a Geopdf map geo-referenced with GDA94 datum and UTM projection. The map is orientated to true north and so the grid lines are at an angle (away from the central meridian). When using gdalwarp to extract a subset of the map and keeping the same GDA/MGA projection the output map is always aligned to grid north. How can I keep it aligned to true north without changing to Plate Carrée projection?

gdalwarp commandline:

gdalwarp <oldmap> -te x1 y1 x2 y2 <newmap>

I am specifying the coordinates in UTM

Proj.4 details:

PROJCS["GDA_1994_MGA_Zone_56",
GEOGCS["GCS_GDA_1994",
    DATUM["Geocentric_Datum_of_Australia_1994",
        SPHEROID["GRS_1980",6378137.0,298.257222101]],
    PRIMEM["Greenwich",0.0],
    UNIT["Degree",0.0174532925199433]],
PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",500000.0],
PARAMETER["False_Northing",10000000.0],
PARAMETER["Central_Meridian",153.0],
PARAMETER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],
UNIT["Meter",1.0]]

The Geotransform parameters are:

GeoTransform =
  222328.6394613607, 4.231997119298293, 0.1199063136374603
  6206399.45918359, 0.1197058251743948, -4.232547944332367


Related Questions


Reprojecting netcdf file using gdalwarp?

Updated June 03, 2017 09:22 AM

Reproject big number of small geotiffs using gdal

Updated March 26, 2017 05:22 AM

GDAL: Reproject a raster to match another raster

Updated May 03, 2017 09:22 AM

gdalwarp with NETCDF files

Updated June 03, 2017 11:22 AM