Feature #1100

kml2gmt -Fp should determine if polygons are holes or perimeters

Added by Paul over 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:2017-05-18
Priority:NormalDue date:
Assignee:Paul% Done:


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.


#1 Updated by Paul over 4 years ago

  • 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.

#2 Updated by Paul almost 4 years ago

  • Status changed from Resolved to Closed

With that information now in the kml2gmt documentation I am closing this issue.

Also available in: Atom PDF