[gdal-dev] feature style from dxf don't escape the apostrofe

Andrea Peri aperi2007 at gmail.com
Sun Jul 27 12:59:34 PDT 2014


Hi,
I'm testing the featurestyle filed loaded on a spatialite from a set of dxf.

When the dxf has a apostrophe char (')
it is loaded as is in the style field without an escape.

As example, I have this situation:

LABEL(f:"Arial",t:"'99",a:305,s:2.4g,c:#000000)

Instead of
LABEL(f:"Arial",t:"\'99",a:305,s:2.4g,c:#000000)

I test it with mapserver new styleitem feature.

I see the
LABEL(f:"Arial",t:"'99",a:305,s:2.4g,c:#000000)

give an error, instead the
LABEL(f:"Arial",t:"\'99",a:305,s:2.4g,c:#000000)

Is correctly mapped.

Is this (don't escaping apostrophe char ) a bug of gdal dxf driver ?

Thx,


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the gdal-dev mailing list