Coder Social home page Coder Social logo

Comments (7)

nvkelso avatar nvkelso commented on September 28, 2024

You mean like the "all" alias that the Mapzen be Tor tile service uses? That's controlled in the main config.yaml file in vector-datasource.

On Oct 2, 2016, at 07:54, musicformellons [email protected] wrote:

I am looking at how to combine multiple vector tile files. Could you explain what settings are needed to have a single entry point containing vector tile data of both (or multiple) sources?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from tileserver.

musicformellons avatar musicformellons commented on September 28, 2024

I am not sure I understand, so I will try to be more specific. I would like to use Mapzen vector-datasource (mvt) tiles and combine these with an extra custom layer in vector tile (mvt) format which consists of points (actually a large geojson file converted into mbtiles). I use mapbox-gl-js and there I find (this is mapbox-gl but at mapbox-gl-js they reference to this, so it applies to both):
mapbox/mapbox-gl-native#3141 (comment)
tl;dr: Should be solved on server side (and thus both sources should come from same server). So I should have my own vector-data tiles and my custom layer and solve it at the server. I am not exactly sure how to do that:

  • Do you first have 'to mingle' (compositing) them together at database level?
  • Or could just serve multiple tiles and set the server to do so?

Hope it makes sense.

from tileserver.

musicformellons avatar musicformellons commented on September 28, 2024

Could it be you mean this 'all' in vector-datasource/queries.yaml ?

all:

  • water
  • earth
  • places
  • landuse
  • roads
  • buildings
  • pois
  • boundaries
  • transit

from tileserver.

musicformellons avatar musicformellons commented on September 28, 2024

These guys make it look easy:
osm2vectortiles/osm2vectortiles#26

stating: "vector tiles are designed in a way which supports merging by direct binary concatenation."

from tileserver.

nvkelso avatar nvkelso commented on September 28, 2024

Oops, I had a weird auto correct about Tor in my last comment! I meant to say Mapzen vector tiles.

We use tilezen/tileserver for decomposition:

https://github.com/tilezen/tileserver/blob/master/tileserver/__init__.py

It listens for requests to for certain layers - if a layer other than "all" is asked for them we'll peal out just those layers to return in the response (which is comparable with osm2vectortiles statement).

But this only decomposes the general Tilezen tiles, it doesn't (yet) have logic to combine &/or decompose any arbitrary tile data from arbitrary sources.

On Oct 2, 2016, at 10:32, musicformellons [email protected] wrote:

These guys make it look easy:
osm2vectortiles/osm2vectortiles#26

stating: "vector tiles are designed in a way which supports merging by direct binary concatenation."


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from tileserver.

musicformellons avatar musicformellons commented on September 28, 2024

Thanks. That would be a useful feature to add I think.

from tileserver.

nvkelso avatar nvkelso commented on September 28, 2024

Closing for inactivity.

from tileserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.