nationalmap
nationalmap copied to clipboard
Connect to ACMA RRL API
Data API available hee: https://www.acma.gov.au/radiocomms-licence-data
Replace a URL.
Sorry not sure what i'm supposed to do here.
I'm assuming we are talking about this catalog item:
{
"type": "wms",
"name": "Radio Licenses - ACMA",
"id": "54a553a0",
"url": "https://gis.aremi.data61.io/acma/wms",
"opacity": 1,
"dataCustodian": "[Australian Communications and Media Authority](http://www.acma.gov.au/)",
"dataUrls": [
{
"url": "http://geo-prototype1.aremi.d61.io/acma/wfs?service=WFS&request=GetFeature&typeName=acma%3Aacma_licenses&version=1.1.0&outputFormat=JSON&srsName=EPSG%3A4326",
"type": "wfs-complete"
}
],
"layers": "acma_licenses,acma_sites",
"parameters": {
"feature_count": 2001
},
"featureInfoTemplate": {
"name": "{{#LICENCE_NO}}Licence: {{{LICENSEE}}}, {{PRETTY_FREQ}}{{/LICENCE_NO}}{{^LICENCE_NO}}Site: {{{SITE_NAME}}}{{/LICENCE_NO}}",
"template": "{{#LICENCE_NO}}<strong><a href='http://web.acma.gov.au/pls/radcom/client_search.client_lookup?pCLIENT_NO={{CLIENT_NO}}'>{{LICENSEE}}</a></strong><br/><small><a href='http://web.acma.gov.au/pls/radcom/site_search.site_lookup?pSITE_ID={{SITE_ID}}'>{{LOCATION}}</a></small><br/><table> <tr><td>Freq.</td> <td>{{PRETTY_FREQ}} {{#ANT_BAND}}({{ANT_BAND}} Band){{/ANT_BAND}}</td></tr> {{#PRETTY_CAR}} <tr><td>FM Carrier Freq.</td> <td>{{PRETTY_CAR}}</td></tr> {{/PRETTY_CAR}} <tr><td>TX Power</td> <td>{{TX_POWER}}W ({{MODE}}X)</td></tr> <tr><td>Height</td> <td>{{ANT_HGT}}</td></tr> <tr><td>Antenna type</td> <td>{{ANT_TYPE}}</td></tr> <tr><td>EIRP</td> <td>{{EIRP}}</td></tr> <tr><td>Licence No.</td> <td><a href='http://web.acma.gov.au/pls/radcom/licence_search.licence_lookup?pSOURCE=RADCOM&pLICENCE_NO={{LICENCE_NO}}'>{{LICENCE_NO}}</a></td></tr></table>{{/LICENCE_NO}}{{^LICENCE_NO}}<strong><a href='http://web.acma.gov.au/pls/radcom/site_search.site_lookup?pSITE_ID={{SITE_ID}}'>{{SITE_NAME}}</a></strong><br/>Licences at site: {{Num_Licenses}}<br/>WGS84 Coords: {{WGS84_LAT}} {{WGS84_LON}}<br/>Precision: {{PRECISION}}{{/LICENCE_NO}}"
},
"shareKeys": [
"Root Group/National Datasets/Communications/Radio Licenses - ACMA"
]
}
Is it to replace http://web.acma.gov.au/pls/radcom/
with https://web.acma.gov.au/rrl/
?
If so - here is a test link
https://nationalmap.gov.au/#clean&https://terria-catalogs-public.storage.googleapis.com/nationalmap/catalog/communications/dev.json&share=s-o0aDQJeYws3BIMUFibbxq59pHAG
Can't use API as it has a limit of 2000 items per request.
The "sites" dataset (which contains lat/lon info) contains 114837 rows.
It is only 12MB CSV - so we can load it into Terria.
Only issue is that ACMA publish the CSV in a ZIP file - https://web.acma.gov.au/rrl-updates/spectra_rrl.zip - which is 60MB
So our options are:
- Download entire zip file and load sites.csv into terria
- Ask ACMA if they host "sites.csv" somewhere not in a zip file
- We host "sites.csv" ourselves - and update it every now and then
Update
We can't load the 12MB "sites.csv" into Terria - the number of points is making cesium upset.
Will investigate vector tiles with clustering
not required