Menu

XML for NSW Six Topo Map Service

Torgs
2025-04-20
2025-04-21
  • Torgs

    Torgs - 2025-04-20

    Hi everyone,

    I'm a new user from Australia with very little coding experience, and I've been trying to get the NSW Topo and Imagery layers from SIX Maps (maps.six.nsw.gov.au) to work in MOBAC (version 2.3.3). I've spent a considerable amount of time trying to configure custom map sources based on the GetCapabilities documents I've found, but I'm still running into issues. I’ve based my xml on this forum post that I found but is now not working: https://bushwalk.com/forum/viewtopic.php?f=21&t=41543&mobile=on

    Here's a summary of what I've been trying for NSW Topo:

    The current status is that I'm often getting "HTTP error: 404 (Not Found)" in the MOBAC log when trying to load tiles for NSW Topo, regardless of the configuration (REST or KVP, JPG or PNG).

    Here's an example of my current RESTful configuration:
    (nsw_topo_rest_png.xml):
    XML

    <custommapsource>
    <name>NSW_Topo_REST_PNG</name>
    <minzoom>0</minzoom>
    <maxzoom>18</maxzoom>
    <tiletype>png</tiletype>
    <tileupdate>None</tileupdate>
    <url>http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Topo_Map/MapServer/WMTS/tile/1.0.0/public_NSW_Topo_Map/default/GoogleMapsCompatible/{$z}/{$y}/{$x}</url>
    <backgroundcolor>#000000</backgroundcolor>
    </custommapsource>

    And my current KVP configuration:
    (nsw_topo_kvp_revised2.xml):
    XML

    <custommapsource>
    <name>NSW_Topo_KVP_Revised2</name>
    <minzoom>0</minzoom>
    <maxzoom>18</maxzoom>
    <tiletype>png</tiletype>
    <tileupdate>None</tileupdate>
    <url>http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Topo_Map/MapServer/WMTS?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=public_NSW_Topo_Map&STYLE=default&TILEMATRIXSET=GoogleMapsCompatible&TILEMATRIX={$z}&TILEROW={$y}&TILECOL={$x}&FORMAT=image/png</url>
    <backgroundcolor>#000000</backgroundcolor>
    </custommapsource>

    I'm also having similar issues with NSW Imagery:

    I have the GetCapabilities URL for the NSW Imagery service: http://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Imagery/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

    I've tried similar RESTful and KVP configurations, again with jpg and png as tileType and FORMAT.

    I'm also consistently getting "HTTP error: 404 (Not Found)" for the Imagery layers.

    It seems like I might be missing something fundamental in how MOBAC expects these WMTS services to be configured, or perhaps there's a subtle change on the SIX Maps server that I'm not accounting for.

    Has anyone successfully configured these NSW layers in MOBAC recently? Any insights or example configurations would be greatly appreciated!

    Thanks in advance for any help you can offer!

     
  • Nicolas PAOUR

    Nicolas PAOUR - 2025-04-20

    Hello,
    Please find XML and BSH files here
    http://randochartreuse.free.fr/mobac2.x/mapsources/Australie%20%28Australia%29/

    <?xml version="1.0" encoding="UTF-8"?> 
    
    <customMapSource> 
        <name>Australia, XML NSW-Z(16)</name> 
        <tileType>png</tileType> 
        <minZoom>6</minZoom> 
        <maxZoom>16</maxZoom> 
        <url>
            <![CDATA[
            https://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Topo_Map/MapServer/WMTS?Layer=public_NSW_Topo_Map&Style=default&Timestamp=&TileMatrixSet=GoogleMapsCompatible&SERVICE=WMTS&REQUEST=GetTile&Version=1.0.0&FORMAT=image/jpeg&TileMatrix={$z}&TileCol={$x}&TileRow={$y}
            ]]>
        </url> 
    </customMapSource> 
    

    Regards
    Nicolas

     

    Last edit: Nicolas PAOUR 2025-04-20
  • Torgs

    Torgs - 2025-04-21

    That works great, thank you very much Nicolas!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.