Comments (5)
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.
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.
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.
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.
Original comment by [email protected]
on 18 Apr 2011 at 3:01
- Changed state: WontFix
from monav.
Related Issues (20)
- Building Monav against Qt 5 HOT 1
- Guidance on how to integrate Monav in a Windows 8 App Project
- monav-preprocessor: bad_alloc HOT 3
- MoNav Preprocessor HOT 2
- Misleading turn instructions when route is almost straight at a crossing HOT 4
- Routing prefers highway all the time HOT 1
- Plays only the first audio file in Qt Simulator HOT 1
- Way modificators greater than zero are ignored HOT 2
- build failure: QtMultimedia: No such file or directory HOT 7
- Assertion `edges->size() != ( int ) edgesBegin' failed. (for one specific route) HOT 1
- Some turns are not announced HOT 1
- libxml2 include path HOT 1
- Preprocessor linker error with libprotobuf
- monav 0.3.release-3+hg5585bb4a8d77 crashes on startup
- No map with Mapnik renderer and metaTileSize > 63
- Fix memory handling bugs HOT 1
- Fix preprocessor crash on small data sets without places HOT 2
- Fix QTileRenderer crash on small data sets HOT 2
- Preprocessor: Fix unpredicatable result of BinaryHeap::WasInserted() HOT 4
- Bicycle routing on footways / steps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monav.