NYCPlanning / labs-search-api

Typeahead search API that returns addresses and POI from mapzen, lots, zoning changes, etc
Other
3 stars 0 forks source link
labs

CircleCI

zola-search-api

An express.js api that combines mapzen search results with carto database results, providing autcomplete search for ZoLa.

Requirements

You will need the following things properly installed on your computer.

Local development

Architecture

Routes

Types of results

Results in will be JSON objects and will be one of the following types:

address - Mapzen Search geocoder results that matched the input string

lot - A PLUTO tax lot that matched either on bbl or address

zma - A zoning amendment that matched either on ulurpno or project_na

neighborhood - Neighborhoods (from NYC Neighborhood Tabulation Areas) that match the input string.

zoningdistrict - Zoning districts that match the input string.

specialpurposedistrict - Special Purpose Districts whose name matches the input string

commercialoverlay - Commercial Overlays that match the input string.

Backend services

Testing and checks

Deployment

Create dokku remote: git remote add dokku dokku@{dokkudomain}:zola-api Deploy: git push dokku master

Contact us

You can find us on Twitter at @nycplanninglabs, or comment on issues and we'll follow up as soon as we can. If you'd like to send an email, use labs_dl@planning.nyc.gov