Comments (8)
Hi all, I just wanted to check if you had a lead on what the issue is here? Just wondering if I should reach out to the the team that helped us put the Geoserver together, or whether it seems like a Terria-side issue.
from de-australia-map.
(Just want to get everything ready to so Coastlines works nicely with the new version of Terria)
from de-australia-map.
Hi Robbi @robbibt - nested WMS grouping is resolved, trying the coastlines on http://de-australia.dev.saas.terria.io/
will load the layer as it does on terria-cube (v7/master) - just without the legend, which is still WIP in the latest development build of terria.
from de-australia-map.
@soyarsauce Ah yep, the WMS does seem to load on the new Terria
A related question: do Terria configs need to be updated for the new version? I have a config that loads perfectly in the current DEA Maps:
However if I upload it to the new Terria, none of the layers or folders load:
Config:
{
"catalog": [
{
"name": "Digital Earth Australia Coastlines",
"type": "group",
"preserveOrder": true,
"items": [
{
"type": "wms",
"name": "Digital Earth Australia Coastlines (beta)",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"opacity": "1.0",
"layers": "dea:DEACoastLines",
"shortReport": "<i>Zoom in to view detailed rates of coastal change and individual annual coastlines</i>",
"legendUrl": "https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_legend 1.png",
"zoomOnEnable": true,
"chartDisclaimer": "The graph below shows the distance (in metres) from each 1988-2018 coastline relative to the 2019 baseline. Negative distances below indicate coastlines that were located inland of the 2019 coastline, while positive values indicate coastlines located towards the ocean.",
"featureInfoTemplate": {
"template": "<div style='width:480px'>{{#n}}<h3 style='font-weight:normal'>Digital Earth Australia Coastlines</h3>Zoom in until labelled points appear and click on any point to view a <b>time series chart of how an area of coastline has changed over time</b> (press 'Expand' on the pop-up for more detail):</br></br><img src='https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_DEAMaps_1.gif' alt='Clicking on points'></br></br>Zoom in further to view individual annual coastlines:</br></br><img src='https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_DEAMaps_2.gif' alt='Zooming to coastlines'>{{/n}}{{#sce}}<h2 style='font-weight:normal'>This coastline has <b>{{#retreat}}retreated{{/retreat}}{{#growth}}grown{{/growth}}</b> by</br> <b>{{#terria.formatNumber}}{maximumFractionDigits:1}{{rate_time}}{{/terria.formatNumber}} metres (±{{#terria.formatNumber}}{maximumFractionDigits:1}{{conf_time}}{{/terria.formatNumber}}) per year</b></br>on average since <b>1988</b></h2>The coastline at this location was <b>most seaward in {{max_year}}</b>, and <b>most landward in {{min_year}}</b>{{#outl_time}} (excluding outlier years; see below){{/outl_time}}. Since 1988, the coastline has moved over a total distance of approximately <b>{{#terria.formatNumber}}{maximumFractionDigits:0}{{sce}}{{/terria.formatNumber}} metres.</b></br></br><chart title='DEA Coastlines ({{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.latitude}}{{/terria.formatNumber}}, {{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.longitude}}{{/terria.formatNumber}})' y-column='Distance (metres) relative to 2019 coastline' x-column='Year' column-units='{{terria.timeSeries.units}}' preview-x-label='Year'>Year,Distance (metres) relative to 2019 coastline\n1988,{{dist_1988}}\n1989,{{dist_1989}}\n1990,{{dist_1990}}\n1991,{{dist_1991}}\n1992,{{dist_1992}}\n1993,{{dist_1993}}\n1994,{{dist_1994}}\n1995,{{dist_1995}}\n1996,{{dist_1996}}\n1997,{{dist_1997}}\n1998,{{dist_1998}}\n1999,{{dist_1999}}\n2000,{{dist_2000}}\n2001,{{dist_2001}}\n2002,{{dist_2002}}\n2003,{{dist_2003}}\n2004,{{dist_2004}}\n2005,{{dist_2005}}\n2006,{{dist_2006}}\n2007,{{dist_2007}}\n2008,{{dist_2008}}\n2009,{{dist_2009}}\n2010,{{dist_2010}}\n2011,{{dist_2011}}\n2012,{{dist_2012}}\n2013,{{dist_2013}}\n2014,{{dist_2014}}\n2015,{{dist_2015}}\n2016,{{dist_2016}}\n2017,{{dist_2017}}\n2018,{{dist_2018}}\n2019,{{dist_2019}}</chart>{{#outl_time}}The following years were identified as potential outliers, and should be interpreted with caution:</br></br><b>{{outl_time}}</b>{{/outl_time}}{{/sce}}{{#year}}<h2 style='font-weight:normal'>{{year}} annual coastline</h2><h3 style='font-weight:normal'>Certainty: {{certainty}}</h3>Annual coastlines represent the typical (i.e. median) position of the shoreline at approximately mean sea level (~0 m AHD) across the entire year period.</br></br>{{/year}}</div>"
}
},
{
"name": "Supplementary layers",
"type": "group",
"preserveOrder": true,
"items": [
{
"type": "wms",
"name": "Annual coastlines",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"opacity": "1.0",
"layers": "dea:AnnualCoastlines",
"shortReport": "<i>Zoom in to view individual annual coastlines from 1988 to the present</i>",
"legendUrl": "https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_legend 1.png",
"featureInfoTemplate": {
"template": "<div style='width:480px'><h2 style='font-weight:normal'>{{year}} annual coastline</h2><h3 style='font-weight:normal'>Certainty: {{certainty}}</h3>Annual coastlines represent the typical (i.e. median) position of the shoreline at approximately mean sea level (~0 m AHD) across the entire year period.</br></br></div>"
}
},
{
"type": "wms",
"name": "Rates of change statistics",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"opacity": "1.0",
"layers": "dea:RateOfChangeStatistics",
"shortReport": "<i>Zoom in to view detailed rates of coastal change along the Australian coastline</i>",
"legendUrl": "https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_legend 1.png",
"chartDisclaimer": "The graph below shows the distance (in metres) from each 1988-2018 coastline relative to the 2019 baseline. Negative distances below indicate coastlines that were located inland of the 2019 coastline, while positive values indicate coastlines located towards the ocean.",
"featureInfoTemplate": {
"template": "<div style='width:480px'><h2 style='font-weight:normal'>This coastline has <b>{{#retreat}}retreated{{/retreat}}{{#growth}}grown{{/growth}}</b> by</br> <b>{{#terria.formatNumber}}{maximumFractionDigits:1}{{rate_time}}{{/terria.formatNumber}} metres (±{{#terria.formatNumber}}{maximumFractionDigits:1}{{conf_time}}{{/terria.formatNumber}}) per year</b></br>on average since <b>1988</b></h2>The coastline at this location was <b>most seaward in {{max_year}}</b>, and <b>most landward in {{min_year}}</b>{{#outl_time}} (excluding outlier years; see below){{/outl_time}}. Since 1988, the coastline has moved over a total distance of approximately <b>{{#terria.formatNumber}}{maximumFractionDigits:0}{{sce}}{{/terria.formatNumber}} metres.</b></br></br><chart title='DEA Coastlines ({{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.latitude}}{{/terria.formatNumber}}, {{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.longitude}}{{/terria.formatNumber}})' y-column='Distance (metres) relative to 2019 coastline' x-column='Year' column-units='{{terria.timeSeries.units}}' preview-x-label='Year'>Year,Distance (metres) relative to 2019 coastline\n1988,{{dist_1988}}\n1989,{{dist_1989}}\n1990,{{dist_1990}}\n1991,{{dist_1991}}\n1992,{{dist_1992}}\n1993,{{dist_1993}}\n1994,{{dist_1994}}\n1995,{{dist_1995}}\n1996,{{dist_1996}}\n1997,{{dist_1997}}\n1998,{{dist_1998}}\n1999,{{dist_1999}}\n2000,{{dist_2000}}\n2001,{{dist_2001}}\n2002,{{dist_2002}}\n2003,{{dist_2003}}\n2004,{{dist_2004}}\n2005,{{dist_2005}}\n2006,{{dist_2006}}\n2007,{{dist_2007}}\n2008,{{dist_2008}}\n2009,{{dist_2009}}\n2010,{{dist_2010}}\n2011,{{dist_2011}}\n2012,{{dist_2012}}\n2013,{{dist_2013}}\n2014,{{dist_2014}}\n2015,{{dist_2015}}\n2016,{{dist_2016}}\n2017,{{dist_2017}}\n2018,{{dist_2018}}\n2019,{{dist_2019}}</chart>{{#outl_time}}The following years were identified as potential outliers, and should be interpreted with caution:</br></br><b>{{outl_time}}</b>{{/outl_time}}</div>"
}
}
]
}
]
}
]
}
from de-australia-map.
Hey @robbibt you're right that v7 catalogs won't work straight out of the box, however we're aiming to make this as seamless as possible. See https://medium.com/terria/terria-is-getting-another-piston-8-0-0-of-terriajs-23f5fbb6ab2a for a couple more links, putting that json through the terria catalog converter gives the below - noting a few properties are still being transitioned.
{
"catalog": [
{
"type": "group",
"name": "Digital Earth Australia Coastlines",
"members": [
{
"type": "wms",
"name": "Digital Earth Australia Coastlines (beta)",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"layers": "dea:DEACoastLines",
"opacity": "1.0",
"featureInfoTemplate": {
"template": "<div style='width:480px'>{{#n}}<h3 style='font-weight:normal'>Digital Earth Australia Coastlines</h3>Zoom in until labelled points appear and click on any point to view a <b>time series chart of how an area of coastline has changed over time</b> (press 'Expand' on the pop-up for more detail):</br></br><img src='https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_DEAMaps_1.gif' alt='Clicking on points'></br></br>Zoom in further to view individual annual coastlines:</br></br><img src='https://data.dea.ga.gov.au/projects/coastlines/DEACoastLines_DEAMaps_2.gif' alt='Zooming to coastlines'>{{/n}}{{#sce}}<h2 style='font-weight:normal'>This coastline has <b>{{#retreat}}retreated{{/retreat}}{{#growth}}grown{{/growth}}</b> by</br> <b>{{#terria.formatNumber}}{maximumFractionDigits:1}{{rate_time}}{{/terria.formatNumber}} metres (±{{#terria.formatNumber}}{maximumFractionDigits:1}{{conf_time}}{{/terria.formatNumber}}) per year</b></br>on average since <b>1988</b></h2>The coastline at this location was <b>most seaward in {{max_year}}</b>, and <b>most landward in {{min_year}}</b>{{#outl_time}} (excluding outlier years; see below){{/outl_time}}. Since 1988, the coastline has moved over a total distance of approximately <b>{{#terria.formatNumber}}{maximumFractionDigits:0}{{sce}}{{/terria.formatNumber}} metres.</b></br></br><chart title='DEA Coastlines ({{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.latitude}}{{/terria.formatNumber}}, {{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.longitude}}{{/terria.formatNumber}})' y-column='Distance (metres) relative to 2019 coastline' x-column='Year' column-units='{{terria.timeSeries.units}}' preview-x-label='Year'>Year,Distance (metres) relative to 2019 coastline\n1988,{{dist_1988}}\n1989,{{dist_1989}}\n1990,{{dist_1990}}\n1991,{{dist_1991}}\n1992,{{dist_1992}}\n1993,{{dist_1993}}\n1994,{{dist_1994}}\n1995,{{dist_1995}}\n1996,{{dist_1996}}\n1997,{{dist_1997}}\n1998,{{dist_1998}}\n1999,{{dist_1999}}\n2000,{{dist_2000}}\n2001,{{dist_2001}}\n2002,{{dist_2002}}\n2003,{{dist_2003}}\n2004,{{dist_2004}}\n2005,{{dist_2005}}\n2006,{{dist_2006}}\n2007,{{dist_2007}}\n2008,{{dist_2008}}\n2009,{{dist_2009}}\n2010,{{dist_2010}}\n2011,{{dist_2011}}\n2012,{{dist_2012}}\n2013,{{dist_2013}}\n2014,{{dist_2014}}\n2015,{{dist_2015}}\n2016,{{dist_2016}}\n2017,{{dist_2017}}\n2018,{{dist_2018}}\n2019,{{dist_2019}}</chart>{{#outl_time}}The following years were identified as potential outliers, and should be interpreted with caution:</br></br><b>{{outl_time}}</b>{{/outl_time}}{{/sce}}{{#year}}<h2 style='font-weight:normal'>{{year}} annual coastline</h2><h3 style='font-weight:normal'>Certainty: {{certainty}}</h3>Annual coastlines represent the typical (i.e. median) position of the shoreline at approximately mean sea level (~0 m AHD) across the entire year period.</br></br>{{/year}}</div>"
}
},
{
"type": "group",
"name": "Supplementary layers",
"members": [
{
"type": "wms",
"name": "Annual coastlines",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"layers": "dea:AnnualCoastlines",
"opacity": "1.0",
"featureInfoTemplate": {
"template": "<div style='width:480px'><h2 style='font-weight:normal'>{{year}} annual coastline</h2><h3 style='font-weight:normal'>Certainty: {{certainty}}</h3>Annual coastlines represent the typical (i.e. median) position of the shoreline at approximately mean sea level (~0 m AHD) across the entire year period.</br></br></div>"
}
},
{
"type": "wms",
"name": "Rates of change statistics",
"url": "https://geoserver.dea.ga.gov.au/geoserver/wms",
"layers": "dea:RateOfChangeStatistics",
"opacity": "1.0",
"featureInfoTemplate": {
"template": "<div style='width:480px'><h2 style='font-weight:normal'>This coastline has <b>{{#retreat}}retreated{{/retreat}}{{#growth}}grown{{/growth}}</b> by</br> <b>{{#terria.formatNumber}}{maximumFractionDigits:1}{{rate_time}}{{/terria.formatNumber}} metres (±{{#terria.formatNumber}}{maximumFractionDigits:1}{{conf_time}}{{/terria.formatNumber}}) per year</b></br>on average since <b>1988</b></h2>The coastline at this location was <b>most seaward in {{max_year}}</b>, and <b>most landward in {{min_year}}</b>{{#outl_time}} (excluding outlier years; see below){{/outl_time}}. Since 1988, the coastline has moved over a total distance of approximately <b>{{#terria.formatNumber}}{maximumFractionDigits:0}{{sce}}{{/terria.formatNumber}} metres.</b></br></br><chart title='DEA Coastlines ({{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.latitude}}{{/terria.formatNumber}}, {{#terria.formatNumber}}{maximumFractionDigits:4}{{terria.coords.longitude}}{{/terria.formatNumber}})' y-column='Distance (metres) relative to 2019 coastline' x-column='Year' column-units='{{terria.timeSeries.units}}' preview-x-label='Year'>Year,Distance (metres) relative to 2019 coastline\n1988,{{dist_1988}}\n1989,{{dist_1989}}\n1990,{{dist_1990}}\n1991,{{dist_1991}}\n1992,{{dist_1992}}\n1993,{{dist_1993}}\n1994,{{dist_1994}}\n1995,{{dist_1995}}\n1996,{{dist_1996}}\n1997,{{dist_1997}}\n1998,{{dist_1998}}\n1999,{{dist_1999}}\n2000,{{dist_2000}}\n2001,{{dist_2001}}\n2002,{{dist_2002}}\n2003,{{dist_2003}}\n2004,{{dist_2004}}\n2005,{{dist_2005}}\n2006,{{dist_2006}}\n2007,{{dist_2007}}\n2008,{{dist_2008}}\n2009,{{dist_2009}}\n2010,{{dist_2010}}\n2011,{{dist_2011}}\n2012,{{dist_2012}}\n2013,{{dist_2013}}\n2014,{{dist_2014}}\n2015,{{dist_2015}}\n2016,{{dist_2016}}\n2017,{{dist_2017}}\n2018,{{dist_2018}}\n2019,{{dist_2019}}</chart>{{#outl_time}}The following years were identified as potential outliers, and should be interpreted with caution:</br></br><b>{{outl_time}}</b>{{/outl_time}}</div>"
}
}
]
}
]
}
]
}
from de-australia-map.
(Then the above will work in the v8 dev link)
from de-australia-map.
This is mostly working now:
- Fix Legend sizing PR: TerriaJS/terriajs#5144
- Issue to solve only one feature showing in
FeatureInfoSection
TerriaJS/terriajs#4925
from de-australia-map.
data published using the latest v8 version of DEA
from de-australia-map.
Related Issues (20)
- DE Australia - Update Tool tips wording HOT 1
- DE Australia - add Collections 3 data HOT 1
- Harvesting from DEA ows server doesn't return all catalogue HOT 5
- DE Australia - Aug-Sep 21 release HOT 6
- Graphs date - start - end
- Plotting charts from multiple coastal points.
- Investigation: differences between charts behaviour for DEA data services HOT 1
- DE Australia - Oct 21 release HOT 1
- DE Aus - enable search within Waterbodies data HOT 1
- DE Aus - handling charts for Waterbodies data HOT 1
- DE Australia - Mar 22 Release HOT 3
- Story and share URL bugs HOT 2
- Vanity URL for Land cover story HOT 1
- DEA - Update Land cover vanity URL
- DE Aus - update DEA Land Cover story url HOT 1
- DE Aus - Set up custom Google analytics HOT 2
- DE Australia - Split related bug HOT 2
- Story v2.0 - Charts handling - Story loses feature info chart HOT 2
- DE Australia - option for DEA team to update catalogue & test data services HOT 4
- DE Australia - remove the Delta group HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from de-australia-map.