[Mapserver-users] PHP/Mapscript imageObj

Don Drake dondrake at gmail.com
Tue Jul 13 12:35:19 PDT 2004


I was wondering if there are any plans to update the PHP/Mapscript
libraries to get them more in sync with the Perl/Python versions.

I was trying to generate GeoTiffs with PHP/Mapscript and ran into some
troubles.  It would generate the .tiff file just fine, but there was
no geo-information embedded when inspecting with gdalinfo.

I tracked the problem down to the imageObj not taking a map reference
as a parameter when saving.  The Perl module does, and uses the
projection information of the map as a data source for the GeoTifff's
reference points and datum.

I was able to convert my PHP code to Perl/Mapscript to get this to
work, but would really like a single-code base (language) for my
project.

Thanks.

-Don Drake

--
Donald Drake
President
Drake Consulting
http://www.drakeconsult.com/
312-560-1574



More information about the MapServer-users mailing list