Giter VIP home page Giter VIP logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
You can adjust how much memory the MapnikRenderer plugin uses:

 - Adjust the amount of threads
 - Adjust the size of meta tiles

Each thread uses 256*256*3*(meta-tile-size+1)*(meta-tile-size+1) bytes.

Does this fix your problem? Or am I misunderstanding your suggestions of a 
"slim mode"?

Original comment by [email protected] on 17 Dec 2010 at 9:33

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from monav.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
I'm afraid not only the thread memory matters.
For example, the std container used in preprocessing is likely to overflow the 
std::size_t capacity on 32 bit platform for relative large dataset.
I've modified a slim version based on the old preprocessor code(simply disable 
OMP and directly write the index to the disk), which works fine on huge data 
set and should works on most pc.

Original comment by [email protected] on 17 Dec 2010 at 11:17

from monav.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
How large are the areas you want to render? And up to which zoom level?

Each index entry should be less than 16 Bytes. That means Germany will take 
about 20MB for zoom level 15, 100MB for zoom level 16. Of course, if you try to 
render the whole of Europe it will take about 1GB, but Europe shouldn't fit on 
most mobile devices anyway ( >35GB data ).

Furthermore, if the index data structure is problematic for you, shouldn't the 
OSMImporter also be a problem for your? Each node's coordinate takes about 8 
Bytes to store the coordinate. At least at one point the importer has to copy 
and reorder these coordinates.

Original comment by [email protected] on 17 Dec 2010 at 12:51

  • Changed state: Accepted

from monav.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024
The china.osm from official site is very small(62MB bzip). So OSMImporter works 
just fine.
I'd like to render China(almost as large as Europe) to at least zoom 16. 
Although most of the land in osm are empty, the index entry always needs to 
occupy its place.

Original comment by [email protected] on 17 Dec 2010 at 2:58

from monav.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 18, 2024

Original comment by [email protected] on 18 Apr 2011 at 3:01

  • Changed state: WontFix

from monav.

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.