KML2GMT(1gmt) | GMT | KML2GMT(1gmt) |
kml2gmt - Extract GMT table data from Google Earth KML files
kml2gmt [ kmlfiles ] [ -Fs|l|p ] [ -V[level] ] [ -Z ] [ -bobinary ] [ -donodata ] [ -:[i|o] ]
Note: No space is allowed between the option flag and the associated arguments.
kml2gmt reads a Google Earth KML file and outputs a GMT table file. Only KML files that contain points, lines, or polygons can be processed. This is a bare-bones operation that aims to extract coordinates and possibly the name and description tags of each feature. The main use intended is to capture coordinates modified in Google Earth and then reinsert the modified data into the original GMT data file. For a more complete reformatting, consider using ogr2ogr -f "GMT" somefile.gmt somefile.kml.
None.
To extract the lon,lat values from the KML file google.kml, try
To separate the point and polygon geometries from the KML file google.kml, try
gmt kml2gmt google.kml -Fs -V > points.txt
gmt, gmt.conf, img2google, psconvert, gmt2kml
2019, P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis, and F. Wobbe
May 21, 2019 | 5.4.5 |