1 <% form_tag :action => "finish" do %>
3 <p class="export_heading">Area to Export</p>
5 <div class="export_bounds">
6 <%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
8 <%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
9 <%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
11 <%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
12 <p class="export_hint">
13 <a id='drag_box' href="#" onclick="return startBox();">Manually select a different area</a>
17 <p class="export_heading">Format to Export</p>
19 <div class="export_details">
21 <%= radio_button_tag("format", "osm") %>OpenStreetMap XML Data
23 <%= radio_button_tag("format", "mapnik") %>Mapnik Image
25 <%= radio_button_tag("format", "osmarender") %>Osmarender Image
30 <p class="export_heading">Licence</p>
32 <div class="export_details">
33 <p>OpenStreetMap data is licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike 2.0 license</a>.</p>
37 <div id="export_mapnik">
38 <p class="export_heading">Options</p>
40 <div class="export_details">
41 <p>Format <%= select_tag("mapnik_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"], ["SVG", "svg"], ["PDF", "pdf"], ["Postscript", "ps"]], "png")) %></p>
42 <p>Scale 1 : <%= text_field_tag("mapnik_scale", nil, :size => 8) %> <span class="export_hint">(max 1 : <span id="mapnik_max_scale"></span>)</span></p>
43 <p>Image Size <span id="mapnik_image_width"></span> x <span id="mapnik_image_height"></span></p>
47 <div id="export_osmarender">
48 <p class="export_heading">Options</p>
50 <div class="export_details">
51 <p>Format <%= select_tag("osmarender_format", options_for_select([["PNG", "png"], ["JPEG", "jpeg"]], "png")) %></p>
52 <p>Zoom <%= select_tag("osmarender_zoom", options_for_select([4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17])) %></p>
56 <div class="export_buttons">
57 <p><%= submit_tag "Export", :id => "export_commit" %></p>