Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.41 KB

File metadata and controls

49 lines (31 loc) · 1.41 KB

EqualStreetNames - Data process

  1. Download data from OpenStreetMap using Overpass

    php process.php overpass

    Check the commented source code (OverpassCommand.php) and overpass.md for documentation.

  2. Download data from Wikidata

    php process.php wikidata

    Check the commented source code (WikidataCommand.php) and wikidata.md for documentation.

  3. Download city boundary geometry

    php process.php boundary

    Check the commented source code (BoundaryCommand.php) for documentation.

  4. Generate final GeoJSON files

    php process.php geojson

    Check the commented source code (GeoJSONCommand.php) and geojson.md for documentation.

  5. Generate final statistics JSON file and CSV files (documentation)

    php process.php statistics

    Check the commented source code (WikidataCommand.php) for documentation.


All those steps are run sequentially when you run the following command (after replacing my-country and my-city by the name of your country and city):

composer run update-data -- --city=my-country/my-city