[Mapserver-users] PHP/Mapscript imageObj
Yewondwossen Assefa
assefa at dmsolutions.ca
Wed Jul 14 08:29:05 PDT 2004
Function saveimage can now take a map object as a second non mandatory
argument.
Ex : $img->saveImage("c:/msapps/gmap/htdocs/ttt2.tif", $oMap);
I have tested it with one test file. Please verfify it works for you
(The Bug number related to this is 772).
Later,
Don Drake wrote:
> Excellent, I look forward to it.
>
> Thanks.
>
> -Don
>
> On Tue, 13 Jul 2004 17:03:20 -0400, Yewondwossen Assefa
> <assefa at dmsolutions.ca> wrote:
>
>>I have entered a Bug 772 in mapserver and It will be adressed before
>>next relase.
>>
>>Later,
>>
>>
>>
>>Don Drake wrote:
>>
>>>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
>>>_______________________________________________
>>>Mapserver-users mailing list
>>>Mapserver-users at lists.gis.umn.edu
>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>>>
>>
>>--
>>----------------------------------------------------------------
>>Assefa Yewondwossen
>>Software Analyst
>>
>>Email: assefa at dmsolutions.ca
>>http://www.dmsolutions.ca/
>>
>>Phone: (613) 565-5056 (ext 14)
>>Fax: (613) 565-0925
>>----------------------------------------------------------------
>>
>>
>
>
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list