Comments (4)
A tileset
is a collection of tileset.layer
's which groups layers using different tables. They are delivered within the same mvt file, but layers can still be displayed separately.
Do you want to deliver the ~20 tables within one mvt file, needing a mechanism to display them combined in 4 groups? If geometry types and attributes within these groups are the same, an SQL Union might already fullfill your need. If they are different, why not just turn the visibility of all layers within a group on/off together programatically?
from t-rex.
Hi Permin,
Thanks, that is exactly what we are after! I see that using the tileset name in the requesting URL instead of the layer name brings down all the tileset layers associated with the tileset itself. So we'll have 4 tilesets with up to 6 layers in each.
I notice that in the grid definition for web mercator you go down to zoom level 18. Some of our layers are very fine grain, best viewed at zoom levels 19 - 20. From what I've read the Google TMS usually go down to zoom level 22. Did you decide to stop at level 18, because your tile extent is 4096, which kind of takes you 4 levels deeper? If we do create a custom grid, which is the same as web mercator (EPSG:3857) but going down to a greater zoom level, will that cause any problems?
Thanks again for your help,
Tom
from t-rex.
Hi Tom,
Good to hear that tilesets cover you needs.
The Webmercator grid definition is taken from MapCache. Makes sense to extend it to zoom level 22.
Cheers
Pirmin
from t-rex.
Done in v0.7.2
from t-rex.
Related Issues (20)
- startup take too long time with many postgis tables HOT 1
- Pixel size for sampling tolerance in WGS84 HOT 1
- gpkg / gdal parallel performance less than sequential HOT 6
- How to configure t-rex to use a database function with PostGIS ST_AsMVT HOT 2
- corrupted polygons with clipping tile borders
- jammy packaging for 0.14x HOT 9
- --cache command line option ignored HOT 2
- Unable to generate tiles, tile extents appear to be wrong ... HOT 1
- t-rex vs other MVT servers? HOT 1
- gdal 3.5 support HOT 1
- Error in loading vector tiles with standalone mapbox gl js viewer HOT 1
- What default tile size is used by Trex? 256 or 512? HOT 1
- Polygon Shift: Custom Projection HOT 2
- cargo build error for GDAL HOT 6
- Parallel calls performance with geopackage as datasource HOT 1
- t-rex doesn't recognize the CRS/SRS HOT 1
- Debian packages for bookworm HOT 3
- Invalid MBTiles metadata.json HOT 4
- Buffer region not served as part of the vector tile HOT 2
- T-Rex doesn't handle invalid geometry results correctly when transforming between coordinate systems HOT 9
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 t-rex.