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

Conversation

Projects
None yet
3 participants
@c-w
Copy link
Member

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 Jul 3, 2017

@erikschlegel erikschlegel self-requested a review Jul 3, 2017

@erikschlegel
Copy link
Contributor

left a comment

LGTM

@c-w c-w force-pushed the bbox-by-id branch from 094955c to 4f6dac6 Jul 6, 2017

@c-w c-w force-pushed the bbox-by-id branch from 4f6dac6 to b334cae Jul 6, 2017

@timfpark timfpark merged commit c20a249 into master Jul 28, 2017

@timfpark

This comment has been minimized.

Copy link
Contributor

commented Jul 28, 2017

Looks great - thanks!

@c-w c-w deleted the bbox-by-id branch Jul 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.