Spectrum Spatial (SSA/LIM)

Welcome to the Spectrum Spatial (SSA/LIM) community - start a discussion in the discussion tab or join in a conversation.

SSA Documentation  LIM Documentation  SSA Ideas  LIM Ideas

Discussions

Members

Resources

Events

 View Only
  • 1.  geo.southwark.gov.uk

    Posted 11-17-2017 10:59

    Hello all,

     

    I know i can use the overlays= parameter to call NamedMaps into a configm (as long it is in that config). For example, https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?overlays=Planning will open the defaultmap config and switch on the Planning group (NamedMap).

     

    This is all fine for when I want a multi layered NamedMap to open up. But I also want to be able to call individual layers within the NamedMap (NamedTables?). Is this possible?

     

    The only way I can see of achieving the same aim now is to create a new config that contains a new NamedMap that contain just the one layer (NamedTable?) that I want to call in. I would then use something like https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?mapcfg=Planning site notices&NamedTable=R_Planning_SiteNotices to call it via a URL

     

    However this is problematic for two reasons

     

    1

    It means creating a new map config with just one NamedMap containing just one layer (NamedTable?) purely for the purpose of being able to call just one layer via a URL. Now imagine that I want to this type of thing many times, I'll then end up having to create multiple configs containing just one layer set up for the sole purpose of making a bespoke URL call work. Moreover, I've have to a new NamedMap containing just the one layer. I'd then have to do this every time I want to make such a bespoke call.

     

    2

    I have to assign this new config to the role making it available in the map configs list. This would be confusing to the users as they dont relly need to see them listed there.

     

    So, being able to call in a single table within a multi-layered NamedMap would be extremly useful.



  • 2.  RE: geo.southwark.gov.uk

    Employee
    Posted 11-17-2017 08:43

    Hello Stuart,

    URL API can be used to specify an arbitrary named layer (or table) to add it to the map dynamically as shown in below URL:

    http://desktop-jin7mpu:8010/connect/analyst/mobile/#/main?mapcfg=Base SSA&queryTable=/CamdenBNG/NamedTables/PlanningApplications

    It will add a new layer to map though.

     

    URL API doesn't support the enabling layers of a named map presently. We will add a feature request for this.

    Could you confirm if supporting only a single table would suffice or you may need it for more than one table for a single multi-layer map.

     

    Thanks

     



  • 3.  RE: geo.southwark.gov.uk

    Posted 11-17-2017 09:05
    Hi Guru, Thanks for that. I wasn’t aware of the queryTable function. Although queryTable is not exactly what I need it is useful. Fior example this works: https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?queryTable=%2FNamedMaps%2FNamedTables%2FPlanning%20-%20Planning%20site%20notices Yes, supporting multiple layers would be useful. I imagine the URL looking something like: https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?<https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?mapcfg=Planning>NamedTables=planning site notices, planning refusals, London Borough boundaries However just being able to call in one NamedTable would be better than nothing. So, something like this: https://geo.southwark.gov.uk/connect/analyst/mobile/#/main?NamedTable=planning site notices Thanks, Stuart