optgeo / a-1 Goto Github PK
View Code? Open in Web Editor NEWAntarctic prototype 1 - part of 63ants
Home Page: https://optgeo.github.io/a-1
License: Creative Commons Zero v1.0 Universal
Antarctic prototype 1 - part of 63ants
Home Page: https://optgeo.github.io/a-1
License: Creative Commons Zero v1.0 Universal
今回は、https://github.com/optgeo/a-1/blob/main/constants.rb から手作業で切り出しましょう。
Looks like simplification breaks geometry.
Add --no-line-simplification
to tippecanoe
.
node ~/vt-optimizer/index.js -m tiles.mbtiles
✔ Parsing VT file contents
Vector Tile Info
Zoom levels: 8,
Format: pbf
Center: 39.471944,-69.005653,11
Layers:
• area
• building
• coastline
• contour
• line
• symbol
Vector Tile Summary
Zoom level Tiles Total level size (KB) Average tile size (KB) Max tile size (KB)
---------- ----- --------------------- ---------------------- ------------------ ----------------------------------------------------------
8 1 2.439453125 2.439453125 2.439453125 ✓
9 1 4.7373046875 4.7373046875 4.7373046875 ✓
10 2 34.9775390625 17.48876953125 31.1630859375 ✓
11 4 412.388671875 103.09716796875 235.8623046875 ☓ Error: The average tile size of this level exceeds 50KB.
✔ Parsing VT file contents
Vector Tile Info
Zoom levels: 8,
Format: pbf
Center: 39.471944,-69.005653,11
Layers:
• area
• building
• coastline
• contour
• line
• symbol
Vector Tile Summary
Zoom level Tiles Total level size (KB) Average tile size (KB) Max tile size (KB)
---------- ----- --------------------- ---------------------- ------------------ ----------------------------------------------------------
8 1 3.5908203125 3.5908203125 3.5908203125 ✓
9 1 7.7626953125 7.7626953125 7.7626953125 ✓
10 2 57.767578125 28.8837890625 51.5751953125 ✓
11 4 662.66796875 165.6669921875 378.5703125 ☓ Error: The average tile size of this level exceeds 50KB.
pi@m330:/mnt/hdd/a-1 $ rake optimize
node ~/vt-optimizer/index.js -m tiles.mbtiles
✔ Parsing VT file contents
Vector Tile Info
Zoom levels: 8,
Format: pbf
Center: 39.597473,-69.018464,16
Layers:
• area
• building
• coastline
• contour
• line
• point
Vector Tile Summary
Zoom level Tiles Total level size (KB) Average tile size (KB) Max tile size (KB)
---------- ----- --------------------- ---------------------- ------------------ -
8 1 2.41015625 2.41015625 2.41015625 ✓
9 1 4.6513671875 4.6513671875 4.6513671875 ✓
10 2 33.8681640625 16.93408203125 30.177734375 ✓
11 4 51.779296875 12.94482421875 30.490234375 ✓
12 6 72.669921875 12.111653645833334 41.90234375 ✓
13 14 341.826171875 24.416155133928573 86.8935546875 ✓
14 41 965.24609375 23.542587652439025 85.2109375 ✓
15 131 1693.52734375 12.927689646946565 39.6123046875 ✓
16 477 2547.6484375 5.340982049266247 18.669921875 ✓
このサイズ分布であれば、特段の問題はないと考えます。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.