Having a predefined url for my ogc service how can i know if is wms or wfs: /My/predefined/URL/
Well i know that if i made /My/predefined/URL/?request=GetCapabilities
i will find which service type is, but is there any faster way something like GetServiceType
?
I want categorize my url from wms and wfs, and in some cases i could find that information directly on url but in other cases not. How can i do that without have to ask for each url getCapabilites and lookup for servicetype attribut to see if is wms or wfs.
This is what
GetCapabilities
request is for. In some cases the URL may contain a hint which service type it is, but that's not always the case. So you have to ask the server and this is whatGetCapabilities
is for.