Comments (7)
Update: Attempted on a 32 core 248 GB VM and it still gets to a point where it's processing extremely slow. I got to 25 GB fast then after that stalls.
from pmtiles.
Update 2: Attempted to not compress, file writing stalls around 20GB with 100% CPU usage and 8% memory usage.
from pmtiles.
The python writer isn't particularly optimized for large use cases, but ideally it should work - that seems like too much ram consumption. What is the total # of tiles in the source (mbtiles?) and are there many duplicates?
from pmtiles.
from pmtiles.
OK, thanks for the report. So it sounds like this isn't a hang. The progress bar might be nice but I don't think there's a clean way to add it to this program without introducing more dependencies. It's likely either collecting deduplication hashes is taking up more and more time (hundreds of millions of hashes) which we could solve by limiting the hash to only tiles smaller than a certain size, or the sorting/pyramid construction takes too much time/ram.
from pmtiles.
from pmtiles.
Go-pmtiles is now the preferred way to convert from mbtiles, which should be much more memory-efficient and shows a progress bar.
from pmtiles.
Related Issues (20)
- How to use PMTiles with Mapbox HOT 4
- Verify pmtiles crash HOT 4
- Serving to tiles changes the shape of the file HOT 6
- OpenLayers PMTilesVectorSource fires tileloadstart event twice per tile HOT 1
- TypeScript fails to run? "./v2" HOT 3
- Crash while using MapLibre and hosted protomaps version HOT 2
- Failed to fetch error on occasion HOT 2
- pmtiles.js: RangeError: Offset is outside the bounds of the DataView HOT 3
- Possible reference implementation of hilbert tile ID primitives HOT 6
- lambda function not working? HOT 4
- Saving/Caching for offline use? HOT 6
- cannot set fetch options with maplibre protocol HOT 3
- Handling corrupt metadata HOT 2
- Cannot render with magic number error HOT 5
- "pmtiles merge" CLI command? HOT 13
- Allow Customization of OpenLayers Format Parameters HOT 1
- If-Range header causes error HOT 7
- PMTiles JS not working with latest Maplibre GL JS 4.x HOT 4
- Dynamically set overview zoom levels
- Etag being spoofed by ClearURLs extension causes hard to understand errors HOT 4
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 pmtiles.