Zum Hauptinhalt gehen

Customizing results from features in cached basemap service

Kommentare

3 Kommentare

  • Permanently deleted user

    Brian,

    Given it's a cached service, the tiles are essentially pictures, and devoid of any information. The only information you can retrieve data from is the layer you use to attach the caches to in configuring the map service.

    In our case, we have a tile cache called 'mapscape' which we then attach/associate to a map service called 'mapscape' (the names need to be the same for teh association). In the mapscape.mxd we have a bunch of topo layers that are essentially used to create the mapscape tile cache, so the users, when clicking on the tiles in Geocortex client, are actually querying the vector layers in the mxd, not the tiles, which aren't queryable.

    We turn off all drawing and symbology in the mapscape.mxd so there is no overhead in drawing it in the client, but we make the individual layers visible and queryable in the GE manager / site.xml file. This is important! Sure, it's a Base layer in GE, but you need to specify the layer visibility to true for each layer essentially 'underneath' the cache you want to return results for and configure with the tools available in GE manager such as setting the feature label etc..

    works well for us.

    cheers

    Gareth

    0
  • Brian Oevermann

    Gareth,

    Your method is exactly what I was planning to do to work around this issue--barring some other brilliant idea from someone here on the forums.

    I have to slightly disagree with you regarding your comment that cached services are "devoid of any information." That may be true if you uncheck the Query option in the Capabilities-->Mapping options when publishing the cached map service, but with Query enabled, you can access the attribute information of the features contained in the cached service. I think in the future I will turn off that capability but for the moment my Flex viewers rely on that ability.

    It appears that I may need to live with the extra fields until I can transition all of my Flex viewers to GE versions, as I don't want to spend time modifying the Flex viewers to use a different map service for queries of features in the cached map services. I guess that will be my motivation to get everything transitioned as quickly as possible!

    Brian

    0
  • Permanently deleted user

    No worries Brian.

    I was talking more from a point of receiving a paid-for 3rd party, pre-cooked version of tiles that we dont create ourselves and or have the underlying core mxd it's built on :)

    cheers

    GF

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.