Coder Social home page Coder Social logo

Comments (4)

jorisvandenbossche avatar jorisvandenbossche commented on June 12, 2024

This is basically this code from contextily to move over? -> https://github.com/geopandas/contextily/blob/799c70802892f0276ace74159df3ed24779cedbf/contextily/tile.py#L292-L298 (but a bit more expanded/documented)

from xyzservices.

martinfleis avatar martinfleis commented on June 12, 2024

Yeah. Or this one from geopandas_view https://github.com/martinfleis/geopandas-view/blob/eea1c898e98413381086ad1a2c8b6005dfd357e7/geopandas_view/view.py#L275-L282

from xyzservices.

jorisvandenbossche avatar jorisvandenbossche commented on June 12, 2024

Ah, but that's slightly different: that's building the full url except with x/y/z/s still to be filled in, while the one I linked accepts x/y/z and already fills those in as well.

Probably the s (subdomain) should already be filled in, since that can depend on the Provider information?

from xyzservices.

martinfleis avatar martinfleis commented on June 12, 2024

Probably the s (subdomain) should already be filled in, since that can depend on the Provider information?

That sounds right. I think we should be able to return both options, fully filled and and with xyz placeholders. Contextily can use the first version while folium the second.

from xyzservices.

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.