[Mapserver-users] php_Mapscript bug: using MapObj->save() and LABELFORMAT
Sean Gillies
sgillies at frii.com
Fri Dec 19 11:01:58 PST 2003
On Friday, December 19, 2003, at 10:51 AM, Matt Doggett wrote:
> I've been using a Maplab application and have been wondering why my use
> of LABELFORMAT in my GRID layer has been causing Mapserver to fail. At
> first I thought that something was wrong with Mapserver itself,
> however,
> after a little closer look I've discovered that there must be a bug in
> the php_mapscript function MapObj->save(). What happens is that the
> save function does not output the quotes surrounding the LABELFORMAT
> string. Then when Mapserver attempts to read this malformed temporary
> map file, it returns errors parsing the file. If I manually replace the
> quotes in the temporary mapfile, it works fine.
>
> [original mapfile]
> ..
> GRID
> LABELFORMAT "%5.1f"
> END
>
> [temporary mapfile from MapObj->save()]
> ..
> GRID
> LABELFORMAT %5.1f
> END
>
> Who should I correspond with or where should I go to report this bug?
>
> Matt Doggett
> Spatial Climate Analysis Service
> Oregon State University
> 316 Strand Ag Hall
> Corvallis, OR 97331
> (541)737-9153
> mdoggett at coas.oregonstate.edu
>
See http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=498
More information about the MapServer-users
mailing list