Skip to content

Docker container for using Geosupport and usaddress to geocode NYC addresses

Notifications You must be signed in to change notification settings

austensen/nyc-geocode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC-Geocode

Geocode CSV of NYC addresses using usaddress to parse the addresses into necessary parts and docker-geosupport for geocoding.

Getting Started

First you'll need to install Docker Desktop.

Add the CSV you want to geocode to the data/ directory within this project. This file should have a header row for column names, and include a single column with the full street address to be parsed and geocoded.

From the project's root directory, run docker compose build to build the container.

To geocode the file, you'll need to set the following arguments:

  • csv file to geocode,
  • csv file for output results,
  • single column name in the csv with the address,
  • optional: any additional columns that you want to include in the output (each as separate arguments), or "*" to keep all columns form the input file.
docker compose run nyc-geocode "data/addresses.csv" "data/addresses_geocoded.csv" "addr_full" "extra_col1" "extra_col2"

About

Docker container for using Geosupport and usaddress to geocode NYC addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published