Export

<%= link_to "Download KML file", formatted_map_url(:id => @map,:format => :kml)%>, for use in GoogleEarth for example.
View KML in Google Maps.

<%= link_to "WMS URL Link", :controller=>"maps", :action=>"wms", :id =>@map%> <% wms_link = "http://#{request.host_with_port}/maps/wms/#{@map.id}?request=GetMap&version=1.1.1&styles=&format=image/png&srs=epsg:4326&exceptions=application/vnd.ogc.se_inimage&" %> <%= link_to("WMS link suitable for JOSM OpenStreetMap Editor", wms_link) %>

<%- if @map.downloadable? -%> <%= link_to 'Original File', @map.upload.url(:original) -%>
<%= link_to 'Download Warped (tif)', "http://#{request.host_with_port}/#{@map.public_warped_tif_url}" -%>
<%= link_to 'Download Warped (png)', "http://#{request.host_with_port}/#{@map.public_warped_png_url}" -%> <%= link_to "(associated aux.xml file)", "http://#{request.host_with_port}/#{@map.public_warped_png_url}.aux.xml" -%>
<%- end -%>