<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-left: 4px; margin-right: 4px; line-height: normal; margin-bottom: 1px; margin-top: 4px; font-variant: normal }
        p { margin-bottom: 0; margin-top: 0 }
      -->
    </style>
    
  </head>
  <body style="margin-left: 4px; margin-right: 4px; margin-bottom: 1px; margin-top: 4px">
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">Hmm&#44;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">some to think about here&#44; what about a generic link to the tile&#44; that could possibly be expanded to run a external service &#40;for easier&#41; integration &nbsp;. . . for any format of return&#44; not just XML.</font>    </p>
<br>      <br>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      &gt;&gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>    </p>
    <div style="margin-left: 15px; margin-right: 0; padding-left: 7px; margin-bottom: 0; margin-top: 0; background-color: #f3f3f3; border-left: solid 1px #050505">
      <p style="margin-top: 0; margin-bottom: 0">
        Bob&#44;<br><br>&#160;&#160;&nbsp;I agree.&#160;&nbsp;The code below does in fact add an icon to the layer entry in the<br>Catalog&#44; and it does pass the layer path to the downloaddata.php script<br>indicated in the service.&#160;&nbsp;But GM&#40;/OpenLayers&#63;&#41; doesn&#39;t interpret the<br>server-sent Content headers to allow the download.&#160;&nbsp;Not a huge issue&#44; you could<br>have the downloaddata.php generate XML with a download link similar to the<br>existing print.php.&#160;&nbsp;It just means the user would have to do two mouse clicks<br>&#40;one on the layer&#39;s download icon&#44; and one on the resulting download link in the<br>Information tab.&#160;&nbsp;Still very useful.<br><br>Brent<br><br>Bob Basques wrote:<br>&gt;<br>&gt;<br>&gt; All&#44;<br>&gt;<br>&gt;<br>&gt; I think that adding an Icon to the layer might be better for this&#44; you<br>&gt; could even add different icons for different formats.&#160;&nbsp;Also I think that<br>&gt; direct linking to the title should be reserved for things like metadata<br>&gt; and such&#44; but that&#39;s just my opinion.<br>&gt;<br>&gt;<br>&gt; bobb<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt; &gt;&gt; Brent Fraser &lt;bfraser@geoanalytic.com&gt; wrote:<br>&gt;<br>&gt; I had experimented with adding:<br>&gt;<br>&gt; &lt;service name&#61;&quot;download&quot;&#160;&nbsp;display&#61;&quot;true&quot;&gt;<br>&gt;&#160;&#160;&#160;&nbsp;&lt;url&gt;php/downloaddata.php&lt;/url&gt;<br>&gt;&#160;&#160;&#160;&#160;&#160;&nbsp;&lt;step type&#61;&quot;input&quot;&gt;<br>&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&nbsp;&lt;input type&#61;&quot;hidden&quot; name&#61;&quot;layer&quot;/&gt;<br>&gt;&#160;&#160;&#160;&#160;&#160;&nbsp;&lt;/step&gt;<br>&gt; &lt;/service&gt;<br>&gt;<br>&gt; and<br>&gt;<br>&gt; &lt;layer-controls&gt;<br>&gt;&#160;&#160;&#160;&nbsp;&lt;layer-control name&#61;&quot;download&quot; service-name&#61;&quot;download&quot;<br>&gt; layer-input&#61;&quot;layer&quot;<br>&gt; on&#61;&quot;true&quot; tip&#61;&quot;Download data for &#37;LAYER&#37;&quot;/&gt;<br>&gt; &lt;/layer-controls&gt;<br>&gt;<br>&gt; but GeoMOOSE expects only a limited set of data types &#40;XML&#44; text&#44; etc&#41; to be<br>&gt; returned from the server.&#160;&nbsp;We&#39;d have to enhanced it to allow other actions<br>&gt; &#40;based on the &quot;Content-Disposition&quot; header&#63;&#41; for the download to work.<br>&gt;<br>&gt; For now the easiest solution is to use the metadata page approach as Len<br>&gt; suggested...<br>&gt;<br>&gt; Best Regards&#44;<br>&gt; Brent Fraser<br>&gt;<br>&gt;<br>&gt; Dieter Lehmann wrote:<br>&gt;&gt;&#160;&nbsp;Hi all&#44;<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;thanks for the label answer - I hoped&#44; that it could be done without<br>&gt; separating labels and features&#44; but that&#39;s o.k.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;Another question:<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;What would be the easiest way to make an link within the catalog tab<br>&gt; to provide a link to download the data &#40;I would make them available as a<br>&gt; zip file.&#41;<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;I would like to crate a new icon for download.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&#160;&nbsp;Thanks&#44;<br>&gt;&gt;&#160;&nbsp;Dieter<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt;&gt;&#160;&nbsp;ThinkGeek and WIRED&#39;s GeekDad team up for the Ultimate<br>&gt;&gt;&#160;&nbsp;GeekDad Father&#39;s Day Giveaway. ONE MASSIVE PRIZE to the<br>&gt;&gt;&#160;&nbsp;lucky parental unit.&#160;&nbsp;See the prize list and enter to win:<br>&gt;&gt;&#160;&nbsp;<a href="http://p.sf.net/sfu/thinkgeek">http://p.sf.net/sfu/thinkgeek</a>-promo<br>&gt;&gt;&#160;&nbsp;_______________________________________________<br>&gt;&gt;&#160;&nbsp;Geomoose-users mailing list<br>&gt;&gt;&#160;&nbsp;Geomoose-users@lists.sourceforge.net<br>&gt;&gt;&#160;&nbsp;<a href="https://lists.sourceforge.net/lists/listinfo/geomoose">https://lists.sourceforge.net/lists/listinfo/geomoose</a>-users<br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; ThinkGeek and WIRED&#39;s GeekDad team up for the Ultimate<br>&gt; GeekDad Father&#39;s Day Giveaway. ONE MASSIVE PRIZE to the<br>&gt; lucky parental unit.&#160;&nbsp;See the prize list and enter to win:<br>&gt; <a href="http://p.sf.net/sfu/thinkgeek">http://p.sf.net/sfu/thinkgeek</a>-promo<br>&gt; _______________________________________________<br>&gt; Geomoose-users mailing list<br>&gt; Geomoose-users@lists.sourceforge.net<br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/geomoose">https://lists.sourceforge.net/lists/listinfo/geomoose</a>-users<br>&gt;<br><br>
      </p>
    </div>
  </body>
</html>