Giter VIP home page Giter VIP logo

Comments (5)

assofour avatar assofour commented on June 18, 2024

Let me guess, you may be from a European country, people travel across border there without any issue and quite seamlessly. In most of Asian countries, things are not like that. I believe only extreme few people in China would need border countries data. Also, it will bring in useless big country data such as Russia and India. It is absolutely impossible of a Chinese cyclist going into India by a bike.

from wahoomapscreator.

treee111 avatar treee111 commented on June 18, 2024

yes, i'm from europe.
But you have to distinguish:
"Raw" .osm map-files

  • These are downloaded for all border countries and are big.
  • folder common_resources/maps

Generated tiles for ELEMNT

  • These are only generated for tiles with zoom-level 8 of the country and border tiles, where the choosen country is involved
  • Therefore, NOT all the downloaded border countries information/gigabyte are used

Example of the tile 204/112

  • china and vietnam are one one tile
  • therefore, the raw map of china and vietnam is downloaded
  • To generate the part of the tile where vietnam is involved, the raw .osm map of vietnam is used
  • if one would only process this tile, the output is only content of this tile, while having to download full raw files of china and vietnam
    image
    http://tools.geofabrik.de/map/#8/21.3445/105.8079&type=Geofabrik_Standard&grid=1

Nevertheless I got the point that downloading (not needed) border countries takes time and if one does not bike in this border areas and not crosses borders, we could only donload the choosen country-files and only process them into generated tiles.
Good point!

Does the explanation above makes sense to you?

from wahoomapscreator.

assofour avatar assofour commented on June 18, 2024

Yes. It makes sense.
In the doc QUICKSTART_MACOS.md , the title should be corrected to "Quick Start Guide for macOS".

from wahoomapscreator.

treee111 avatar treee111 commented on June 18, 2024

Hi @assofour,
I developed that feature and published it in Version 0.5.0

you have to change parameter CALC_BORDER_COUNTRIES to False to not download the border countries:

# Calculate also border countries of input country or not
CALC_BORDER_COUNTRIES = True

Now you get faster processing times because only relevant countries are downloaded.
I'm happy for any feedback, feature requests or information in the case of errors! 👍

from wahoomapscreator.

assofour avatar assofour commented on June 18, 2024

@treee111 Great, will test it in next few days and get back to you.

from wahoomapscreator.

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.