[gdal-dev] Re: dxf writer: specifying dash patterns with
ogr-feature styles
Andreas Neumann
a.neumann at carto.net
Thu Nov 4 12:04:13 EDT 2010
Hi Frank,
I changed the delimiters to a space but the dashed lines still show up as
continuous lines in Autocad or FME viewer.
I will provide test-data and file a bug.
Thanks a lot,
Andreas
On Wed, November 3, 2010 11:59 pm, Frank Warmerdam wrote:
> 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
>
--
Andreas Neumann
http://www.carto.net/neumann/
http://www.svgopen.org/
More information about the gdal-dev
mailing list