| 1 | [[TOC]] |
| 2 | = Aerial Imagery = |
| 3 | |
| 4 | Aerial Imagery (includign Satellite) can be used as a base layer in Sahana. |
| 5 | |
| 6 | The easiest services to use are Google and Bing as they don't require you to host anything yourself. |
| 7 | |
| 8 | == Google == |
| 9 | This is the easiest to use as it doesn't require the use of an API key. |
| 10 | |
| 11 | There are Satellite & Hybrid layers avaialble, as well as the !MapMaker Hybrid and also a 3D Google Earth plugin. |
| 12 | * these latter require an API Key: {{{settings.gis.api_google = ""}}} [!ToDo: Test these out with current Google APIs] |
| 13 | |
| 14 | == Bing == |
| 15 | You need to add the [http://www.microsoft.com/maps/create-a-bing-maps-key.aspx API Key] to your {{{models/000_config.py}}}: |
| 16 | {{{ |
| 17 | settings.gis.api_bing = "" |
| 18 | }}} |
| 19 | |
| 20 | You can check the coverage of Bing Imagery in the area that you're interested in here: |
| 21 | * http://wiki.openstreetmap.org/wiki/Bing/Coverage |
| 22 | |
| 23 | == !OpenAerialMap == |
| 24 | This project is trying to restart as it now has some funding to do so: |
| 25 | * http://wiki.openstreetmap.org/wiki/OpenAerialMap |
| 26 | |
| 27 | == Custom == |
| 28 | If you have your own imagery then you can provide tiles to Sahana as either TMS or XYZ. WMTS support would be easy to add if-required. |
| 29 | |
| 30 | Tiles could be built / served by loading one or more GeoTIFFs into !GeoServer and serve as WMS or TMS with !GeoWebCache: |
| 31 | * http://docs.geoserver.org/stable/en/user/webadmin/tilecache/defaults.html#gwc-provided-services |
| 32 | |
| 33 | A similar workflow could be done with !MapServer. |
| 34 | |
| 35 | For small areas (e.g. a single munipality) then you could use GDAL to build the tiles & simply serve them via a Web server. However this requires you to generate *all* tiles at once and doesn't support single-colour tiles (e.g. for Oceans which don't nee complexity and so can take advantage of server-optimisations). |
| 36 | |
| 37 | |