Latest recipes tagged "gis"http://code.activestate.com/recipes/tags/gis/new/2015-01-11T10:53:38-08:00ActiveState Code RecipesQGIS startup script: Change display of coordinates (Python)
2015-01-11T10:53:38-08:00redoutehttp://code.activestate.com/recipes/users/4188210/http://code.activestate.com/recipes/578692-qgis-startup-script-change-display-of-coordinates/
<p style="color: grey">
Python
recipe 578692
by <a href="/recipes/users/4188210/">redoute</a>
(<a href="/recipes/tags/coordinates/">coordinates</a>, <a href="/recipes/tags/gis/">gis</a>, <a href="/recipes/tags/qgis/">qgis</a>, <a href="/recipes/tags/startup/">startup</a>).
</p>
<p>This script for QGIS version 2 replaces the default statusbar coordinate display with a configurable widget. Save the script as .qgis2/python/startup.py. Click the statusbar widget left of the coordinates, initially labelled 'EPSG:4326', to select the demanded CRS. Delete startup.py to deinstall.</p>
Use 'Google Maps Elevation Service' to get elevation data for any location on Earth. (Python)
2012-08-12T20:47:29-07:00Aristotelis Stamatiadishttp://code.activestate.com/recipes/users/4183191/http://code.activestate.com/recipes/578239-use-google-maps-elevation-service-to-get-elevation/
<p style="color: grey">
Python
recipe 578239
by <a href="/recipes/users/4183191/">Aristotelis Stamatiadis</a>
(<a href="/recipes/tags/elevation/">elevation</a>, <a href="/recipes/tags/gis/">gis</a>, <a href="/recipes/tags/google_maps/">google_maps</a>).
</p>
<p>The Google Maps Elevation Service provides a simple interface for getting elevation data for any location on Earth, including locations under the sea (where the elevation is negative). </p>
<p>The following function is based on the examples presented in the Elevation API web page: <code><a href="https://developers.google.com/maps/documentation/elevation/%3C/code%3E." rel="nofollow">https://developers.google.com/maps/documentation/elevation/</code>.</a></p>
<p>Before using the Elevation Service you must read the rather strict usage limits set by Google in the above web page, especially the term that stipulates that "the Elevation API may only be used in conjunction with displaying results on a Google map; using elevation data without displaying a map for which elevation data was requested is prohibited."</p>