|
2 | 2 | title: Community |
3 | 3 | --- |
4 | 4 |
|
| 5 | +<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css"/> |
| 6 | +<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script> |
| 7 | +<style> |
| 8 | + #map { |
| 9 | + width: 650px; |
| 10 | + height: 300px; |
| 11 | + } |
| 12 | + .leaflet-marker-icon { |
| 13 | + background: transparent !important; |
| 14 | + box-shadow: none; |
| 15 | + } |
| 16 | +</style> |
| 17 | + |
5 | 18 | # Community |
6 | 19 |
|
| 20 | +## Live deployments map |
| 21 | +<div id="map"></div> |
| 22 | + |
| 23 | +Want to add your deployment? Add it to the [Live deployment wiki page](https://github.com/geopython/pygeoapi/wiki/LiveDeployments) (map is updated hourly). |
| 24 | + |
| 25 | +<script> |
| 26 | + const map = L.map('map', { |
| 27 | + attributionControl: false |
| 28 | + }).setView([20, 0], 1); |
| 29 | + |
| 30 | + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { |
| 31 | + attribution: '© OpenStreetMap contributors' |
| 32 | + }).addTo(map); |
| 33 | + |
| 34 | + const icon = L.icon({ |
| 35 | + iconUrl: 'marker.png', |
| 36 | + iconSize: [25, 41], |
| 37 | + iconAnchor: [12, 41], |
| 38 | + shadowUrl: null |
| 39 | + }); |
| 40 | + |
| 41 | + fetch('https://raw.githubusercontent.com/geopython/pygeoapi.io/gh-pages/community/live-deployments.geojson') |
| 42 | + .then(r => r.json()) |
| 43 | + .then(data => { |
| 44 | + const layer = L.geoJSON(data, { |
| 45 | + pointToLayer: (feature, latlng) => { |
| 46 | + return L.marker(latlng); |
| 47 | + }, |
| 48 | + onEachFeature: (feature, layer) => { |
| 49 | + layer.bindPopup( |
| 50 | + feature.properties.url |
| 51 | + ); |
| 52 | + } |
| 53 | + }).addTo(map); |
| 54 | + |
| 55 | + map.fitBounds(layer.getBounds()); |
| 56 | + }); |
| 57 | +</script> |
| 58 | + |
| 59 | + |
| 60 | +<div class="pygeoapi-powered"> |
| 61 | + <a href="https://www.ga.gov.au"><img alt="Geoscience Australia" src="/img/org-logos/aus-ga.png"/></a> |
| 62 | + <a href="https://ec.gc.ca"><img alt="Environment and Climate Change Canada" src="/img/org-logos/can-eccc.jpg"/></a> |
| 63 | + <a href="https://idee.es"><img alt="National Cartographic System of Spain" src="/img/org-logos/esp-idee.png"/></a> |
| 64 | + <a href="https://ign.es"><img alt="National Geographic Institute of Spain" src="/img/org-logos/esp-ign.png"/></a> |
| 65 | + <a href="https://www.bgs.ac.uk"><img alt="British Geological Survery" src="/img/org-logos/gbr-bgs.png" style="vertical-align: top";/></a> |
| 66 | + <a href="https://wmo.int/site/knowledge-hub/programmes-and-initiatives/global-atmosphere-watch-programme-gaw"><img alt="World Meteorological Organization, Global Atmospheric Watch" src="/img/org-logos/int-wmo-gaw.jpg" style="vertical-align: top;"/></a> |
| 67 | + <a href="https://wmo.int"><img alt="World Meteorological Organization" src="/img/org-logos/int-wmo.jpg" style="vertical-align: top;"/></a> |
| 68 | + <a href="https://www.dgterritorio.gov.pt"><img alt="Direção-Geral do Território (DGT)" src="/img/org-logos/prt-dgt.png" style="vertical-align: middle;"/></a> |
| 69 | + <a href="https://www.geoplatform.gov"><img alt="US Geoplatform.gov" src="/img/org-logos/usa-geoplatform.jpg" style="vertical-align: top;"/></a> |
| 70 | + <a href="https://internetofwater.org"><img alt="The Internet of Water Coalition" src="/img/org-logos/usa-iow.png" style="vertical-align: top;"/></a> |
| 71 | + <a href="https://usgs.gov"><img alt="United States Geological Survey" src="/img/org-logos/usa-usgs.jpg" style="vertical-align: top;"/></a> |
| 72 | +</div> |
| 73 | + |
7 | 74 | ## Code of Conduct |
8 | 75 |
|
9 | 76 | In support of an inclusive and welcoming community, the pygeoapi code of conduct can always be found at [https://github.com/geopython/pygeoapi/blob/master/CODE_OF_CONDUCT.md](https://github.com/geopython/pygeoapi/blob/master/CODE_OF_CONDUCT.md). |
10 | 77 |
|
11 | 78 | There are numerous ways to interact with the pygeoapi community. |
12 | 79 |
|
13 | | -## Mailing List |
| 80 | +## Mailing list |
14 | 81 |
|
15 | 82 | The pygeoapi mailing list enables users and developers to exchange ideas, discuss improvements / issues, and ask questions. To subscribe, visit [https://lists.osgeo.org/mailman/listinfo/pygeoapi](https://lists.osgeo.org/mailman/listinfo/pygeoapi). |
16 | 83 |
|
@@ -86,3 +153,33 @@ Users, developers and others are more than welcome! There are plenty of ways to |
86 | 153 | - Core development (bug fixing, feature implementation, etc.) |
87 | 154 |
|
88 | 155 | See [https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md](https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md) for more information on contributing. |
| 156 | + |
| 157 | + |
| 158 | +<script src="//code.jquery.com/jquery-4.0.0.min.js"></script> |
| 159 | +<script type="text/javascript"> |
| 160 | + function makeSimpleSlideshow(container) { |
| 161 | + container.addClass('slideshow').hide().slideDown('slow'); |
| 162 | + $('a', container).each(function() { |
| 163 | + $(this).attr('title', $('img', this).attr('alt')); |
| 164 | + }).clone().appendTo(container); |
| 165 | + var links = $('a', container).wrapAll('<div class=items></div>'); |
| 166 | + var items = $('div.items', container); |
| 167 | + var firstLink = $(links[0]); |
| 168 | + var lastLink = $(links[links.length / 2 - 1]); |
| 169 | + var pixels = lastLink.offset().left - firstLink.offset().left + lastLink.width(); |
| 170 | + |
| 171 | + function scroll() { |
| 172 | + items.animate({left: -pixels + 'px'}, pixels * 20, 'linear', function() { |
| 173 | + items.css('left', '0px'); |
| 174 | + scroll(); |
| 175 | + }); |
| 176 | + } |
| 177 | + scroll(); |
| 178 | + } |
| 179 | + |
| 180 | + $(document).ready(function() { |
| 181 | + var powered = $('div.pygeoapi-powered'); |
| 182 | + if (powered.length > 0) |
| 183 | + makeSimpleSlideshow(powered); |
| 184 | + }); |
| 185 | +</script> |
0 commit comments