[Thuban-list] svgexport does not export polygon layers

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 18 12:30:58 CET 2004


On Thu, November 18, 2004 12:21, Bernhard Reiter said:
> Hi Moritz,
>
> On Thu, Nov 18, 2004 at 11:01:41AM +0100, Moritz Lennert wrote:
>> On Mon, November 15, 2004 17:37, Bernhard Reiter said:
>> > On Wed, Nov 10, 2004 at 03:42:21PM +0100, Moritz Lennert wrote:
>
>> >> Polygon layers get mentioned in the svg file, but are empty:
>> >>
>> >> <g meta="Layer:Secteurs statistiques" >
>> >> </g>
>> >> <g meta="Layer:Communes" >
>> >> </g>
>> >>
>> >> Does the svg export tool not support polygon layers ?
>> >
>> > It does and it works for me, e.g. on the iceland political layer.
>
>> I've tested with the Iceland data and I can confirm that polygons are
>> exported.
>>
>> But I have tested with several shapefiles used here in the department
>> and
>> none of the polygon layer are exported.
>
>> I have also imported and cleaned a shapefile in GRASS and rexported it
>> with v.out.ogr, but it still is not exported to svg.
>
> Arg. :(
> Can you send me an example data file, so I can reproduce this.
> (As small as possible of course.)

Ok, I found the problem. It is that when a polygon layer has no fill color
(i.e. only boundary lines are visible, the rest of the polygon is
transparent), nothing is exported.

You can reproduce this with the Iceland sample data by setting the fill
color of the political boundaries to transparent.

Moritz




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)