<div>Jean-Guilhem,</div><div> </div><div>It sounds like there could be a lot of demand for the ability to generate these map booklets. </div><div> </div><div><font color="#ff6600"><strong>Thomas</strong></font> - are there any updates on this effort from the MapOSMatic side of things? </div>

<div> </div><div>I am working with a group of designers on the disaster prepardness project so we can definitely contribute design resources. </div><div> </div><div>-Samuel<br><br><br></div><div class="gmail_quote">On Tue, Jun 7, 2011 at 3:08 AM, Jean-Guilhem Cailton <span dir="ltr"><<a href="mailto:jgc@arkemie.com">jgc@arkemie.com</a>></span> wrote:<br>

<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">

  
    
    
  
  <div bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    After the recent flood in Haut-Richelieu, Québec, and the request to
    use MapOSMatic in this context, it happens that I met Thomas, one of
    the developers of MapOSMatic.<br>
    <br>
    When I had asked about this functionality of map booklet, he had
    told me that they had started working on this (or on features that
    would make this easier, I don't remember exactly) during the
    Hackfest last August.<br>
    <br>
    Maybe coordinating efforts on this would be the best way to move
    forward?<br>
    <br>
    <br>
    By the way, he also told me that he had sent an email reply, that
    apparently was moderated on lists he is not a member of, and that I
    have not seen. He explained that there was still a lag in the
    database updates (after the MapOSMatic database had been down). <br>
    About the mapping of a specific area defined by a relation (not
    necessarily a city), it might be not be too far from what is done
    with administrative boundary ways, but would require a mean to
    transmit or specify the desired area.<br>
    <br>
    <br>
    Anyway Samuel, I invite you to have a look at
    <a href="http://www.maposmatic.org" target="_blank">http://www.maposmatic.org</a> if you have not already (there seems to be
    a problem at the moment with a job over Berlin, hopefully not for
    long).<br>
    <br>
    Best regards,<br>
    <br>
    Jean-Guilhem<br>
    <br>
    <br>
    Le 07/06/2011 08:51, Samuel Mandell a écrit :
    <div><div></div><div class="h5"><blockquote type="cite">
      <div>Essentially what I'm looking for is the ability to produce a
        Thomas-Guide style maps book where a city is broken into
        printable pages (e.g. A6) and at the back would be an index of
        streets with corresponding page and x/y axis information. </div>
      <div><br>
      </div>
      <div>As mentioned before it would be ideal if this could be
        automated so that all it would need is a city and it would
        produce the pages. Anybody interested in helping create such a
        system? </div>
      <div><br>
      </div>
      <div>-Samuel</div>
      <div><br>
      </div>
      <div>
        <div>
          <div class="gmail_quote">On Mon, Jun 6, 2011 at 4:10 PM, Dane
            Springmeyer <span dir="ltr"><<a href="mailto:dane@dbsgeo.com" target="_blank">dane@dbsgeo.com</a>></span>
            wrote:<br>
            <blockquote style="margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
              <div style="word-wrap: break-word;">Samuel,
                <div><br>
                </div>
                <div>It seems to me like rendering the actual pages
                  would be easier (than actually rendering a large
                  image, then chopping). This should also give better
                  results because the scales of things like text and
                  lines would look better.</div>
                <div><br>
                </div>
                <div>So, the way I would approach this would be to
                  determine the size and extents of each map for each
                  page (ideally automatically). Then render each one
                  with Mapnik. So, your ingredients would be a width and
                  height in pixels, and bounding box for each page. Then
                  write a python script to loop over every page and
                  render a map using an OSM stylesheet.</div>
                <div><br>
                </div>
                <div>If you don't have python scripts skills then we can
                  think of alternatives, but that would be my first
                  recommendation. Mike Migurski, also author of safety
                  maps, has done this with Mapnik for printed bike maps
                  of SF, so he could likely advise.</div>
                <div><br>
                  <div>
                    <div>
                      <div>On Jun 6, 2011, at 3:03 PM, Mikel Maron
                        wrote:</div>
                      <br>
                      <blockquote type="cite"><span style="text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; border-collapse: separate;">
                          <div>
                            <div style="margin: 0px; font-family: "times new roman","new york",times,serif; font-size: 12pt;">Folks, what did we have
                              in place to produce map books?<br>
                              <br>
                            </div>
                          </div>
                        </span></blockquote>
                      <div><br>
                      </div>
                    </div>
                    <div>Making mapbooks easier to script, via python,
                      with Mapnik has long been a goal of mine. </div>
                    <div><br>
                    </div>
                    <div>But I've not really gotten past proof of
                      concept. One usecase is making a map of every
                      "feature" in a dataset that meets some criteria. I
                      wrote a script a while ago that demonstrates how
                      to do that with mapnik by querying all countries
                      over a given population and them rendering a map
                      for each, while painting a special outline over
                      their border. Code is here: <a href="http://mapnik-utils.googlecode.com/svn/example_code/map_sequences/" target="_blank">http://mapnik-utils.googlecode.com/svn/example_code/map_sequences/</a>
                      and an animated gif to demonstrate what is done is
                      here:</div>
                    <div><br>
                    </div>
                    <div><a href="http://dbsgeo.com/tmp/mapnik_animated.gif" target="_blank">http://dbsgeo.com/tmp/mapnik_animated.gif</a></div>
                    <div><br>
                      <blockquote type="cite">
                        <div>
                          <div style="margin: 0px; font-family: "times new roman","new york",times,serif; font-size: 12pt;">
                            Can Mapsomatic easily be modified for
                            different formats/scales?<br>
                          </div>
                        </div>
                      </blockquote>
                      <div><br>
                      </div>
                    </div>
                    It can be done but I've found that hacking around in
                    MapOsMatic requires a lot of patience and pretty
                    high python/cairo skill level.</div>
                  <div><br>
                  </div>
                  <div>
                    <div>
                      <blockquote type="cite"><span style="text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; border-collapse: separate;">
                          <div>
                            <div style="margin: 0px; font-family: "times new roman","new york",times,serif; font-size: 12pt;"><br>
                              <span><a href="http://www.safety-maps.org/" target="_blank">http://www.safety-maps.org/</a><span> </span>was
                                a recent project to do something
                                similar. I know the developers would be
                                interested to hear more ideas how to
                                make it useful.</span><br>
                            </div>
                          </div>
                        </span></blockquote>
                      <div><br>
                      </div>
                    </div>
                    safety-maps are awesome.</div>
                  <div>
                    <div>
                      <div><br>
                        <blockquote type="cite"><span style="text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; border-collapse: separate;">
                            <div>
                              <div style="margin: 0px; font-family: "times new roman","new york",times,serif; font-size: 12pt;">
                                <div style="margin: 0px;">
                                   </div>
                                == Mikel Maron ==<br>
                                <a href="tel:%2B14152835207" target="_blank" value="+14152835207">+14152835207</a>
                                @mikel s:mikelmaron
                                <div style="margin: 0px;"><br>
                                </div>
                                <div style="margin: 0px; font-family: "times new roman","new york",times,serif; font-size: 12pt;">
                                  <br>
                                  <div style="margin: 0px; font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font size="2" face="Tahoma">-----
                                      Forwarded Message ----<br>
                                      <b><span style="font-weight: bold;">From:</span></b><span> </span>Richard
                                      Weait <<a href="mailto:richard@weait.com" target="_blank">richard@weait.com</a>><br>
                                      <b><span style="font-weight: bold;">To:</span></b><span> </span>Samuel
                                      Mandell <<a href="mailto:shmandell@gmail.com" target="_blank">shmandell@gmail.com</a>><br>
                                      <b><span style="font-weight: bold;">Cc:</span></b><span> </span><a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
                                      <b><span style="font-weight: bold;">Sent:</span></b><span> </span>Mon,
                                      June 6, 2011 4:16:08 PM<br>
                                      <b><span style="font-weight: bold;">Subject:</span></b><span> </span>Re:
                                      [OSM-talk] Disaster Preparedness
                                      Project<br>
                                    </font><br>
                                    On Fri, Jun 3, 2011 at 8:12 PM,
                                    Samuel Mandell <<a href="mailto:shmandell@gmail.com" target="_blank">shmandell@gmail.com</a>>
                                    wrote:<br>
                                    > I'm designing a project whose
                                    goal is to prepare folks in my
                                    community for<br>
                                    > disasters. An essential part of
                                    any disaster kit are maps of the
                                    local area<br>
                                    > so that when electricity has
                                    gone out people can still navigate
                                    to specific<br>
                                    > areas of the city
                                    (for instance to get supplies or
                                    medical help).<br>
                                    > OpenStreetMap has comprehensive
                                    map data for my area (the San
                                    Francisco Bay<br>
                                    > Area) and I'd like to use the
                                    mapping data to create maps for the
                                    various<br>
                                    > cities to hand-out to
                                    residents. Since I'd need detailed
                                    (1:4800) of an<br>
                                    > entire city I haven't been able
                                    to use the export tool since it
                                    seems to<br>
                                    > have some built in limits to
                                    how large of an image it will
                                    generate (which<br>
                                    > makes sense). For Mountain
                                    View, CA the image size we'd want to
                                    generate is<br>
                                    > around 9409 x 11310 with a
                                    1:4800 scale, in other words, very
                                    large. We<br>
                                    > would then cut this into
                                    smaller squares and print it out in
                                    a booklet with<br>
                                    > attribution to OpenStreetMap
                                    for the data and visuals.<br>
                                    > What's the best way for us to
                                    generate these detailed maps of the
                                    various<br>
                                    > cities?<br>
                                    <br>
                                    Well that sounds awesome.<br>
                                    <br>
                                    You might try downloading an extract
                                    of OSM data for that area.  You<br>
                                    should be able to find an extract
                                    that deals with California, or the<br>
                                    US West.  That way you don't have to
                                    deal with an entire planet full<br>
                                    of data.  Then use Mapnik or one of
                                    the other rendering tools to<br>
                                    generate your map.  You'll likely
                                    want to adjust the style sheet to<br>
                                    make it just right for emergency
                                    awareness.<br>
                                    <br>
                                    There is a company in SF area
                                    experienced in printing high
                                    resolution<br>
                                    maps from OSM data. Perhaps they'll
                                    do it for you for free since it is<br>
                                    such a worthy project?<br>
                                    <br>
_______________________________________________<br>
                                    talk mailing list<br>
                                    <a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
                                    <span><a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a></span><br>
                                  </div>
                                </div>
                              </div>
_______________________________________________<br>
                              HOT mailing list<br>
                              <a href="mailto:HOT@openstreetmap.org" target="_blank">HOT@openstreetmap.org</a><br>
                              <a href="http://lists.openstreetmap.org/listinfo/hot" target="_blank">http://lists.openstreetmap.org/listinfo/hot</a><br>
                            </div>
                          </span></blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
talk mailing list
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a>
</pre>
    </blockquote>
    <br>
    <br>
    </div></div><pre cols="72">-- 
pgp 0x5939EAE2
</pre>
  </div>

</blockquote></div><br>