Usage

Line to polygon

  • It changes the type of geometry from LineString to Polygon.

Command line:

docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:node.latest geokit \
    line2polygon input.geojson > output.geojson

Return:

GeoJSON file - It contains features with Polygon type.

Use case:

  • Change a line to polygon.

image