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

GeoJSON plugin has no option to read Feature.id from source #4227

Open
montzkie18 opened this issue May 14, 2021 · 1 comment
Open

GeoJSON plugin has no option to read Feature.id from source #4227

montzkie18 opened this issue May 14, 2021 · 1 comment

Comments

@montzkie18
Copy link

Related to this issue: mapnik/node-mapnik#707

I have a use case where I create VectorTiles from a GeoJSON source, using node-mapnik.
Unfortunately mapnik's geojson datasource ignores Feature.id by design to assign an incremental id instead.

It would be great to have a flag to force the GeoJSON plugin to read the ids from the source instead, giving users the responsibility of making those ids unique.

The flag makes it opt in and disabled by default to maintain the current behavior.

@YousefED
Copy link

Agree this would be useful!

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