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

Drag and drop shapefiles turn into vector tiles in the browser #3082

Closed
meh9 opened this issue Sep 18, 2018 · 7 comments
Closed

Drag and drop shapefiles turn into vector tiles in the browser #3082

meh9 opened this issue Sep 18, 2018 · 7 comments

Comments

@meh9
Copy link
Contributor

meh9 commented Sep 18, 2018

No description provided.

@meh9
Copy link
Contributor Author

meh9 commented Sep 18, 2018

@philipgrimmett @stevage

@stevage
Copy link
Contributor

stevage commented Sep 18, 2018

Is this the same as #2907? Why "turn into vector tiles" exactly? Tell me more? :)

@meh9
Copy link
Contributor Author

meh9 commented Sep 20, 2018

@stevage oh right, yes, very related. One of the problems we have is that e.g large GeoJSON files (and I theorise the same is true for detailed Shapefiles) will "hang" the browser because it takes too long to draw, "my" idea (already prototyped by @steve9164 I think) was to turn it into VT's for speed of display.

@stevage
Copy link
Contributor

stevage commented Sep 23, 2018

Ah. Yeah, that's what Mapbox-GL-JS does, with https://github.com/mapbox/geojson-vt

IMHO those two things should be separated though. Even without the vector tile thing, files of say 20MB are probably totally fine.

@tephenavies
Copy link
Member

Above a couple of megabytes you need level of detail simplification to draw vector data in a browser without lag while panning in Cesium

@nf-s
Copy link
Contributor

nf-s commented Nov 16, 2021

🥳

@nf-s
Copy link
Contributor

nf-s commented Nov 16, 2021

This is available now for new ProtomapsImageryProvider geojson items. To use this you will need to set Terria.configParameters.enableGeojsonVt = true

@nf-s nf-s closed this as completed Nov 16, 2021
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

4 participants