Usage

GeoJSON to CSV

  • It converts GeoJSON to CSV, and also add an osm_download_link column that contains the download link for each feature in JOSM. It works also with aws uri.
COMMAND REQUIRED DESCRIPTION
--geojson_input yes Path to GeoJSON polygons.
--osm_download_link no Add osm_download_link column. Default value: False.
--csv_out yes Path to CSV output.

Return

CSV file - with osm_download_link column in the file.

Command line:

docker run --rm -v ${PWD}:/mnt/data developmentseed/geokit:python.latest geo \
    fc2csv \
    --geojson_input=<INPUT_GEOJSON>  \
    --osm_download_link \
    --csv_out=<OUTPUT_CSV>

Use case:

  • Convert GeoJSON to CSV, and add an osm_download_link column to download data in JOSM.

image