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 add features to existing index #166

Open
aparzi opened this issue Jan 12, 2023 · 6 comments
Open

Add ability to add features to existing index #166

aparzi opened this issue Jan 12, 2023 · 6 comments

Comments

@aparzi
Copy link

aparzi commented Jan 12, 2023

is it possible to recover the previously inserted figures or scroll the tiles?

@mourner
Copy link
Member

mourner commented Jan 12, 2023

I don't understand — can you be more specific? What exactly are you trying to achieve and how do you expect this to work?

@aparzi
Copy link
Author

aparzi commented Jan 12, 2023

I load a geojson and so far it works fine, after which I would like to add, later, a new figure to the previous geojson and do the updated rendering with the new figure. like an append of figures to the geojson above

@mourner mourner changed the title Feature request Add ability to add features to existing index Jan 12, 2023
@mourner
Copy link
Member

mourner commented Jan 12, 2023

Ah, right. So same as #26.

@aparzi
Copy link
Author

aparzi commented Jan 12, 2023

@mourner Sorry i didn't understand how i can update a geojson-vt instance. Could you point me with a snippet or something? my goal is to add a feature to a geojson rendered on openalyers (I integrated geojson-vt on openlayers)

@mourner
Copy link
Member

mourner commented Jan 12, 2023

I meant this is not currently possible with geojson-vt, it's a static index — adding a feature requires creating a new index. It's something I'd like to add some time in the future but no immediate timeline for this.

@aparzi
Copy link
Author

aparzi commented Jan 12, 2023

@mourner ah okay, perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants