When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

View: New views
6 Messages — Rating Filter:   Alert me  

When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by John Mitchell-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

I then rerun generate_tiles.py and it does not generate all the previously rendered tiles (which is fine) and then it goes past the point where it stopped generating tiles and creates new tiles but eventually it stops again.

Is their a way that I can configure Mapnik so it does not stop before completing all the tasked tiles?

Thanks,

John

--
John J. Mitchell

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by Jon Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-11-01 at 15:40 -0500, John Mitchell wrote:

> Hi,
>
> When trying to create openstreetmap tiles by running generate_tiles.py
> it stops executing before completing all the tiles.
>
> I then rerun generate_tiles.py and it does not generate all the
> previously rendered tiles (which is fine) and then it goes past the
> point where it stopped generating tiles and creates new tiles but
> eventually it stops again.
>
> Is their a way that I can configure Mapnik so it does not stop before
> completing all the tasked tiles?

First you need to find out why it halted, normally you can see an error
message if you run it from the console.

One thing to try is to edit the script and set:

NUM_THREADS = 1

What OS & Mapnik version are you running?

        Jon




> Thanks,
>
> John
>
> --
> John J. Mitchell
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Parent Message unknown Fwd: When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by Artem Pavlenko-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


opps... forwarding to  [Mapnik-users]
---------- Forwarded message ----------
From: Artem Pavlenko <artem@...>
Date: 2009/11/1
Subject: Re: [Mapnik-users] When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.
To: John Mitchell <mitchelljj98@...>


Hi John,
Welcome! Please, provide detailed information about your setup, OS. Which version of generate_tiles.py are you running ? 
Best regards,
Artem

2009/11/1 John Mitchell <mitchelljj98@...>
Hi,

When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

I then rerun generate_tiles.py and it does not generate all the previously rendered tiles (which is fine) and then it goes past the point where it stopped generating tiles and creates new tiles but eventually it stops again.

Is their a way that I can configure Mapnik so it does not stop before completing all the tasked tiles?

Thanks,

John

--
John J. Mitchell

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users




_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by John Mitchell-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One thing to try is to edit the script and set:

NUM_THREADS = 1


Making the NUM_THREADS = 1 seem to work now the script appears to be running through all the requested zoom levels.

THANKS!!!!!!!

Since you asked:

OS:  Microsoft Windows Server 2003
        Standard X64 Edition
        Service Pack 2

Computer:
        AMD Opteron (tm) Processor 252
        2.59 GHZ, 3.93 GB of RAM

Mapnik 0_6_1

Is NUM_THREADS = 1 the optimum value for my OS, computer and Mapnik version?  The NUM_THREADS = 4 was what was set originally within generate_tiles.py and caused it to stop after a couple minutes of tile generation.

John


On Sun, Nov 1, 2009 at 4:27 PM, Jon Burgess <jburgess777@...> wrote:
On Sun, 2009-11-01 at 15:40 -0500, John Mitchell wrote:
> Hi,
>
> When trying to create openstreetmap tiles by running generate_tiles.py
> it stops executing before completing all the tiles.
>
> I then rerun generate_tiles.py and it does not generate all the
> previously rendered tiles (which is fine) and then it goes past the
> point where it stopped generating tiles and creates new tiles but
> eventually it stops again.
>
> Is their a way that I can configure Mapnik so it does not stop before
> completing all the tasked tiles?

First you need to find out why it halted, normally you can see an error
message if you run it from the console.

One thing to try is to edit the script and set:

NUM_THREADS = 1

What OS & Mapnik version are you running?

       Jon




> Thanks,
>
> John
>
> --
> John J. Mitchell
> _______________________________________________
> Mapnik-users mailing list
> Mapnik-users@...
> https://lists.berlios.de/mailman/listinfo/mapnik-users




--
John J. Mitchell

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by Jon Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-11-01 at 19:02 -0500, John Mitchell wrote:

> One thing to try is to edit the script and set:
>
> NUM_THREADS = 1
>
> Making the NUM_THREADS = 1 seem to work now the script appears to be
> running through all the requested zoom levels.
>
> THANKS!!!!!!!
>
> Since you asked:
>
> OS:  Microsoft Windows Server 2003
>         Standard X64 Edition
>         Service Pack 2
>
> Computer:
>         AMD Opteron (tm) Processor 252
>         2.59 GHZ, 3.93 GB of RAM
>
> Mapnik 0_6_1
>
> Is NUM_THREADS = 1 the optimum value for my OS, computer and Mapnik
> version?  The NUM_THREADS = 4 was what was set originally within
> generate_tiles.py and caused it to stop after a couple minutes of tile
> generation.

Using multiple threads has a performance advantage when you have
multiple cores. Unfortunately it can also trigger bugs or highlight
configuration issues in software. It can be tricky to figure out exactly
where the problem is.

Are you using the pre-built win32 binaries from mapnik.org?

        Jon





_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: When trying to create openstreetmap tiles by running generate_tiles.py it stops executing before completing all the tiles.

by John Mitchell-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I used the following link to download mapnik:

http://mapnik.org/download/ and then download the Win 32 binaries.

John

On Sun, Nov 1, 2009 at 7:24 PM, Jon Burgess <jburgess777@...> wrote:
On Sun, 2009-11-01 at 19:02 -0500, John Mitchell wrote:
> One thing to try is to edit the script and set:
>
> NUM_THREADS = 1
>
> Making the NUM_THREADS = 1 seem to work now the script appears to be
> running through all the requested zoom levels.
>
> THANKS!!!!!!!
>
> Since you asked:
>
> OS:  Microsoft Windows Server 2003
>         Standard X64 Edition
>         Service Pack 2
>
> Computer:
>         AMD Opteron (tm) Processor 252
>         2.59 GHZ, 3.93 GB of RAM
>
> Mapnik 0_6_1
>
> Is NUM_THREADS = 1 the optimum value for my OS, computer and Mapnik
> version?  The NUM_THREADS = 4 was what was set originally within
> generate_tiles.py and caused it to stop after a couple minutes of tile
> generation.

Using multiple threads has a performance advantage when you have
multiple cores. Unfortunately it can also trigger bugs or highlight
configuration issues in software. It can be tricky to figure out exactly
where the problem is.

Are you using the pre-built win32 binaries from mapnik.org?

       Jon








--
John J. Mitchell

_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users