[Routing] monav, RAM and disk usage
feverzsj
feverzsj at hotmail.com
Wed Sep 8 15:06:42 BST 2010
hi, Tim
Tim Teulings wrote:
>
> I have done a number of fixes and now
Yes, I've noticed that lots of modifications have been done. Now, I can
get rid of the use of boost lib and those ambiguous call.
Some minor issues:
1.CitySearchDialog.h loses a header guard.
2.Missing of build tool generated headers under msvc, (currently simply
commented out).
3.MapPainterQt.cpp uses log2() which is missing in msvc (I see the
Log2() in Util.h, and use it instead)
> I'm able to build libosmscout and run the import on your data
Yes, the importer also works under msvc8.
> (though Visual Studio seems to be much slower at some stages for yet
> unknown reasons. I'll do some profiling).
Under debug mode or release mode? You may try turning off the debug
iterator
support(http://msdn.microsoft.com/en-us/library/aa985982%28VS.80%29.aspx)
> Building OSMScout (Qt application) seems to be a little bit tricky
> since Visual Studio 2010 Express is neither directly supported by Qt
> (yet) and Express is not supported by Qt at all. I will test it first
> using MinGW.
Generally, qmake can generate the corresponding vcproj from qmake proj,
but it is not so convenient(these mocing stuff). The best way to make
use of Qt under msvc is using the Qt vs addin, but currently no vs2010
support and won't work with express version.
The official site offers a pre-built lib built by msvc9. You may use it
with vs2010, but the debug lib will be invalid.
> It would be nice if you could test the current version and give me
> some feedback!
Yes, tested under msvc8/9 with test.osm.
Some issues:
1. While panning the canvas, sometimes it won't do the redraw. The
canvas is just moved along mouse drag.
2. Crash while zoom to some level. According to debugger, it comes from
AreaNodeIndex::GetNodes() on line 96. The iterator debugging gives
"map/set iterator not dereferencable".
>
> I now have added support for the windows variant of memory maped
> files, which should drastically reduce file access time. The features
> is auto detected and does not require any defines to be set.
>
Good job.
I'd also expect a Qt based TravelJinni or OSMScout with routing feature.
--Regards, zsj
More information about the Routing
mailing list