Shao:

Please remember to keep emails on the use me list, many of our community
members (myself included) have employers that offer our services for one on
one consulting.  By taking part in the community user list our discussion
can help others. For more information see the links provided on the footer
of every geoserver email.

The WMS protocol GetCapabilities document is intended to be used as a
whole, documenting all the operations and available layers. It is a
capability specific of the GeoServer implementation of WMS to serve up a
GetCapabilities document for a workspace, or further more an individual
layer, as distinct "mini" WMS service. In these cases a different URL is
provided:
- http://localhost:8080/geoserver/
<workspace>/wms?request=GetCapabilities&SERVICE=WMS&VERSION=1.3.0
- http://localhost:8080/geoserver/
<workspace>/<layer>?wms?request=GetCapabilities&SERVICE=WMS&VERSION=1.3.0

See the manual for
https://docs.geoserver.org/stable/en/user/configuration/virtual-services.html


Aside: For other WMS implementations that do offer this functionality the
OGC Architecture recommends a different approach. Locating a description of
each individual layers can be searched for and documented as metadata
records in using a companion Web Catalog Service. This can be handy when
the same content is available through several web services (WMS, WFS,
etc...).
On Wed, Dec 25, 2019 at 12:27 AM Shaozhong SHI <shishaozh...@gmail.com>
wrote:

> Hi, Jody,
> Thanks.
> I was trying to look for information on how to compose URL calling string,
> so that metadata for each layer can be get individually.
>
> Any idea?
>
> Regards,
> Shao
>
> On Tue, 24 Dec 2019, 17:28 Jody Garnett, <jody.garn...@gmail.com> wrote:
>
>> Your email is referencing a random web service on the internet? Do you
>> know if that service is using GeoServer? If not your email is off topic for
>> this user list :)
>>
>> For general use of an OGC Web Map Service the instructions provided there
>> are incomplete. The OGC web service standards (called "open web services")
>> require three parameters:
>> - REQUEST - in this case GetCapabilities
>> - SERVICE - you did not provide this parameter
>> - VERSION - the version of the protocol to use
>>
>> The instance ID thing in this docs appear to reference some kind of
>> customer tracking, since the OGC services are stateless it looks like they
>> hand each user a specific INSTANCE_ID to access that content as part of an
>> email sent on registration.
>> --
>> Jody Garnett
>>
>>
>> On Mon, 23 Dec 2019 at 13:29, Shaozhong SHI <shishaozh...@gmail.com>
>> wrote:
>>
>>> It is said here
>>>
>>> https://www.sentinel-hub.com/develop/documentation/api/ogc_api/wms-parameters
>>>
>>>
>>> That
>>>
>>> For example, a GetCapabilities request can be done by changing the
>>> {INSTANCE_ID} to your provided instance ID and opening the following URL:
>>>
>>> http://services.sentinel-hub.com/ogc/wms/
>>> {INSTANCE_ID}?REQUEST=GetCapabilities
>>>
>>>
>>> But, this could not be replicated to make it work.
>>>
>>> Can anyone help?
>>>
>>> Regards,
>>>
>>> Shao
>>>
>>>
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to