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

Andrea Peri aperi2007 at gmail.com
Sun Jul 27 14:53:14 PDT 2014


Hi, reading better the featurestyle specs,
http://www.gdal.org/ogr_feature_style.html
I'm relly not sure if is necessary to escape the apostrophe in the texts.

A.


2014-07-27 21:59 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> 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 àèìòù
> -----------------



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


More information about the gdal-dev mailing list