maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [task #10039] Change graphical area specification


From: David Decotigny
Subject: [Maposmatic-dev] [task #10039] Change graphical area specification
Date: Tue, 05 Jan 2010 08:38:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6

URL:
  <http://savannah.nongnu.org/task/?10039>

                 Summary: Change graphical area specification
                 Project: MapOSMatic
            Submitted by: daviddecotigny
            Submitted on: Tue 05 Jan 2010 08:38:28 AM GMT
         Should Start On: Tue 05 Jan 2010 12:00:00 AM GMT
   Should be Finished on: Tue 05 Jan 2010 12:00:00 AM GMT
                Category: ocitysmap
                Priority: 2
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: daviddecotigny
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

In ocitysmap, specifying the graphic bounding box is done in a (too) subtle
way... eg. we can either specity a pixel area as a couple
(width_pixels,height_pixels), or a zoom factor as a string
"zoom:osm_zoom_level". See map_canvas.py/MapCanvas::__init__()

Suggestion: define a simple abstract class to perform the scaling
computations needed by MapCanvas, and 2 concrete classes: one for a specified
width/height in pixels, the other for a specified OSM zoom factor. Update
maposmaticd accordingly.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10039>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]