| 29 | |
| 30 | == Layers == |
| 31 | === Internal Feature Layers === |
| 32 | http://127.0.0.1:8000/eden/gis/layer_feature |
| 33 | |
| 34 | * Feature Layers are used to view data from the Sahana database as Layers on the Map & Feeds for export/view by other systems |
| 35 | |
| 36 | ==== Feeds ==== |
| 37 | * http://test.sahanafoundation.org/eden/gis/location?location.lat__gt=33&location.lat__lt=35&location.lon_gt=70.5&location.lon__lt=72.5 |
| 38 | * all locations +/- 1 degree from Peshawar |
| 39 | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.postcode__like=7%,8%,9% |
| 40 | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.postcode__unlike=7% |
| 41 | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.available_beds__gt=10 |
| 42 | * http://test.sahanafoundation.org/eden/hms/hospital?services.burn=True |
| 43 | * http://test.sahanafoundation.org/eden/pr/person?identity.value__like=%XY% |
| 44 | * http://test.sahanafoundation.org/eden/pr/person?address.location_id=1,3,65,2 |
| 45 | * http://test.sahanafoundation.org/eden/pr/person?address.location_id__ne=1,3,65,2 |
| 46 | * http://test.sahanafoundation.org/eden/pr/person?presence.presence_condition=99&presence.closed=False |
| 47 | * http://test.sahanafoundation.org/eden/gis/location?parent_=Pakistan (all Locations whose direct parent is 'Pakistan') |
| 48 | * http://127.0.0.1:8000/eden/gis/location.kml?marker=Water_Supply_Infrastructure_Theme_S1 (use the file {{{gis_marker.image.Water_Supply_Infrastructure_Theme_S1.png}}} as the marker ) |
| 49 | |
| 50 | === External Layers === |
| 51 | http://127.0.0.1:8000/eden/gis/catalog |
| 52 | |
| 53 | * Exernal Layers, such as WMS & WFS, from GIS can be added through the Catalog |
| 54 | * A WMS server's entire set of layers can also be added through the config's 'Web Map Service Browser URL', although then there s no control of eachlayer's name, folder or other settings |
| 55 | |
113 | | |
114 | | == Feeds == |
115 | | * http://test.sahanafoundation.org/eden/gis/location?location.lat__gt=33&location.lat__lt=35&location.lon_gt=70.5&location.lon__lt=72.5 |
116 | | * all locations +/- 1 degree from Peshawar |
117 | | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.postcode__like=7%,8%,9% |
118 | | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.postcode__unlike=7% |
119 | | * http://test.sahanafoundation.org/eden/hms/hospital?hospital.available_beds__gt=10 |
120 | | * http://test.sahanafoundation.org/eden/hms/hospital?services.burn=True |
121 | | * http://test.sahanafoundation.org/eden/pr/person?identity.value__like=%XY% |
122 | | * http://test.sahanafoundation.org/eden/pr/person?address.location_id=1,3,65,2 |
123 | | * http://test.sahanafoundation.org/eden/pr/person?address.location_id__ne=1,3,65,2 |
124 | | * http://test.sahanafoundation.org/eden/pr/person?presence.presence_condition=99&presence.closed=False |
125 | | * http://test.sahanafoundation.org/eden/gis/location?parent_=Pakistan (all Locations whose direct parent is 'Pakistan') |
126 | | * http://127.0.0.1:8000/eden/gis/location.kml?marker=Water_Supply_Infrastructure_Theme_S1 (use the file {{{gis_marker.image.Water_Supply_Infrastructure_Theme_S1.png}}} as the marker ) |
127 | | |
128 | | == Data == |
129 | | * [wiki:GIS/Data GIS/Data] |