taskMapOSMatic - Tasks: task #9998, Allow multiple instances of...

 
 

task #9998: Allow multiple instances of maposmaticd

Submitted by:  Pierre Mauduit <pmauduit>
Submitted on:  Mon 21 Dec 2009 09:36:19 AM UTC  
 
Should Start On: Mon 21 Dec 2009 12:00:00 AM UTCShould be Finished on: Mon 21 Dec 2009 12:00:00 AM UTC
Category: daemonPriority: 5 - Normal
Status: In ProgressPrivacy: Public
Percent Complete: 80%Assigned to: Maxime Petazzoni <mpetazzoni>
Open/Closed: OpenRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 04 Feb 2010 04:38:08 PM UTC, comment #4:

A prefix to the map_areas table can now be provided to OCitySMap. The standalone ocitysmap-render rendered uses 'ocitysmap_render_PID_'. The MapOSMatic daemon uses 'maposmaticd_PID_'.

This change is available in the daemon-rewrite branch we'll soon merge in.

One thing remains: get a token on the next job to render in an atomic manner.

Maxime Petazzoni <mpetazzoni>
Project AdministratorIn charge of this item.
Thu 21 Jan 2010 08:01:46 AM UTC, comment #3:

Note that comment #1 should already be implemented (config variable map_areas_table_name).

David Decotigny <daviddecotigny>
Project Administrator
Mon 11 Jan 2010 05:46:52 PM UTC, comment #2:

This is on my radar too, not only for multi-processor/core machines, but to generally //-ize the job handling and rendering part of the pipeline.

Maxime Petazzoni <mpetazzoni>
Project AdministratorIn charge of this item.
Mon 21 Dec 2009 09:59:43 AM UTC, comment #1:

Or use a temporary table, specific to each rendering process and destroyed at the end of the process.

David Mentré <dmentre>
Project Administrator
Mon 21 Dec 2009 09:36:19 AM UTC, original submission:

It would be interesting to allow multiple instances of maposmaticd, in order to generate several maps at the same time on the same machine. Currently, the DB structure used by ocitysmap does not seem to allow it :

maposmatic=# \d map_areas ;
Table « public.map_areas »
Colonne | Type | Modificateurs
---------+----------+---------------
x | integer |
y | integer |
geom | geometry |

Perhaps would we have to add a osmid column

Pierre Mauduit <pmauduit>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by daviddecotigny (Posted a comment)
  • -unavailable- added by mpetazzoni (Posted a comment)
  • -unavailable- added by dmentre (Posted a comment)
  • -unavailable- added by pmauduit (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Feb 2010 04:38:08 PM UTCmpetazzoniStatusNone=>In Progress
      Percent Complete0%=>80%
    Mon 11 Jan 2010 05:46:52 PM UTCmpetazzoniCategoryNone=>daemon
      Assigned toNone=>mpetazzoni
      SummaryAllow multiple instances of maposmaticd (multi-processor machines)=>Allow multiple instances of maposmaticd

    Back to the top


    Powered by Savane 3.1-cleanup1