moataz Elmasry schrieb:
> Sorry I sent this emaail from the wrong address. Sorry for the double post
>
> Hallo List
>
> I'm trying to install tahngo server on my pc. I use ubuntu 9.10
> So I downloaded tah from the svn and followed the instructions for the
> server installation in the wiki and the INSTALL documentation.
> I moved the whole tah directory under /var/www and updated settings.py
> to point to the new location. Anyway the server is now running. Somehow
> the css and others are not read from the media directory, but that's not
> the problem.
>
> I use postgis database where I imported a luxembourg.osm into it and
> there are tables like planet_osm_line planet_osm_roads, etc...
> Now I define the same layer names in /admin of the new installed server.
> Then I update paths in templates/base_browse_slippy as follows:
> layerTilesAtHome = new OpenLayers.Layer.OSM({name: "ti...@home",url :
> 'http://127.0.1.1/Tiles/tile/${z}/${x}/${y}.png'});
> Unfortuantly this map is not being picked up by osm and a default mapnik
> is used that is served from osm site not from my server.
> I believe that I made something wrong during defining the layers in the
> /admin interface but I'm not sure if the logic of importing layers into
> postgres then add their names to the admin interface and point the
> settings.py to that database is the right logic
>
> Thanks alot in advanceI'm not sure what you want to accomplish, but I'm quite certain you do not need the entire tahngo server for your task. it might be sufficient to have a look at pymap[1] from the osm svn and the localFile mode of the ti...@home[2] client. otherwise, since you already have your data in a postgis database you might want to look into mapnik instead of osmarender/ti...@home and corresponding openlayers settings. [1]http://svn.openstreetmap.org/applications/viewer/pymap/ [2]http://svn.openstreetmap.org/applications/rendering/tilesAtHome-dev/tags/Ulm/ -- Dirk-Lüder "Deelkar" Kreie Bremen - 53.0901°N 8.7868°E
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
