Coder Social home page Coder Social logo

Comments (5)

pka avatar pka commented on May 30, 2024

t_rex generate has an option --extent=[minx,miny,maxx,maxy] and zoom level limits.
Type t_rex generate --help for all options.

from t-rex.

NieneB avatar NieneB commented on May 30, 2024

yes we found it already. Maybe add it to the documentation? So it is easier to find.
Anyway it is not working correctly.. t_rex generate with zoom levels works fine. But when setting an --extent it generates the wrong tiles. Looks like the y-axis is flipped then. Could this be the same as is happening in issue #16 at zoom level 16?

from t-rex.

pka avatar pka commented on May 30, 2024

Can you try again with the latest version, which includes a fix for #16.

from t-rex.

NieneB avatar NieneB commented on May 30, 2024

I tried again with the latest version but the --extent option is still not working for me.
This is what I run:

 t_rex generate --config config.cfg --minzoom=8  --maxzoom=10 --extent=3777.56168633951,6097265.91823491,1281855.12787992,7341398.32595843

I get this error:

2017-03-20 12:00:36.071 INFO Reading configuration from 'config.cfg'
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseFloatError { kind: Invalid }', /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:837
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Running t_rex generate with the --minzoom --maxzoom options does work. The problem starts when adding the --extent

from t-rex.

pka avatar pka commented on May 30, 2024

The extent option was severely broken. Fixed in 0.7.1

from t-rex.

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.