Feature #1100

kml2gmt -Fp should determine if polygons are holes or perimeters

Added by Paul 3 months ago. Updated 2 months ago.

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

100%

Category:-
Target version:Candidate for next minor release
Platform:

Description

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.

History

#1 Updated by Paul 2 months 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.

Also available in: Atom PDF