[OSM-talk] pyrender

OJ W ojwlists at googlemail.com
Wed Jun 18 13:16:40 BST 2008


Try deleting the contents of your cache directory -- the old version
of pyrender used OSM XML file format, while the new version downloads
tiles with the graph->location lookups already done.


Instead of the OSM standard:

<nd ref='11616711' />

in cache files, you should see something like:

<nd id='11616711' x='1072729545' y='713811044' />

where x and y are as described in:

http://wiki.openstreetmap.org/index.php/OJW%27s_tile_data_server#What_are_x_and_y


On Wed, Jun 18, 2008 at 11:06 AM, Raphael Studer <studerap at gmail.com> wrote:
> Hi,
>
> I've tried using pyrender but havn't been sucessfull.
>
> The parseOsm script fails while accessing the "id" attribute of an <nd> element.
> There are just ref="" id's in these elements.
>
> I've changed this (see attached patch), but i guess I've changed the
> whole data structure :((
>
> Regards,
> Raphael
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>
>




More information about the talk mailing list