NYCPlanning / labs-geosearch-docker

Main repository for running the Planning Labs geosearch API powered by pelias
12 stars 3 forks source link

Exclude rows that should not be imported #17

Open allthesignals opened 4 years ago

allthesignals commented 4 years ago

@chriswhong commented on Wed Jan 24 2018

We currently have console warnings in the script for things like missing lat/lng, missing stname, etc.

If a record has no lat/lng, it does not belong in the geocoder, and should be excluded from the output.

The end state we shoot for is a 1 to 1 match for records in the normalized pad CSV and records in the elasticsearch database. This will be helpful in troubleshooting the imports.