GithubHelp home page GithubHelp logo

Comments (4)

daliborjanak avatar daliborjanak commented on September 10, 2024

I think that it is better to compute size of empty tile from "scale" attribute from tilejson (or compute it if it's not set). It's not good to define tile size in layer name. I thing it is not logical. Users do not want to know if it's retina or not they just want to see a map.

from tileserver-php.

klokan avatar klokan commented on September 10, 2024

Correct.

The only problem is that "scale" in metadata does not always must have the meaning the tile has more pixels (see my description at openlayers/openlayers#1905)

But it does have this meaning for MapTiler generated tiles which is enough for us right now.
Let's go for an implementation based on the "scale" in metadata of the layer.

from tileserver-php.

daliborjanak avatar daliborjanak commented on September 10, 2024

Ok. We can also create attribute "scale" if it it's not set in metadata - detect size of one tile and compute...

from tileserver-php.

klokan avatar klokan commented on September 10, 2024

Let's go for an implementation based on the "scale" in metadata of the layer.

from tileserver-php.

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.