CSIRO-enviro-informatics / geofabric-dataset

A Linked Data version of the Australian Hydrological Geospatial Fabric product
http://geofabricld.net
Apache License 2.0
5 stars 2 forks source link

Contracted Catchments not rendering in National Map #20

Open benjaminleighton opened 5 years ago

benjaminleighton commented 5 years ago

Via @ashleysommer

The JSON api isn't documented. The way you decode it, is go to the main NationalMap site, add a new layer, set up your view how you want it (choose background layer, etc) then click the Share button. In the sharing advanced settings, uncheck "shorten url", this will give you a majorly long URL. Take the url-encoded string from off the end of the URL, and put it through a url-encoding decoder, then through a JSON formatter for better readability. The resulting payload is what I refer to as the JSON API config. See the ContractedCatchment HTML template in the geofabricld source code to see the config I have embedded (which is now not working).

benjaminleighton commented 5 years ago

Fixed in https://github.com/CSIRO-enviro-informatics/geofabric-dataset/pull/19 but not great formating

benjaminleighton commented 5 years ago

Also redeployed so fixed in prod off that branch

jyucsiro commented 5 years ago

Cool looks good. I imagine this approach would apply to RR and DD pages also?

benjaminleighton commented 5 years ago

Ah I should've realized they'd likely be a problem too. Yes I'll have a look

benjaminleighton commented 5 years ago

I've redeployed for RR and DD as well as trying to fix the hy features views across those and CC. I think that covers it.

ashleysommer commented 4 years ago

Reopening this, there is a related issue now Drainage Divisions aren't rendering properly in National Map.