Comments (4)
Can you try generating the file with a minimal PNG image, hardcoded bytes, and inspecting in the viewer?
The verify
command is meant for verifying the container organization, and not the tile contents, so it is difficult to distinguish between the read failure being the container or the individual contents...
from go-pmtiles.
The container bit was just fine; the bug was in not getting coordinate transforms right at all in the MVT part. Stuart got a minimal working example in Urban-Analytics-Technology-Platform/od2net#40.
Maybe what could be useful is something to verify MVT contents or better error messages, but I think the Uncaught Error: unknown command 4
is auto-generated protobuffer code anyway.
Thanks!
from go-pmtiles.
Here's a related issue of improving error messages in maplibre for malformed PBFs:
My thinking right now is that verifying individual MVTs takes this project too far - a verify
on a planet basemap would need to spend a lot more time parsing 100+ million tile contents, unless we make it optional (adding more complexity...)
from go-pmtiles.
For the record, figured this out: Urban-Analytics-Technology-Platform/od2net@f7bfb02
There's a bug in https://crates.io/crates/mvt where asking to encode a LineString with 0 points doesn't fail as it should, but instead writes something invalid. Will be fixing upstream.
And I hope to have a working demo soon of a tippecanoe alternative specialized for a particular LineString case!
from go-pmtiles.
Related Issues (20)
- Extract region forcibly closed by remote host HOT 4
- CLI tool to concatenate or merge pmtiles HOT 13
- s3-like compatibility HOT 8
- /health endpoint when serving HOT 10
- Add quiet mode HOT 4
- Slow query for totalTiles in MBTiles -> PMTiles conversion HOT 14
- convert Error parsing mbtiles HOT 4
- arm64 docker images HOT 3
- Corrupted file HOT 8
- SIGSEGV in `pmtiles serve` HOT 3
- dockerfile improvements
- Fails to convert world map due to /tmp space limitations HOT 2
- Invalid help comment for download command HOT 1
- change tmp file location HOT 2
- 404 when trying to serve local PMTiles using the pmtiles CLI HOT 3
- Failed strconv.ParseFloat: parsing " 34.30084411" HOT 4
- Caddy plugin HOT 11
- pmtiles upload is unreliable for large files HOT 4
- Issues with this adding this package on caddyserver.com/download HOT 2
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 go-pmtiles.