kml2gmt -Fp should determine if polygons are holes or perimeters
|Target version:||Candidate for next minor release|
Currently, kml2gmt just convert the data format, but should instead build a dataset structure, and if -Fp is active then determine if any of the polygons are holes or the others and set the -Ph multisegment flag.
- Tracker changed from Bug to Feature
- Status changed from New to Resolved
- % Done changed from 0 to 100
The solution has instead been implemented in gmtspatial whose -Sh option will reorganize a set of polygon, detect which ones are holes, and set the appropriate multisegment flag. So users of kml2gmt digitizing polygons should run their results through gmtspatial.