Skip to content

geobtaa/create-indexmaps

Repository files navigation

Automate OpenIndexMaps GeoJSON Creation

This repository includes Python scripts that will create OpenIndexMaps from a CSV file.

GeoJSON format

OpenIndexMaps use the GeoJSON format.= Here is the general structure of an OpenIndexMap GeoJSON:

Workflow

create-indexmap scripts require a CSV file that contains a spatial field to generate the index map polygons. This field can be either:

  • bounding box coordinates (w,s,e,n)

OR

  • county names

  • Raw data

    At a minimum, the input CSV file must include “Title”, “Bounding Box”, and “Identifier”.

    1. For regular index maps

    It directly queries the coordinates of bounding boxes from the csv files column “Bounding Box”.

    2. For irregular index maps

    In order to create the county-shape polygons, it needs to join the county GeoJSON based on the county name and fetch the coordinates. Therefore, it is necessary to convert the county Shapefile into GeoJSON first.

  • Final products

    1. Regular Index maps

    2. Irregular Index maps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •