Jens Müller wrote: > Forgive me if this is not totally the right place, but I think it's > possible to re-use a lot of t...@h work here. > > I'd like to render as specific z12 tile from a local .osm file (to > support in mapping an area from scratch. I don't want only the .svg, but > also tiles as .png. > > This should be exactly what tilesGen.pl xy does, without the download of > from the database and without packing and uploading the tiles. > > Any hints of what to adapt?
A few days ago I posted a patch to the t...@h-client on talk-de in the thread "Re: Osmarenders eingebaute pattern anpassen". With that patch the client uses a hard-coded local datafile. But I think it should be possible to modify the patch for variable filenames. > And one totally off-topic question: It should be possible to display > locally stored tiles in a Openlayers HTML page, with JS and HTML and > tiles all local, right? I'm just rendering tiles with a special style for offline usage. :-) I configured the client to upload to a directory. And I didn't enter username and password to avoid uploading to the osm-servers by accident. I display the tiles with pymap (which in in the svn [1]), but I extended that script a little bit, so that it can handle the t...@h-tilesets (zip-files) directly. HTH, Andreas [1] http://trac.openstreetmap.org/browser/applications/viewer/pymap _______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
