Re: [gdal-dev] Re: PHP bindings

2011-02-28 Thread Mike Leahy
Hello again, I think I stumbled upon the part that was tripping up the methods I was using with the php_osr.so library. Posted at http://pastebin.com/SXKKfe6v is a patch that should work on both 1.8.0, and the trunk svn. It adds the missing CSL typemap, and corrects the OGRErr related typemap

RE: [gdal-dev] Unrecognized Geopdf files using GDAL 1.8

2011-02-28 Thread N. Farah
Okay. Thanks again ! I remember i built one time open jpeg from v2 branch and there was compatibility issues with poppler distributed with kdewin32 project.The poppler I got from kdewin32 was dependent openJpeg 1.3-2 and this one was built with the following exported functions:opj_destroy_deco

[gdal-dev] Re: Lost in projections

2011-02-28 Thread K . -Michael Aye
To make the sad long story short: I was missing (=not knowing about) one method of the SpatialReference class: CloneGeogCS() So if you do: srs = osr.SpatialReference(gdaldataset.GetProjection()) and that projection is in map coordinates, to get the same thing in geographical coordinates one