Hi,
I am working on SQLite as mapnik datasource. It will be great as zero
configuration mapnik testing suite. It uses modified WKB storage as ints
(not doubles) so it saves some space. It takes only about 10 percent
size more than bziped OSM. It uses btree spatial index so it should be
very fast.
I have some problems, but now I use almost same configuration file as
Postgress. It is automaticaly converted to sqlite.
Some issues:
- I wrote my own parsing routine of XML, because when I use mapnik
loadMap, there was a problem with mapnik query. If there is srs
parameter for layer then it does not work, if yes then it is no problem.
map envelope is: 12.0999;48.5531;18.851;51.0636
with load, query is: 18.851,51.0636,1.60089e+006,6.46014e+006
withm my parser with srs ignored: 14.381,50.08,14.459,50.13
as you can see it cannot find anything.
- I do not know how to make correct render of land. I have map with
everything, but on blue background (sea). Land is never rendered. I'm
using SVN version of osm.xml. I tries many projections and also data
from mapnik tutorial. Nothing works. I do not understand projections...
Do you have some hints what to try?
Maybe it is because I'm using Windows version of Mapnik...
Tomas
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev