Loading a WMS xml file

24 views
Skip to first unread message

Colin Mazengarb

unread,
May 7, 2025, 7:19:32 PM5/7/25
to QGIS Australia User Group
Hi Everyone,

I am trying to load the attached file (and in this text) a supposed WMS xml file but get an error saying this is not a wms file. I am experienced in doing this process normally so something is wrong here.

If you look at the text file it is intended to be a wms format although in reality it is a wrapper around an xyz web service. I have tried using the xyz URL directly without success . If anyone has any experience with these and can spot any obvious error, please let me know.

BTW this is a NZ dataset.

cheers
Colin


<GDAL_WMS>
    <Service name="TMS">
        <ServerUrl>https://object-storage.nz-por-1.catalystcloud.io/v1/AUTH_b1d1ad52024f4f1b909bfea0e41fbff8/mapspast/nzms260-1999/${z}/${x}/${y}.png</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>-20037508.34</UpperLeftX>
        <UpperLeftY>20037508.34</UpperLeftY>
        <LowerRightX>20037508.34</LowerRightX>
        <LowerRightY>-20037508.34</LowerRightY>
        <TileLevel>14</TileLevel>
        <TileCountX>1</TileCountX>
        <TileCountY>1</TileCountY>
        <YOrigin>bottom</YOrigin>
        <UpperLeftX>160.0</UpperLeftX>
        <UpperLeftY>-30.0</UpperLeftY>
        <LowerRightX>185.0</LowerRightX>
        <LowerRightY>-55.0</LowerRightY>
    </DataWindow>
    <Projection>EPSG:2193</Projection>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <Cache />
    <ZeroBlockHttpCodes>204,404</ZeroBlockHttpCodes>
</GDAL_WMS>
nzms260-1999.xml

gla...@mainlandspatial.com

unread,
May 8, 2025, 8:00:16 PM5/8/25
to QGIS Australia User Group
Hi Colin,

Unfortunately the Mapspast web services have been down for a while :-(

The direct xyz is http://au.mapspast.org.nz/3857/nzms260-1999/{z}/{x}/{y}.png but that is returning an error message as well. You can download individual georeferenced historic sheets (geoTIFF) from https://geodatahub.library.auckland.ac.nz/gdr/#maps-nzms. Scroll down to 260 (or what ever series you are looking for)

If you are looking for historic imagery have a look at https://data.linz.govt.nz/data/category/aerial-photos/ (web services) and https://retrolens.co.nz/. There is also a STAC service at https://github.com/linz/imagery but unfortunately the QGIS STAC tool does not support LINZ Imagery repository at this point in time.

If you are looking for other historical NZ data feel free to reach out directly.

G.

Greg Lauer

unread,
May 9, 2025, 1:58:51 AM5/9/25
to australian-qg...@googlegroups.com
Hi Colin,

Unfortunately the Mapspast web services have been down for a while :-(

The direct xyz is http://au.mapspast.org.nz/3857/nzms260-1999/{z}/{x}/{y}.png but that is returning an error message as well. You can download individual georeferenced historic sheets (geoTIFF) from https://geodatahub.library.auckland.ac.nz/gdr/#maps-nzms. Scroll down to 260 (or what ever series you are looking for)

If you are looking for historic imagery have a look at https://data.linz.govt.nz/data/category/aerial-photos/ (web services) and https://retrolens.co.nz/. There is also a STAC service at https://github.com/linz/imagery but unfortunately the QGIS STAC tool does not support LINZ Imagery repository at this point in time.

If you are looking for other historical NZ data feel free to reach out directly.

G.

--
You received this message because you are subscribed to the Google Groups "QGIS Australia User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to australian-qgis-use...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/australian-qgis-user-group/97f0c5c1-dbec-4248-9e5c-27304301209an%40googlegroups.com.

Colin Mazengarb

unread,
May 9, 2025, 8:18:47 PM5/9/25
to australian-qg...@googlegroups.com

Thanks Greg. I have discovered some treasures in NZ Archives recently but i will list some of the others i know of that hopefully you can fill in the gaps.


Reply all
Reply to author
Forward
0 new messages