>> Do you think I should make area center preprocessor default (and force >> people to install Java or disable it in their tilesAtHom.conf)? > > I'll have a look, maybe I can simply re-implement your code in Perl, then we > don't have the Java dependency. It shouldn't be too hard!
Actually I've been thinking about another thing, that would make Java dependency mandatory. One of steps in batik's svg rendering is creating of GVT tree. It contains all graphic elements already with all styles applied. You can get bounding box for every element (including it's stroke-width, font-size etc). Using GVT tree should be possible to make list of nodes/ways that affect neighbouring tile, but have no node in neighbouring tile. So it would be possible to download only tile + nodes/ways that are known to affect the tile. Not like it works now when you download and process 2.68 times more data than neccessary. This will also allow to processes smaller tiles than z12. I think it would be worthy to make Java new dependency if this works out. So reimplementing area center preprocessor in perl might not be necessary. For now I will make area center preprocessor to fail silently when Java is not installed. orp/osmarender can still calculate area center by themselves though not as good as area center preprocessor can. -- Jiri _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
