<div dir="ltr"><div><div><br></div>Thanks for posting - just tested this and it seems to work very nicely. <br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 23, 2016 at 10:20 AM, Kevin Grootendorst <span dir="ltr"><<a href="mailto:kgrootendorst@gmail.com" target="_blank">kgrootendorst@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hello list,<br></div>I wanted to share with you how I integrated a free Digital Globe API into GeoMoose.  For some, this may not be relevant or that complicated, however, I'm hoping it may help someone in our community.<br></div><br>First, sign up for your own free API key:  <a href="https://platform.digitalglobe.com/maps-api/#plans" target="_blank">https://platform.digitalglobe.<wbr>com/maps-api/#plans</a>.  The free api gives you 20,000 views of the imagery.<br><br></div>Second, incorporate the following map sources into your mapbook.xml file:<br><br>    <map-source name="DG_Sat" type="xyz"><br>        <layer name="Maps API Recent Imagery    DigitalGlobe, Inc." /><br>        <url><a href="http://api.tiles.mapbox.com/v4/digitalglobe.nal0g75k/$%7Bz%7D/$%7Bx%7D/$%7By%7D.png?access_token=YOUR" target="_blank">http://api.tiles.mapbox.<wbr>com/v4/digitalglobe.nal0g75k/$<wbr>{z}/${x}/${y}.png?access_<wbr>token=YOUR</a> API KEY</url><br>        <param name="FORMAT" value="png"/><br>        <param name="attribution" value="Copyright DigitalGlobe, Inc"/><br>    </map-source><br>    <br>    <map-source name="DG_Hybrid" type="xyz"><br>        <layer name="Maps API Recent Imagery with Streets    DigitalGlobe, Inc." /><br>        <url><a href="http://api.tiles.mapbox.com/v4/digitalglobe.nal0mpda/$%7Bz%7D/$%7Bx%7D/$%7By%7D.png?access_token=YOUR" target="_blank">http://api.tiles.mapbox.<wbr>com/v4/digitalglobe.nal0mpda/$<wbr>{z}/${x}/${y}.png?access_<wbr>token=YOUR</a> API KEY</url><br>        <param name="FORMAT" value="png"/><br>        <param name="attribution" value="Copyright DigitalGlobe, Inc"/><br>    </map-source>    <br><br></div><div>In the above examples replace 'YOUR API KEY' with the actual key code.<br><br></div><div>Third, add these to the <catalog> section in the mapbook.xml file:<br><br><layer title="DigitalGlobe Inc. Recent Imagery" src="DG_Sat/Maps API Recent Imagery    DigitalGlobe, Inc." show-legend="false" legend="false" fade="false" unfade="false"/><br> <br><layer title="DigitalGlobe Inc. Recent Imagery with Streets" src="DG_Hybrid/Maps API Recent Imagery with Streets    DigitalGlobe, Inc." show-legend="false" legend="false" fade="false" unfade="false"/><br></div><br></div>In these examples, I'm showing both the recent imagery and recent imagery with streets layers.  <br></div>You can also add a terrain map and streetmap vectors too.<br><br></div>Cheers,<br><br></div>Kevin<br><div><div><div><div><br></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a><br></blockquote></div><br></div>