[GPlates-discuss] "Fill polygons" question
christian.heine at sydney.edu.au
Wed Nov 6 15:55:45 AEDT 2013
> I would like to apply the "Fill polygons" option to the Seton_etal_ESR2012_Coastlines_2012.1.gpmlz layer that is included with GPlates 1.3. When I check the box, nothing happens,
Simple explanation: the coastlines are not closed (it's like trying to fill a line in Inkscape/Illustrator - unless you close it you can't fill it). As in a GIS sense that the x_1 y_1 != x_n y_n (ie first vertex of the line = last vertex).
Try the coastline data from here:
these should be properly closed polygons.
> however it works correctly for the Seton_etal_ESR2012_StaticPolygons_2012.1.gpmlz layer. What's also strange is the "Fill polylines" option partially fills the continents for the Coastlines layer but does nothing when applied to the StaticPolygons layer.
See above - the lines are just filled by connecting both end point vertices. The polygons are polygons, hence filling the lines will not work here.
> Should both options work for both layers?
> Maybe the different layers use different graphical objects, each of which requires a different fill function?
Dr Christian Heine
Senior Research Fellow
EarthByte Research Group, School of Geosciences
The University of Sydney, Australia
P +61 2 9114 0997
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 535 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the GPlates-discuss