TerriaJS / aremi-natmap

AREMI fork of the NICTA/nationalmap repo.
11 stars 13 forks source link

Replace population density with new services #426

Closed AnaBelgun closed 4 years ago

AnaBelgun commented 4 years ago

Here are the links to the NEXIS Residential Dwelling Density service:

https://services.ga.gov.au/gis/services/NEXIS_Residential_Dwelling_Density/MapServer/WMSServer https://services.ga.gov.au/gis/services/NEXIS_Residential_Dwelling_Density/MapServer/WCSServer http://services.ga.gov.au/gis/rest/services/NEXIS_Residential_Dwelling_Density/MapServer

rowanwins commented 4 years ago

@AnaBelgun I've looked at this. The trouble so far is the legends (see screen grab below)

Basically there are 4 layers which automatically turn on and off as you zoom closer. At the moment we show all 4 legends at once.

We could add the 4 layers as seperate lines items to the catalog but then the layer is only visible for a certain zoom range which is also annoying...

Screen_2020_08_07

No easy answer sorry

AnaBelgun commented 4 years ago

ok, let's leave for now and I'll give this feedback to Steve from GA.

AnaBelgun commented 4 years ago

Feedback: Our services show the legends for each layers which has, this helps with online requests for layers and printing. However, if you make a basic mapserver legend request (see below) you could translate that json into a single image or html response. I don't think there is an easy answer, it was not designed to combine legend images (I think).

http://services.ga.gov.au/gis/rest/services/NEXIS_Residential_Dwelling_Density/MapServer/legend?f=pjson

http://services.ga.gov.au/gis/rest/services/NEXIS_Residential_Dwelling_Density/MapServer/legend

rowanwins commented 4 years ago

I think I'll just hide the legend for the timebeing. In mobx we can perhaps work on scale-dependent legend rendering

rowanwins commented 4 years ago

Done in #432