projection suggestions
JavaScript Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.gitignore
LICENSE.txt
Makefile
README.md
fabfile.py
package.json

README.md

projestions

Map projection suggestions. Demo.

Provides a simple API for finding map projections appropriate for a particular area.

Data

The results of the API based on the EPSG's CRS data (v8.9) and its "area of use" data (v8.8). Both datasets are available to download on the EPSG site. You might be interested in their terms of use.

Prior art

Similar things have been done before:

API

Check out the demo to see it in action.

Endpoint

http://projest.io/ns/api/

Parameters

name value description
geom GeoJSON feature (required) the feature you want to find an appropriate projection for
geojson boolean (optional) true to return GeoJSON of areas of use, else JSON is returned, default false
max number (optional) maximum number of results to return, default 20
offset number (optional) number of results to skip, default 0
sort string (optional) how to sort results, hausdorff to sort by the Hausdorff distance or area to sort by the area of use's area, areadiff to sort by the absolute difference between the geometry in geojson and the area of use, default areadiff.
units string (optional) projection units to return, default all

Returns

Each projection overlapping with the given geom. If geojson is true, returns GeoJSON of the polygons of the areas of use.

License

GPLv3. See LICENSE.txt.