Adirondack Atlas Data API
Our API moves data from our PostGIS database to the web in GeoJSON format. Data from our API may be integrated into third-party websites as long as the Adirondack Atlas is explicitly attributed and credited on the web page as the data source.
While GeoJSON data is designed for the web, it can also be used in desktop GIS applicataions and can be easily converted into CSV or GPX format. If you want to download data to your desktop, the process basically goes like this:
Generate a url that contains the data you want and then load that page in your browser. Make sure you include '&geojson=true' in the URL so that the coordinates are included. For example, https://adirondackatlas.org/api/v1/points.php?name=Blue Mountain Lake&geojson=true .
When the page loads, it may look like gobbledygook, but go ahead and save the page (CTRL-S) as a .json file on your computer.
Click and drag the .json file into QGIS . OR
Use an online converter to convert the .json file to CSV.
API Documentation
Documentation for a few of the APIs serving the main web page at AdirondackAtlas.org.
Points API
https://adirondackatlas.org/api/v1/points.php
Returns a GeoJSON list of point features matching the input parameters.
Parameters:
name : Search for the name of a point feature. Sample url:
https://adirondackatlas.org/api/v1/points.php?name=Blue Mountain Lake
geojson : if set to 'true', then will return GeoJSON formatted list of geometry coordinates along with the attributes. Sample url:
https://adirondackatlas.org/api/v1/points.php?name=Blue Mountain Lake&geojson=true
bbox : returns results intersecting supplied bounding box; order=W,S,E,N (lat/lon). Sample url:
https://adirondackatlas.org/api/v1/points.php?name=hotel&bbox=-74.96,44.0,-73,44.5
category : Select one or more categories of points: e.g. Arts,Dining and Drinking,Historic and Interpretive,Lodging,Manufacturing,Recreation,Retail,Services,Transportation. Sample url:
https://adirondackatlas.org/api/v1/points.php?category=Arts
keyword : select one or more geometries by keyword. Example keywords include Sample url:
https://adirondackatlas.org/api/v1/points.php?keyword=beer
-- Choose a Keyword --
Guide
Gasoline
Architectural Site
Beer
AND / OR
-- Choose a Category --
Arts
Dining & Drinking
Historic and Interpretive
Lodging
Manufacturing and Production
Recreation Lodging
Retail
Services
Transportation
-- Number of Results (default=100) --
200
500
1000
Lines API
https://adirondackatlas.org/api/v1/lines.php
Returns a GeoJSON list of line features matching the input parameters.
Parameters:
geojson : if set to 'true', then will return GeoJSON formatted list of geometry coordinates along with the attributes. Sample url:
https://adirondackatlas.org/api/v1/lines.php?name=cedar river&geojson=true
limit : how many records to return. Defaults to 20 if not specified.
Sample url: https://adirondackatlas.org/api/v1/lines.php?name=cedar river&geojson=true&limit=1
name : Search for the name of a line feature. Sample url:
https://adirondackatlas.org/api/v1/lines.php?name=cedar river
character : Select one or more line character: e.g. Interstate,Highway,County Road,Paved Road,Unpaved Road,Two Track 4WD,Two Track,Single Track,Bushwhack,Powerline,Water Crossing. Sample url:
https://adirondackatlas.org/api/v1/lines.php?character=Interstate
-- Choose a Trail/Road Character --
Single Track Trail
Two Track
Two Track 4WD
Unpaved Road
Paved
State/US Highway
Interstate Highway
Utility Corridor
Bushwhack
-- Choose a Geometry Output--
Native (line)
Bounding Box
Centroid
Convex Hull
-- Number of Results (default=50) --
100
200
300
Search API
https://adirondackatlas.org/api/v1/search.php
Returns a GeoJSON list of points, lines and/or polygons matching the input 'query' parameter.
Parameters:
We also have APIs for Trails, Roads, Units, and Alerts. Contact us for more info.
Click here to view our privacy policy.