View by status   

Provide one XSLT Template per Service for WMS GetFeatureInfo Customization

  • 90
    Points

  • WMS GetFeatureInfo responses can be customized by editing the default XSLT templates. However, this will affect all WMS services on the server. The ArcGIS documentation does therefore discourage users from putting service-specific logic into the templates and presents the XSLT_TEMPLATE parameter as a client-side alternative.

    In my opinion, separate XSLT templates for each service would add flexibilty while style control remains with the service author.

    Use case:
    A service author might use a service-specific XSLT template to convert attribute values representing a URL to an HTML hyperlink. They could apply this transformation to field "URL" in the case of service "A" whereas they could apply the same transformation to field "RESOURCES" in the case of service "B".
    Tags :
     wms getfeatureinfo xslt_template xslt
    Posted by   m.frehner  to ArcGIS ServerLocal Government Dec 28, 2011

Share this idea Report Abuse

Comments (3)


Please log in to post a comment.






BGR-A-K 
Apr 30, 2013
Alternativly the concept of HTML-Popup configuration in ArcMap could be used to apply styling for feature info output of each layer. As far as I know this method will only work for ESRI-Feature Services but not for OGC-WMS.


 
frauantje 
Jul 20, 2012
...however it would be good to have the choice of using either a default template or a service-specific XSLT template, so the admin isn't forced to repeat the same changes in each template if no service-specific changes are needed.


 
frauantje 
Jul 20, 2012
This would be very useful!


 

 

Terms and Conditions   |    Feedback   |   FAQs
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat
       
       
       
       
       
       
Previous MonthNext Month
SunMonTueWedThuFriSat