Ticket #772 (closed defect: fixed)
imageobj saveimage method to take mapobject as argument.
| Reported by: | assefa | Owned by: | mapserverbugs |
|---|---|---|---|
| Priority: | high | Milestone: | 4.4 release |
| Component: | MapScript-PHP | Version: | 4.3 |
| Severity: | normal | Keywords: | |
| Cc: | mapserver@… |
Description
Original message from Don Drake <dondrake@gmail.com> 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. Please also see Bug 549
Change History
Note: See
TracTickets for help on using
tickets.
