Spectrum Spatial (SSA/LIM)

 View Only
  • 1.  WMTS

    Posted 11-25-2020 08:01
    Hi,

    trying to add an external WMTS feed to spectrum.  I know the link works as I can add it fine to MI Pro.

    format is   "https://api.os.uk/maps/raster/v1/wmts?key=*************PBzCSitGTldfvJdni&amp"

    Under the External File Config in Spatial manager I can't find a similar option (tried WMS and Tile Configs).

    Am I missing something obvious? (probably).

    Thanks

    Nick

    ------------------------------
    Nick Hall
    Mapchester LTD
    nick.hall@mapchester.co.uk
    ------------------------------


  • 2.  RE: WMTS

    Posted 11-26-2020 17:44
    Hi Nick,

    Are you trying to add this to Spectrum so you can republish it or do you want to simply use it in Spectrum Spatial (Analyst)?

    I'm not sure how it works for Spectrum but to use it in Analyst you need to add the WMTS to External Tile Configurations in Spatial Manger and then add it as a basemap in your Project

    http://spectrum:8080/SpatialServerManager/#/project/properties/thirdpartytileservice

    ------------------------------
    Duri Bradshaw
    Spatial IT Consultant
    Insight GIS
    ------------------------------



  • 3.  RE: WMTS

    Posted 11-27-2020 09:12
    Duri,

    Yeah I am trying to republish it as base map.

    I had tried the External Tile Configurations options but the url syntax doesn't match.  The same link that works fine in Pro reports an error of
    "Enter a valid URL with {LEVEL}/{ROW}/{COL}." in the External Tile Configurations options.

    I did find this tool in the welcome page documentation.

    But the View Documentation link is broken and I couldn't figure out what the batch file parameters meant. 

    All I have is the URL which works in Pro really easily. Also, not entirely sure if this tool actually does what I'm hoping for!

    I'd assumed adding a WMTS could be done as surely Bing maps, OSM and google are a 'similar' thing.   I also appreciate I maybe hugely oversimplifying this issue.

    Thanks

    Nick









    ------------------------------
    Nick Hall
    Mapchester LTD
    nick.hall@mapchester.co.uk
    ------------------------------



  • 4.  RE: WMTS

    Posted 11-29-2020 18:04
    Hi Nick,

    You will need to use the URL that specifies the {LEVEL}/{ROW}/{COL} rather than the simple WMTS service URL that works in MapInfo

    Having a quick look a the docs here
    https://osdatahub.os.uk/docs/wmts/technicalSpecification

    shows that you can use this URL
    https://api.os.uk/maps/raster/v1/zxy/layer/{z}/{x}/{y}.png?key=

    you need to modify this slightly to work in Spectrum Spatial
    https://api.os.uk/maps/raster/v1/zxy/layer/{LEVEL}/{COL}/{ROW}.png?key=

    For anyone else reading this who cant find the documentation for their service you can work out this URL by looking at the GetCapabilities xml for the WMTS service https://api.os.uk/maps/raster/v1/wmts?request=getcapabilities&key=

    ------------------------------
    Duri Bradshaw
    Spatial IT Consultant
    Insight GIS
    ------------------------------