Comments (7)
Adding data is relatively easy to add I think, the only problem I see will arise if we implement a sophisticated point filtering algorithm like the one described by @ericfischer.
Removing data would require tagging every feature or geometry with ids, but is also possible. Not sure if it can be made fast though.
from geojson-vt.
For now I think it's fast enough to just retile everything when you change data, but still may be very useful in future. Do you have any particular live-data cases in mind?
from geojson-vt.
I am working on an approach now in the C++ port for live-adding and changing points and shapes as a means to add annotations to GL. Will report back on what this brings to light.
from geojson-vt.
The approach I'm using is to tile newly-added features, then iterate the tiles and add the tiled features over to some master tiles so as to not have to re-tile the existing features. I keep a reference to the added features around so when their corresponding data objects are removed, the features get pulled back off the master tiles.
Also, in this system, tiles have layers. All points are added to a single point layer, and each shape is added to its own shape layer for overlay rearrangement purposes.
I'll keep the rest of the progress over in mapbox/mapbox-gl-native#992, but just wanted to share my thinking so far.
from geojson-vt.
For mapping large dynamic datasets this would be very useful, at least adding data, for my use case. Any further thoughts on this?
from geojson-vt.
mapbox-gl-draw is another usecase that would benefit a lot from being able to update data.
from geojson-vt.
Wow, this is an old issue :) Seems like everyone's done fine without it for six years, so probably not that vital!
from geojson-vt.
Related Issues (20)
- Port line clipping edge case fix
- Label Cropping and overlap problem HOT 1
- I cant see correctly tiles for points/lines
- Does old data ever get cleared out ? HOT 1
- Strange Clipping issue. HOT 5
- Why should project coordinates between [0,1] first? HOT 2
- How to remove redundant vertical and horizontal lines HOT 1
- this is a problem in 13 level HOT 1
- Point Lost: while three point in a line and the second point is in the dividing line of the tile(with buffer), then the point will be lost in particular level.
- Show only one label per featrure HOT 1
- Geojson linestring HOT 5
- Memory leak HOT 10
- Add ability to add features to existing index HOT 6
- Rendering huge points HOT 3
- Bug cluster points HOT 2
- How I use geojson-vt in mapbox gl js ,I need some examples! HOT 2
- getTile will accept strings for coordinate numbers HOT 1
- Incorrect vector tiles for zoom >= 13 for multipolygons HOT 1
- how to use geojson-vt in projecting from EPSG:4326 to EPSG:3826
- Examples with Leaflet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geojson-vt.