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