Skip to content

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

Merged
timfpark merged 2 commits into
masterfrom
bbox-by-id
Jul 28, 2017
Merged

timfpark merged 2 commits into
masterfrom
bbox-by-id

Conversation

@c-w

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

Copy link
Copy Markdown
Contributor

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

@erikschlegel erikschlegel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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

Copy link
Copy Markdown
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.

3 participants