docs: added wfs query getting start guide step by step#160
docs: added wfs query getting start guide step by step#160CL-SHLOMIKONCHA wants to merge 4 commits intomasterfrom
Conversation
|
| POST Request | ||
|
|
||
| url: | ||
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` |
There was a problem hiding this comment.
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | |
| ```<RASTER-CATALOG-SERVICE_URL>/csw``` |
| POST Request | ||
|
|
||
| url: | ||
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` |
There was a problem hiding this comment.
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | |
| ```<RASTER-CATALOG-SERVICE_URL>/csw``` |
| **Note:** In order to get the layer id (mc:id) you have the following options: | ||
| 1. Open map-colonies catalog application and locate the required layer | ||
| <figure> | ||
| <img src={require("/img/raster/Id_catalog.png").default} style={{"display":"block","marginLeft":"auto","marginRight":"auto"}}/> | ||
| </figure> | ||
| 2. Query all records via CSW GetRecords operation and search it in the result response | ||
| - [Query Examples](/docs/ogc/protocols/ogc-csw/ogc-csw-examples) |
There was a problem hiding this comment.
Move this into the Specific Layer tab in Query Catalog Service (Step 1).
| There are a few ways to acquire the productId, for example: | ||
|
|
||
| <Tabs> | ||
| <TabItem value="SpecificLayer" label="Specific Layer"> |
There was a problem hiding this comment.
Maybe use the same text used in the existing Getting started raster guide?
| ``` | ||
|
|
||
| </TabItem> | ||
| <TabItem value="fetchAll" label="Fetch All Layers (Pagination)"> |
There was a problem hiding this comment.
Maybe use the same text used in the existing Getting started raster guide?
| POST Request | ||
|
|
||
| url: | ||
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | ||
|
|
||
| body (XML): | ||
| ```xml |
There was a problem hiding this comment.
| POST Request | |
| url: | |
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | |
| body (XML): | |
| ```xml | |
| body (XML): | |
| ```xml title="POST: '<RASTER-CATALOG-SERVICE_URL>/csw'" |
| POST Request | ||
|
|
||
| url: | ||
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | ||
|
|
||
| body (XML): | ||
| ```xml |
There was a problem hiding this comment.
| POST Request | |
| url: | |
| ```'<RASTER-CATALOG-SERVICE_URL>/csw'``` | |
| body (XML): | |
| ```xml | |
| body (XML): | |
| ```xml title="POST: '<RASTER-CATALOG-SERVICE_URL>/csw'" |
| </mc:links> | ||
| ``` | ||
|
|
||
| You need to save the `[desired_layer_identifier]` value for later use. |
There was a problem hiding this comment.
What is the [desired_layer_identifier]? It's not clear.
Please explain what to save explicitly.
| As you can see, above xml response represents links to wfs operations query names (GetFeature/DescribeFeature) | ||
| Now all you have to do is query the desired WFS operation link by those references that we mantioned. | ||
|
|
||
| ```xml | ||
| <ows:Operation name="DescribeFeatureType"> | ||
| ``` | ||
| Reference: [DescribeFeatureType](/docs/MapColonies/Raster/services/LayerParts/layer-parts#describefeaturetype) | ||
|
|
||
|
|
||
| ```xml | ||
| <ows:Operation name="GetFeature"> | ||
| ``` | ||
| Reference: [GetFeature](/docs/MapColonies/Raster/services/LayerParts/layer-parts#getfeature) No newline at end of file |
There was a problem hiding this comment.
| As you can see, above xml response represents links to wfs operations query names (GetFeature/DescribeFeature) | |
| Now all you have to do is query the desired WFS operation link by those references that we mantioned. | |
| ```xml | |
| <ows:Operation name="DescribeFeatureType"> | |
| ``` | |
| Reference: [DescribeFeatureType](/docs/MapColonies/Raster/services/LayerParts/layer-parts#describefeaturetype) | |
| ```xml | |
| <ows:Operation name="GetFeature"> | |
| ``` | |
| Reference: [GetFeature](/docs/MapColonies/Raster/services/LayerParts/layer-parts#getfeature) | |
| As you can see, the above `xml` response represents links to different wfs operations ([`GetFeature`](/docs/MapColonies/Raster/services/LayerParts/layer-parts#getfeature) / [`DescribeFeatureType`](/docs/MapColonies/Raster/services/LayerParts/layer-parts#describefeaturetype)). | |
| Now all you have to do is query the desired `WFS operation link` by the references we mentioned. |
There was a problem hiding this comment.
If you wish to reference the exact lines in the xml example before we can add showLineNumbers and mention them here.
| ```xml title="Example links for a layer" | ||
| <ows:Operation name="DescribeFeatureType"> | ||
| <ows:DCP> | ||
| <ows:HTTP> | ||
| <ows:Get xlink:href="https://<YOUR_WFS_URL>/wfs"/> | ||
| <ows:Post xlink:href="https://<YOUR_WFS_URL>/wfs"/> | ||
| </ows:HTTP> | ||
| </ows:DCP> | ||
| <ows:Parameter name="outputFormat"> | ||
| <ows:AllowedValues> | ||
| <ows:Value>application/gml+xml; version=3.2</ows:Value> | ||
| </ows:AllowedValues> | ||
| </ows:Parameter> | ||
| </ows:Operation> | ||
| <ows:Operation name="GetFeature"> | ||
| <ows:DCP> | ||
| <ows:HTTP> | ||
| <ows:Get xlink:href="https://<YOUR_WFS_URL>/wfs"/> | ||
| <ows:Post xlink:href="https://<YOUR_WFS_URL>/wfs"/> | ||
| </ows:HTTP> | ||
| </ows:DCP> | ||
| </ows:Operation> | ||
| ``` |
There was a problem hiding this comment.
| ```xml title="Example links for a layer" | |
| <ows:Operation name="DescribeFeatureType"> | |
| <ows:DCP> | |
| <ows:HTTP> | |
| <ows:Get xlink:href="https://<YOUR_WFS_URL>/wfs"/> | |
| <ows:Post xlink:href="https://<YOUR_WFS_URL>/wfs"/> | |
| </ows:HTTP> | |
| </ows:DCP> | |
| <ows:Parameter name="outputFormat"> | |
| <ows:AllowedValues> | |
| <ows:Value>application/gml+xml; version=3.2</ows:Value> | |
| </ows:AllowedValues> | |
| </ows:Parameter> | |
| </ows:Operation> | |
| <ows:Operation name="GetFeature"> | |
| <ows:DCP> | |
| <ows:HTTP> | |
| <ows:Get xlink:href="https://<YOUR_WFS_URL>/wfs"/> | |
| <ows:Post xlink:href="https://<YOUR_WFS_URL>/wfs"/> | |
| </ows:HTTP> | |
| </ows:DCP> | |
| </ows:Operation> | |
| ``` | |
| ```xml title="Example links for a layer" | |
| <ows:Operation name="DescribeFeatureType"> | |
| <ows:DCP> | |
| <ows:HTTP> | |
| <ows:Get xlink:href="https://<WFS_SERVICE__URL>/wfs"/> | |
| <ows:Post xlink:href="https://<WFS_SERVICE__URL>/wfs"/> | |
| </ows:HTTP> | |
| </ows:DCP> | |
| <ows:Parameter name="outputFormat"> | |
| <ows:AllowedValues> | |
| <ows:Value>application/gml+xml; version=3.2</ows:Value> | |
| </ows:AllowedValues> | |
| </ows:Parameter> | |
| </ows:Operation> | |
| <ows:Operation name="GetFeature"> | |
| <ows:DCP> | |
| <ows:HTTP> | |
| <ows:Get xlink:href="https://<WFS_SERVICE__URL>/wfs"/> | |
| <ows:Post xlink:href="https://<WFS_SERVICE__URL>/wfs"/> | |
| </ows:HTTP> | |
| </ows:DCP> | |
| </ows:Operation> |
|
@shimoncohen status of this PR ? |
|
@syncush Waiting for @CL-SHLOMIKONCHA to address the requested changes. |
No description provided.