[gdal-dev] Re: dxf writer: specifying dash patterns with ogr-feature styles

Frank Warmerdam warmerdam at pobox.com
Wed Nov 3 18:59:41 EDT 2010


On Mon, Nov 1, 2010 at 7:01 AM, Andreas Neumann <a.neumann at carto.net> wrote:
> Hi again,
>
> Another problem with the DXF writer:
>
> I am trying to specify a dash-patterns for lwpolylines by using the
> following OGR feature styling:
>
> PEN(c:#FF0000,p:"2g,1g") - the pattern is defined in ground units, the
> ground units in the data sets are set in meters.

Andreas,

I believe the problem is that you are using a comma as a delimiter
instead of a space.  The pattern tokenizer looks for white space,
according to the OGR feature style specification.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


More information about the gdal-dev mailing list