[gdal-dev] Swapped axes
Kees Kling
ckling at upcmail.nl
Fri Jul 27 04:01:18 PDT 2012
Hi,
I'm trying to draw maps from shape data.
For coordinate transformation I use as destination
proj->importFromProj4(projString.c_str());
where projString is "+proj=merc +k_0=0.02 +lat_0=90 +lon_0=0 +a=6378.388
+b=6356.906"
as source projection I take the
oceanLayer->GetSpatialRef()
the definition of the source
After transforming and displaying the data, my imagery is flipped. I
think it has to do with the fact that the data is in lon/lat format
instead of lat/lon.
How can I correct that. I tried to use
proj->SetAxes("GEOGCS","Easting",OAO_East,"Northing",OAO_North);
but this doesn't show any effect
Regards
Kees Kling
More information about the gdal-dev
mailing list