Git Product home page Git Product logo

Comments (5)

Gigas002 avatar Gigas002 commented on July 18, 2024

Approximate plan looks like this:

  • Open input geotiff;
  • Check projection and stuff;
  • Convert to mercator, if needed;
  • Get mercator coordinates from file metadata;
  • Calculate mercator tile numbers dictionary for each zoom;
  • Generate tiles;

from gtiff2tiles.

carnegiea avatar carnegiea commented on July 18, 2024

Any help I can provide in this matter? It seems like my previous issue was due to mercator / geodesic tile numbering as well, therefore i got confused even at openlayer.

from gtiff2tiles.

Gigas002 avatar Gigas002 commented on July 18, 2024

TLDR: I'm not yet working on that feature.

Long explanation:
Well, I supposes 1-4 paragraphs are pretty easy to implement through gdal library in-code. The difficulties are starting with maths, when calculating tile numbers from mercator coordinates and calculating zones for tiles to read/write.
I haven't yet looked on all that stuff, but I'm pretty sure there's enought info about how-to-do-that in original gdal2tiles.py script.
The point is also not to change too much in GTiff2Tiles.Core existing code, so that'll take some time to implement. I should also change some names because of that (for example RepairTifOptions enum is needed only to convert tif to geodetic, but it will be kind of confusing to use that property to "reapair" mercator tif).
But anyway, thanks for your desire to help!

from gtiff2tiles.

Gigas002 avatar Gigas002 commented on July 18, 2024

Logics in GTiff2Tiles.Core for this feature complete and will be availibale in GTiff2Tiles nuget package starting from v2.0.0-ci436 or higher.
It'll be added to GTiff2Tiles.Console and GTiff2Tiles.GUI in next major stable release (2.0.0).

from gtiff2tiles.

Gigas002 avatar Gigas002 commented on July 18, 2024

As I said above, work in Core for this feature complete and new options will appear in new stable release in both Console and GUI apps.
To avoid confusion, I'm closing this issue.

from gtiff2tiles.

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.