nationalmap icon indicating copy to clipboard operation
nationalmap copied to clipboard

Connect to ACMA RRL API

Open AnaBelgun opened this issue 2 years ago • 7 comments

Data API available hee: https://www.acma.gov.au/radiocomms-licence-data

AnaBelgun avatar May 24 '22 01:05 AnaBelgun

Replace a URL.

tephenavies avatar Jun 08 '22 03:06 tephenavies

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"
          ]
        }

nf-s avatar Jul 08 '22 12:07 nf-s

Is it to replace http://web.acma.gov.au/pls/radcom/ with https://web.acma.gov.au/rrl/ ?

nf-s avatar Jul 08 '22 12:07 nf-s

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

nf-s avatar Jul 08 '22 12:07 nf-s

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

nf-s avatar Jul 12 '22 13:07 nf-s

Update

We can't load the 12MB "sites.csv" into Terria - the number of points is making cesium upset.

nf-s avatar Jul 12 '22 14:07 nf-s

Will investigate vector tiles with clustering

nf-s avatar Jul 12 '22 14:07 nf-s

not required

AnaBelgun avatar Oct 10 '24 23:10 AnaBelgun