ThinkGeo.com    |     Documentation    |     Premium Support

VendorSpecificCapabilities, Abstract, Contacts

Hello,


Is there a way with Map Suite Desktop to access easily the following data from a WMS server ?



        
  • VendorSpecificCapabilities

  •     
  • Description texts like Abstracts (in layers for exemple)

  •     
  • Contact informations for this WMS


I thought about getting myself the XML file sent by the GetCapabilities request, and to parse it, because I didn't find those informations in the WmsRasterLayer.


Thanks,

Guillaume. (me again)



Guillaume, 



We parse the XML from WMS server but we don’t expose all the information, here as following are the APIs we can use to get info from a WMS server. 




public Collection<string> GetServerLayerNames()
public Collection<string> GetServerStyleNames()
public Collection<string> GetServerOutputFormats()
public Collection<string> GetServerCrss()
public Collection<string> GetServerExceptionFormats()
public string GetServiceVersion()



We don’t have the API to get the contact information as we thought that will be seldom used. If you have more requirements about getting more information from WMS can you send us a list maybe we can add them in the future release. 



Thanks, 



Ben 

 



Thanks for your answer, 
  
 I agree that the Contact informations are not so usefull, but I really miss layer titles (not only layer names), and layers hierarchy.  
 Finally I accessed those informations myself, but I think it would really be great, not only for me, if those informations could natively be accessed with MapSuite APIs. Perhaps for next release ? :) 
  
 But even if I miss some fonctionnalities, I would like to say that MapSuite is really great, and I enjoy using it. 
 Guillaume.

Guillaume, 
  
 Thanks for your suggestion. I have written it down and we may add those new APIs in our future version. I’m afraid we cannot make it in the coming version though as we have finished adding new features and now having thorough tests, the release date (22th this month) is coming and we do neither want to add APIs in a rush nor affect our tests.  
  
 I’m very happy you enjoy using Map Suite and I’m grateful for your constructive suggestions. We will keep working hard to make our products better and more convenient for clients.   
  
 Ben.