< NYC Address and BIN Search
Project repository at https://github.com/jmapb/nycaabs/
Nycaabs searches New York City's open data APIs for building information by address, BIN (building identification number), or latitude/longitude coordinates.
This tool aims to help maintain NYC's OpenStreetMap data, in particular building footprints, heights, BINs, and addresses.
Nycaabs search can be initiated from the search box at the top of the page, or by supplying a "search=" URL parameter. Details of the API queries are logged in an expandable textarea below the search box. Results will be displayed below that, some as text and some in the building info table at the bottom left. If a building footprint is found, it will be highlighted on the slippy map at the top right.
BIN search
Specify a valid 7-digit BIN in the search box or with a "search=" url parameter. Nycaabs will pull from the following open data sources:
- Building Footprints for building status, type, height, and footprint geometry.
- DOB Job Application Filings for building info recorded by the NYC Department of Buildings for construction and alteration permits.
- DOB NOW: Build – Approved Permits for building info recorded through the NYC Department of Buildings "DOB NOW" system.
- Buildings Subject to HPD Jurisdiction to link to a building's Department of Housing and Development profile, if available.
Results from these searches will populate the Address, BBL, HPD ID and Building Class fields, and the building info table at the bottom left. Note that for some properties, the address returned from a BIN search might not be the observed on-the-ground address – or might be one of several.
If a building footprint is found for this BIN, it will be displayed and zoomed on the slippy map at the top right. If no footprint is found but location coordinates are, the location will be marked with a pin and zoomed.
Address search
Specify an NYC address in the search box or with a "search=" url parameter. Nycaabs will use the NYC Geosearch API to find the normalized address form, BIN, and BBL. NYC Geosearch will often be able to correctly identify the address even with imprecise search text – eg, missing a borough name or part of the street name. It may also sometimes return results far from the intended location. Always check that the address returned actually matches the intended target, and retry with more explicit search terms (eg full street name and borough) if necessary.
If the desired address can't be found, it might not exist – or it might be too new. Consider trying the address search with GOAT (see below) to find a BIN, and then searching that BIN on Nycaabs.
If the BIN returned is valid, Nycaabs will proceed with a BIN search as described above, looking for a footprint and populating the building info table.
Coordinate search
Specify coordinates in latitude, longitude order, in the search box or with a "search=" url parameter. Nycaabs will query the Building Footprints dataset for a footprint that matches the coordinates. If found, the footprint will be displayed on the slippy map at the top right.
This search may fail if the Building Footprints dataset hasn't yet been updated with the building in question. Also note that the coordinates must actually fall inside the building -- a search that lands in a building courtyard will not work.
If a footprint result includes a valid BIN, Nycaabs will proceed with a BIN search as described above, populating the building info table.
Using external address info links
If an address is successfully found, links will be generated to query the normalized address using external resources.
Search Address @ BIS
This link will query the address using a mode 1 property search on NYC Department of Buildings' "Building Information Search" tool (BIS for short, https://a810-bisweb.nyc.gov/bisweb/bispi00.jsp). If successful, this will load BIS's "Property Profile Overview" page for the address in question, which is the starting point to access the DOB's records for this property.
BIS gives access to a wealth of information about NYC properties and buildings, but is subject to frequent timeouts and strict usage quotas. The drill-down search interface means that finding building info will usually take several clicks, and the chance of failure increases with each page load.
Avoiding this frustration is one of the primary purposes of Nycaabs, which attempts to retrieve all available relevant data with a single query. But if an address search at BIS is still necessary, it's recommended to use the Search Address @ BIS link from Nycaabs rather than loading BIS's own search form, because one fewer BIS page load will increase the odds of success.
Search Address @ GOAT
This link will query the address using "Function 1A" of the NYC Department of Planning's "Geographic Online Address Translator" tool (GOAT for short, https://a030-goat.nyc.gov/goat/). This will show detailed property-level info as recorded by the Department of Planning's "Geosupport" system.
GOAT is the only online source for fully up-to-date address and BIN info. Other address search tools, including the NYC Geosearch API that Nycaabs uses, are populated from the Department of Planning's "Property Address Directory" (PAD for short) which is updated quarterly. GOAT uses the "Transitional PAD" file (TPAD for short) for more current address data. Searching GOAT by address might therefore reveal a correct BIN when the same address search in Nycaabs returns an incorrect or invalid one. A Nycaabs search on that BIN might then return accurate up-to-date building info.
GOAT is also the only easy way to see every possible address, with address type classification, for a given BIN or lot. Many small lots have only a single address, while large complex lots may have multiple address ranges on multiple streets. (Many of these addresses don't exist on the ground, so are not valid data for OpenStreetMap.)
GOAT includes a map highlighting the property location, which is based on OpenStreetMap (via OpenMapTiles) – one of the many NYC projects featuring OSM data. Unfortunately the Department of Planning has not kept this map up-to-date; the render shown is several years old.
Using external BIN info links
These links will query external tools using the current BIN. Note that they won't be generated if an address search returned an invalid BIN.
Property Profile @ BIS
Similar to the Search Address @ BIS, and will generally load the same "Property Profile Overview" info by using a BIS mode 3 property search on the BIN in question.
Search BIN @ GOAT
Similar to the Search Address @ GOAT, and will load property data by using GOAT's "Function BN" search on the BIN in question.
Search BIN @ Overpass Turbo
This link will query the OpenStreetMap tool Overpass Turbo (https://overpass-turbo.eu/) for this BIN. Any OSM element in NYC with a nycdoitt:bin tag containing the BIN in question will be found.
Using external BBL info links
If the search returns a valid Borough/Block/Lot code (which specifies a piece of real estate, whereas a BIN specifies a structure), the following external links can be used:
Browse Block @ BIS
This BIS search mode displays all BINs in the specified block. Blocks with many small buildings may have multiple pages of results. They are sorted by lot number and shown with associated addresses that may or may not match the on-the-ground addresses. The typical NYC block is a rectangle bounded by four streets, so expect to see more than one street name in the addresses.
Also listed are any obsolete BINs that the block previously contained, presumably demolished and often replaced by new construction with fresh BINs.
BIS's block-level info is often more current than other sources, so browsing this list is sometimes a better way to find a new BIN than searching by address. (The BIN, if found, can then be used for a Nycaabs BIN search.)
Browse BBL @ BIS
This is similar to the Browse Block search but limited to only the lot containing the BIN from the Nycaabs search. If that lot has other associated BINs they will be listed, but often the only BIN returned is the one from the original search.
View BBL @ ZoLa
ZoLa ("Zoning and Landuse Application") is a tool from the NYC Department of Planning for researching and visualizing tax lots, zoning, ownership, political boundaries, historical aerial imagery, and many other data overlays. The ZoLa web app sometimes takes a while to load, and may appear blank for several seconds.
Like GOAT's, ZoLa's basemap and building footprints are OSM-based but several years old. ZoLa also offers a 3D map view, featuring the same stale data.
Using building footprints
If the BIN searched (or the BIN found from an address search) appears in NYC's Building Footprints dataset, the footprint will be shown on the slippy map and data fields will be written at the top of the building info table: the feature type (usually "building" or sometimes "garage"), the approximate year of construction, status and status date, and hopefully roof height.
Next to the table, links will be generated to download the footprint in OpenStreetMap XML format or send it directly to JOSM. (Note that these exported footprints do not include address fields – NYC has too many multi-address buildings to make this viable.)
The quality of NYC's footprints is generally very good, but there are occasional exceptions that are poorly drawn or completely erroneous. Confirm footprints with survey, aerial imagery, and street-level imagery. When importing footprints as building ways in OSM, pay attention to how the neighboring buildings interact and try to fix incorrect gaps and overlaps.
Also, despite frequent updates, many newer buildings are missing from the Building Footprint database. A recycled BIN will often show an obsolete footprint from the previous structure, while a new BIN may have no footprint at all. (When a Nycaabs search does not return a footprint but does return coordinates, the slippy map will zoom and drop a pin at that location.)
Using DOB job data
Next in the building info table will be any DOB job numbers for the BIN, with job work type, status, date, and height. The heights listed with the jobs are often more accurate than the footprint's height, when there's a discrepancy.
The DOB Job numbers are also key for retrieving additional info from the BIS app without going through BIS's own search forms. Follow the Job Details @ BIS and Zoning Documents @ BIS links for quick access to building data and diagrams. The building zoning diagrams, if available, will usually have the most accurate building height value and will show the details of complex buildings, which can aid in 3D mapping. (When a BIN returns multiple job numbers, Nycaabs attempts to sort them so the top entry will correspond to the current active job in BIS, so the topmost links are usually a good place to start.)
Under the DOB Jobs may be an additional list of DOB NOW Jobs. DOB NOW (https://a810-dobnow.nyc.gov) is a new building info portal, with a distinct job number system, planned as a replacement for BIS. The DOB NOW data available in Nycaabs is usually not critical for OSM mapping, but in rare cases the building height may be available here but not elsewhere.
The DOB NOW application itself may offer a wealth of building information and documents, including (occasionally) zoning diagrams useful for building mapping. Unfortunately it does not support deep linking, but Nycaabs features a link that will copy the current BIN into the clipboard before opening the DOB NOW search page.
Slippy Map functions
The slippy map supports several location-based functions available from the right-click context menu:
- Search Here: Initiate Nycaabs coordinate search
- View at OSM: Open OpenStreetMap at this location
- Feature query at OSM: OSM's "Query features" function
- Reverse geocode at OSM: OSM's "Show address" function
- Reverse geocode at Nominatim: Query these coordinates at https://wiki.openstreetmap.org/wiki/Nominatim
- Edit at OSM (iD): Edit at these coordinates in https://wiki.openstreetmap.org/wiki/iD (or whatever editor currently resides at the https://www.openstreetmap.org/edit url).
- Edit in Rapid: Edit at these coordinates in https://rapideditor.org.
- Edit in JOSM: Edit at these coordinates in https://www.openstreetmap.org/JOSM.
- Cyclomedia imagery: View street-level imagery from Cyclomedia. Note that this imagery is not licensed as a data source for OSM, so is for reference purposes only.
- Bing Streetside imagery: View street-level imagery from Bing Maps. This imagery is licensed as a data source for OSM, but the photography is several years old so may be of limited use.
Examining the search log
Details of the API queries that Nycaabs uses, including the exact urls and summaries of responses, are written to the small textbox underneath the search box. Expanding this box and viewing the logs may help clarify some of Nycaabs' functionality and behavior.
Crediting data sources
Nycaabs itself is not a data source, but an aggregator. Best practice is to credit the underlying data sources (eg "NYC footprints" or "NYC DOB") along with any imagery used.
Reporting issues
Issues with Nycaabs can be reported at https://github.com/jmapb/nycaabs/issues. It's also possible to send a message via OSM at https://www.openstreetmap.org/user/jmapb.