TerriaJS / de-australia-map

Digital Earth Australia platform developed for publishing Satellite Imagery processed by Geoscience Australia (GA) and National Computational Infrastructure (NCI)
http://de-australia.terria.io/
2 stars 1 forks source link

DE Australia - Oct 21 release #108

Closed AnaBelgun closed 2 years ago

AnaBelgun commented 3 years ago
na9da commented 3 years ago

@steve9164 after deploy, please replace "DEA Waterbodies" wms item with the following json:

{
                                    "type": "wms",
                                    "name": "DEA Waterbodies",
                                    "url": "https://hotspots.dea.ga.gov.au/geoserver/public/wms",
                                    "chartDisclaimer": "Digital Earth Australia Waterbodies shows the wet surface area of waterbodies as estimated from satellites. It does not show depth, volume, purpose of the waterbody, nor the source of the water. <br> For more detailed information see <a href='https://www.ga.gov.au/dea/products/dea-waterbodies'>https://www.ga.gov.au/dea/products/dea-waterbodies</a>",
                                    "layers": "DigitalEarthAustraliaWaterbodies",
                                    "featureInfoTemplate": {
                                        "template": "<div style='width:600px'><h3>Waterbody Identifier: {{uid}}<br /> Percentage of surface area (not volume) observed as wet</h3><br/><chart id='{{uid}}' title='Waterbody {{uid}}' chart-type='lineAndPoint' preview-x-label='Date' sources='{{#terria.urlEncode}}{{timeseries}}{{/terria.urlEncode}}'  column-names='Time,Percentage of total surface area (not volume) observed as wet,Wet Pixel Count' column-units='Date of satellite observation,%,#'></chart>{{>disclaimer}}</div>",
                                        "partials": {
                                            "disclaimer": "This graph shows the wet surface area of waterbodies as estimated from satellites. It does not show depth, volume, purpose of the waterbody, nor the source of the water. <br> For more detailed information see https://www.ga.gov.au/dea/products/dea-waterbodies."
                                        }
                                    },
                                    "id": "DGGjbr",
                                    "shareKeys": [
                                        "Root Group/Surface Water/Digital Earth Australia Waterbodies/Digital Earth Australia Waterbodies"
                                    ]
                                }

Changed the <chart> component by specificying chart-type as lineAndPoint to show dots on the chart.