Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to query bounding box of features by id #2

Merged
merged 2 commits into from
Jul 28, 2017
Merged

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Jul 3, 2017

For Fortis we need the ability to look up a feature's bounding box by that feature's id.

This pull request implements that functionality by:

  1. Adding a new route to fetch one or more features by id
  2. Adding a new include parameter to compute the bounding box in PostGIS and add it to the feature

Sample response (openstreetmap):

image

@c-w c-w requested a review from timfpark July 3, 2017 17:15
@erikschlegel erikschlegel self-requested a review July 3, 2017 17:17
Copy link
Contributor

@erikschlegel erikschlegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timfpark
Copy link
Contributor

Looks great - thanks!

@c-w c-w deleted the bbox-by-id branch July 28, 2017 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants