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

Feature Request: _bbox in properties for all features #147

Closed
reyemtm opened this issue Jun 24, 2022 · 2 comments
Closed

Feature Request: _bbox in properties for all features #147

reyemtm opened this issue Jun 24, 2022 · 2 comments

Comments

@reyemtm
Copy link
Contributor

reyemtm commented Jun 24, 2022

would it be possible to add a _bbox or _bounds field to all returned features inside the feature properties for all layers that are not points? Why do this - because when rendering vector tiles often you do not have access to the whole geometry of a line or polygon - which makes it difficult to enable something like a zoom-to feature on a map. If a simple extent was added as a property for all features then this zoom-to feature could be implemented. This would be a standout feature from other vector tile generators as far as I know. While the user could add a bounds field on their end - it would be awesome if it just appeared in the tile data. This could be a flagged option, off by default, for example ADD_EXTENT then EXTENT_FIELD_NAME.

@pramsey
Copy link
Collaborator

pramsey commented Jul 8, 2022

This seems like something that should be in the tile specification, not adhoc added to a tile generator.

@pramsey pramsey closed this as completed Jul 8, 2022
@reyemtm
Copy link
Contributor Author

reyemtm commented Jul 8, 2022 via email

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

No branches or pull requests

2 participants