Giter VIP home page Giter VIP logo

Comments (3)

rnorris avatar rnorris commented on June 18, 2024 1

Agreed, the format should be more flexible.

ATM I think the most likely (least effort to implement & therefore get done) approach will be to add an extra property along the lines of:

<property name="ll-order-lat-first">FALSE</property>

To switch the order to be lon, lat.

Thus this would keep any backwards compatibly as the default would be TRUE to use lat, lon.

Ultimately a more flexible tokenizer approach would be nice and/or a smarter way to select sub-items (e.g. being able to list/select the routing profile type [cycle/car/foot/etc...] - without having to specify the whole object class common properties each time), but unlikely to get done in the near future.

from viking.

matthewhague avatar matthewhague commented on June 18, 2024 1

The values in the xml files get passed to sprintf, iirc. I've gotten away with using

lonlats=%2$s,%1$s

for example to make it swith the lat/lon order from what it expects.

from viking.

rnorris avatar rnorris commented on June 18, 2024

Addressed with #39

Add since you can also change the default ordering via the "printf positional arguments" technique '%n$' for the Nth argument - there is no need for an additional parameter reordering methods.

from viking.

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.