Opened 17 years ago

#1960 new defect

Mapscript SaveMap() and quotes

Reported by: scy@… Owned by: sdlime
Priority: high Milestone:
Component: MapScript Version: 4.8
Severity: normal Keywords:
Cc:

Description

when setting the style.sizeitem property to something like "(field1 + field2)"
(which is working with PostGIS) in mapscript, the savemap() fonction doesn't put
quotes around it causing the resulting mapfile to be unusable.


same kind of behaviour whith hdf data which has to be set like this (for example):

'HDF4_EOS:EOS_GRID:"C:/pathto/data.hdf":DataSet:field'

but is saved like this by savemap():

"HDF4_EOS:EOS_GRID:"C:/pathto/data.hdf":DataSet:field"

Change History (0)

Note: See TracTickets for help on using tickets.