Thanks Dane.

It would be good to have examples around that are both reliable and easy to
understand for the complete beginner!  Having struggled for months to get a
complete OSM toolchain working on Windows - I am now about 80% of the way
through a self-imposed task of writing a WIndows cook-book that shows all
the steps neccessary. The non-functioning generate_tiles.py is exactly the
sort of little gotcha that non-programmers and folks unfamiliar with linux
trip over.

(BTW - Even the single threaded version has a hidden trap for the Windows
user - I ran an almost unmodified version of it for months without noticing
that it invokes the unix 'convert' command which fails silently under
Windows - leaving larger PNG instead of PNG256 files.)

I'll happily share my cookbook (after I've tested it on some local victims).

And if you need a non-linux oriented, inexpert-programmer to try anything
out on - I volunteer.

Regards,

             Philip


2009/12/28 Dane Springmeyer <[email protected]>

> Philip,
>
> Thanks for this report. I've not had a chance to run the threaded version
> on windows but I've also not heard of any success either.
>
> I think writing in support for multiprocessing, as tobias mentioned, is a
> good idea to look into.  As well as perhaps keeping single threaded support
> around as an option in that script.
>
>
> Dane
>
> --- \o/ ---
> Sent from my phone
>
> On Dec 26, 2009, at 6:05 AM, Philip Howarth <[email protected]> wrote:
>
> Has anyone used the current threaded version of generate_tiles.py on a
> Windows machine?
>
> <http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py>
> http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py
>
> The old single threaded version still works fine for me but attempts to
> make the threaded version run have failed on two different machines running
> Windows XP. It generates a few directories and populates them with a few
> tiles but then just stops processing after a handful of tiles. Both machines
> are dual-core and I have tried setting the max number of threads to 1 and 2
> (and also 4 to see what would happen) with no obvious change.
>
> Any encouragement welcome...
>
>         Philip
> --
> Philip Howarth
> Cambridge UK
> email: <[email protected]>[email protected]
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>


-- 
Philip Howarth
Cambridge UK
email: [email protected]
web: www.philip.howarth.name
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to