Create the Feature Download Service Map and Service

Important Notes for 10.1 SP1

With ArcGIS 10.1 SP1 for INSPIRE, the feature download service has been rewritten entirely to implement technical guidance (version 3.0) for the implementation of INSPIRE download services. The updated feature download service now supports both predefined and direct download service options through a single WFS 2.0.0-based service type.

When a INSPIRE feature download service is created and started within ArcGIS 10.1 SP1 for INSPIRE, two stored queries are automatically created: urn:ogc:def:query:OGC-WFS::GetFeatureById for fetching feature by id and urn:x-ii:def:query:OGC-WFS::GetDatasetByCrs for fetching data by CRS. These two stored queries can be used to extract predefined datasets through standard WFS 2.0.0 operations, and the service administrator can add additional stored queries if needed.

There is also now an "Enable direct access" option - this option enables direct data download through a standard WFS 2.0.0 getFeature operation without going through the stored query configured by the administrator. This option is disabled by default, and can be enabled by the administrator if needed.

Overview

There are two methods to create, serve, and use an INSPIRE Feature Download Service within ArcGIS. One method is to use the ArcGIS for INSPIRE desktop Addin to create a map document, then publish it as an INSPIRE feature download service through ArcGIS server and ArcGIS for INSPIRE Server Extension. The other method is to setup a connection to the INSPIRE geodatabase, publish it as a Geodata service, and then enable the INSPIRE Feature Download Service. This topic provides steps for both methods. After setting up the INSPIRE Feature Download Service using either method, you will need to configure its properties. Once the service is configured, then you can use it - see the topic on Using the INSPIRE Feature Download Service.

NoteNote:

The following steps require a valid ArcGIS for INSPIRE Geodatabase that includes data. The initial import of source data and the periodic process-controlled update of Geodatabase data is not part of ArcGIS for INSPIRE.

Method 1: Create the INSPIRE Feature Download Service using a map document

After creating a foundational map document for your Feature Download Service, follow the steps below to create the service itself.

  1. In ArcMap choose File > Share As > Service.
  2. From the opened dialog choose "Publish a service".
  3. Select an existing connection to ArcGIS for Server. If you don't have a connection yet, you can create one by selecting the ArcGIS Server connection option on the ArcCatalog table of contents.
  4. Enter a service name and choose the folder where the service should be published.
  5. In the Service Editor > Capabilities interface, select the type INSPIRE Feature Download Service.
  6. Publish the service and then reopen the Service Editor.
  7. Now you will configure the INSPIRE Feature Download Service. When you select the INSPIRE Feature Download Service, the Properties menu item will display another dialog with the capabilities of the INSPIRE Feature Download Service. Configuring the properties consists of configuring basic information in the Common Properties section, and additional detailed configuration in the Advanced Properties section. Note, in SP1, it is also possible to include configuring additional stored queries if necessary.
  8. Configure Common and Advanced properties as discussed in the Configure Properties section below.
  9. After setting the properties, you can complete the wizard.
  10. Starting and managing the INSPIRE Feature Download Service is done the same way as starting and managing other ArcGIS Server services; there are no further customizations needed.

Method 2: Create the INSPIRE Feature Download Service using a Geodatabase connection

To create an INSPIRE Feature Download Service based on a Geodatabase connection, follow these steps.

  1. Open ArcCatalog 10.1 and create a database connection to an Enterprise Geodatabase.
  2. Connect to that geodatabase.
  3. Right-click the connection entry and select "Share as Geodata Service…"
  4. From the opened dialog choose "Publish a service".
  5. Select an existing connection to ArcGIS for Server. If you don't have a connection yet, you can create one by selecting the ArcGIS Server connection option on the ArcCatalog table of contents.
  6. Enter a service name and choose the folder where the service should be published.
  7. In the Service Editor > Capabilities interface, select the type INSPIRE Feature Download Service.
  8. Publish the service and then reopen the Service Editor.
  9. Now you will configure the INSPIRE Feature Download Service. When you select the INSPIRE Feature Download Service, the Properties menu item will display another dialog with the capabilities of the INSPIRE Feature Download Service. Configuring the properties consists of configuring basic information in the Common Properties section, and additional detailed configuration in the Advanced Properties section. Note, forSP1 it is possible to also configure additional stored queries if necessary.
  10. Configure Common and Advanced properties as discussed in the Configure Properties section below.
  11. After setting the properties, you can complete the wizard.
  12. Starting and managing the INSPIRE Feature Download Service is done the same way as starting and managing other ArcGIS Server services ; there are no further customizations needed.

Configure Properties

There are two sections of properties to configure. First the Common Properties will be discussed; later, the Advanced Properties will be discussed.

Common Properties

Within the Common Properties section you can define the language versions to be supported and the default language of the service. The Common Properties section appears when you select the INSPIRE Feature Download Service capabilities in Service Editor.

The languages supported by a service instance can be configured by clicking the input field Supported languages, and clicking the desired languages from the list. This list includes all languages existing within the geographical limits of INSPIRE. Once selected, the language will be "activated" for the service. The default language of the service has to be chosen from the Default language drop- down selection menu.

Please note that adding an additional language may cause the requirement for adaptations in localization documents.

The standard mode of operation for the INSPIRE Feature Download Service is active by default and requires INSPIRE compliant data inside of the Enterprise Geodatabase. With this mode enabled, the service will expose data that strictly follows the GML application schema on INSPIRE Annex I Data Themes.

Enable direct access option - this option enables the ability to access data directly through the standard WFS 2.0.0 getFeature operation without going through the stored query configured by the administrator. This option is disabled by default.

Enable stored query management through WFS 2.0.0 option- this option enables the ability to manage stored queries (including add and delete stored queries) by the user using the standard WFS 2.0.0 operation. This option is disabled by default so users can only access data through stored queries created by the administrator.

Advanced Properties

After setting up the language version of the service in Common Properties, you will define further properties by clicking the Advanced Properties button. The properties will need to be specified for all supported languages.

There are three sections in the Advanced Properties: properties of the service, contact metadata of the service, and properties for supported feature types. These correspond to sections in the Edit Properties interface, and are discussed in the tables below.

Advanced Properties of the Service for services created using 10.1 (for SP1, see section below)

Property item

Description and notes

Title

A title that describes the resource.

Abstract

Short summary for the content of a resource.

Keywords

Terms that capture the essence of the topic (e.g. Words, Expressions or formalized terms, in this case the terms are in respect to INSPIRE terms). Click here for the official INSPIRE Keywords. It is recommended to use infoMapAccessService and INSPIRE as keywords for the INSPIRE View Service.

Provider name

The name of the Service Provider.

Access constraints

Describes if an access restriction exists that would protect the privacy or the intellectual property. Also provides a special restriction for accessing resources or metadata.

Default-Value: None

Online resource (http/GET)

The URL under which the service is available for http/GET requests, prepopulated. Changing this is important if you run the service behind a reverse proxy.

Online resource (http/POST)

The URL under which the service is available for http/POST requests, prepopulated. Changing this is important if you run the service behind a reverse proxy.

Bounding box: minX value

X value of lower left corner. Used for service bounding box in capabilities response.

Default-Value: -180 (if left empty)

Bounding box: minY value

Y value of lower left corner. Used for service bounding box in capabilities response.

Default-Value: -90 (if left empty)

Bounding box: maxX value

X value of upper right corner. Used for service bounding box in capabilities response.

Default-Value: 180 (if left empty)

Bounding box: maxY value

X value of upper right corner. Used for service bounding box in capabilities response.

Default-Value: 90 (if left empty)

Contact metadata of the service: The party responsible for the metadata of the INSPIRE Feature Download Service is specified in this section. The interface provides default placeholder values that you should update accordingly.

Supported Feature Types: This part of the dialog allows you to choose the feature types to be supported by the service. If you set up the Feature Download Service based on an ArcGIS Map Service, the number of feature types to be selected is limited to those feature types corresponding to the layers in your map document.

Advanced Properties of the Service for services created using 10.1 SP1

Property item

Description and notes

Title

A title that describes the resource.

Abstract

Short summary for the content of a resource.

Keywords

Terms that capture the essence of the topic (e.g. Words, Expressions or formalized terms, in this case the terms are in respect to INSPIRE terms). Click here for the official INSPIRE Keywords. It is recommended to use infoMapAccessService , INSPIRE, Download Service as keywords for the INSPIRE feature download service.

Access constraints

Describes if an access restriction exists that would protect the privacy or the intellectual property. Also provides a special restriction for accessing resources or metadata.

Default-Value: None

Fees

Default-Value: No condition apply

Online resource (http/GET)

The URL under which the service is available for http/GET requests, prepopulated. Changing this is important if you run the service behind a reverse proxy.

Online resource (http/POST)

The URL under which the service is available for http/POST requests, prepopulated. Changing this is important if you run the service behind a reverse proxy.

Inspire spatial dataset identifier code

Unique Resource Identifier code

Inspire spatial dataset identifier namespace

Unique Resource Identifier namespace

Metadata URL

Metadata URL for use by an INSPIRE Discovery Service describing this service instance.

Metadata published at (YYYY-MM-DD)

Publication date of the metadata which describes the service.

Metadata contact organization

INSPIRE is more demanding than ISO 19115 by mandating both the name of the organisation, and a contact e-mail address. The role of the responsible party serving as a metadata point of contact is out of scope of the Metadata Regulation, but - according to INSPIRE View Service TG 3.0 - this property is mandated by ISO 19115.

Metadata contact mail

Metadata contact email, see above

Service created at (YYYY-MM-DD)

To be compliant with the INSPIRE Metadata Regulation and with ISO 19115, one of following dates shall be used: date of publication, date of last revision, or the date of creation. Date of last revision is preferred. The date shall be expressed in conformity with the INSPIRE Metadata Regulation.

Service last revised at (YYYY-MM-DD)

See above.

Service published at (YYYY-MM-DD)

See above.

Individual temporal extent value covered by the service (YYYY-MM-DD)

See above.

Begin of temporal extent covered by the service (YYYY-MM-DD)

See above.

End of temporal extent covered by the service (YYYY-MM-DD)

See above.

Bounding box: minX value

X value of lower left corner. Used for service bounding box in capabilities response.

Default-Value: -180 (if left empty)

Bounding box: minY value

Y value of lower left corner. Used for service bounding box in capabilities response.

Default-Value: -90 (if left empty)

Bounding box: maxX value

X value of upper right corner. Used for service bounding box in capabilities response.

Default-Value: 180 (if left empty)

Bounding box: maxY value

X value of upper right corner. Used for service bounding box in capabilities response.

Default-Value: 90 (if left empty)

Degree of conformity

Choose "conformant" or "not conformant" when the conformity to the cited Specification has been evaluated. In that case if the evaluation has passed, the degree is conformant; otherwise it is not conformant. Choose "not evaluated" when the conformity to the cited Specification has not been evaluated. The default value is "not evaluated".

GEMET keywords

Additional keywords can be defined using the INSPIRE GEMET vocabulary. The keywords chosen here will be added to the KeywordList element.

Contact metadata of the service: The party responsible for the metadata of the INSPIRE Feature Download Service is specified in this section. The interface provides default placeholder values that you should update accordingly.

Supported Feature Types: This part of the dialog allows you to choose the feature types to be supported by the service. If you set up the Feature Download Service based on an ArcGIS Map Service, the number of feature types to be selected is limited to those feature types corresponding to the layers in your map document. For feature download service based on geodatabase connection, you can check/uncheck those feature types you want it become available/unavailable.

Add Stored Query:An administrator can added additional stored queries by clicking the "Add Stored Query" button. Add stored query can also be done through http POST operation if the "Enable stored query management through WFS 2.0.0" option is enabled.

To Add Stored Query, follow these steps:

  1. Click on "Add Stored Query" button
  2. Paste stored query xml into the text field, the query xml need to be in the format conform to WFS 2.0.0, following is an example:
    <wfs:CreateStoredQuery service="WFS"
    version="2.0.0"
    xmlns="http://www.opengis.net/wfs/2.0"
    xmlns:fes="http://www.opengis.net/fes/2.0"
    xmlns:gco="http://www.isotc211.org/2005/gco"
    xmlns:gmd="http://www.isotc211.org/2005/gmd"
    xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:gml31="http://www.opengis.net/gml"
    xmlns:gsml="http://xmlns.geosciml.org/GeoSciML-Core/3.0"
    xmlns:gsmlbh="http://xmlns.geosciml.org/Borehole/3.0"
    xmlns:gsmlc="http://xmlns.geosciml.org/Collection/3.0"
    xmlns:gsmlem="http://xmlns.geosciml.org/EarthMaterial/3.0"
    xmlns:gsmlga="http://xmlns.geosciml.org/GeologicAge/3.0"
    xmlns:gsmlgm="http://xmlns.geosciml.org/Geomorphology/3.0"
    xmlns:gsmlgt="http://xmlns.geosciml.org/GeologicTime/3.0"
    xmlns:gsmlgu="http://xmlns.geosciml.org/GeologicUnit/3.0"
    xmlns:gsmlla="http://xmlns.geosciml.org/LaboratoryAnalysis-Specimen/3.0"
    xmlns:gsmlpp="http://xmlns.geosciml.org/PhysicalProperties/3.0"
    xmlns:gsmlst="http://xmlns.geosciml.org/GeologicStructure/3.0"
    xmlns:gsmltrs="http://xmlns.geosciml.org/TemporalReferenceSystem/3.0"
    xmlns:gsmlu="http://xmlns.geosciml.org/Utilities/3.0"
    xmlns:ogc="http://www.opengis.net/ogc"
    xmlns:sld="http://www.opengis.net/sld"
    xmlns:swe="http://www.opengis.net/swe/2.0"
    xmlns:wfs="http://www.opengis.net/wfs/2.0"
    xmlns:xi="http://www.w3.org/2001/XInclude"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <StoredQueryDefinition id="urn:x-ii:def:query:OGC-WFS::GetDatasetByCrs2">
              <wfs:Title xml:lang="en">Get Dataset by ID</wfs:Title>
           <wfs:Parameter xmlns:wfs="http://www.opengis.net/wfs/2.0" name="CRS" type="xs:anyURI"/>
              <wfs:QueryExpressionText isPrivate="false"
                   language="urn:ogc:def:queryLanguage:OGC-WFS::WFSQueryExpression"
                   returnFeatureTypes="au:AdministrativeBoundary">
                   <wfs:Query srsName="${CRS}" typeNames="au:AdministrativeBoundary">
                   </wfs:Query>                                      
              </wfs:QueryExpressionText>
         </StoredQueryDefinition>
    </wfs:CreateStoredQuery>
    
  3. Using the Test button to validate and test the query xml, if the xml pass validation, then click on the "Apply" button to create the stored query.
  4. After the stored query has been created, restart the service
  5. Use the storied query following standard WFS 2.0 operation.

Delete Stored Query: To delete a stored query, follow these steps:

  1. Click on the "Show Details" button next to a stored query
  2. Click the "Delete" button, then "OK"
  3. Restart the service

Note, delete stored query can also be done through http POST operation if the "Enable stored query management through WFS 2.0.0" option is enabled.

1/29/2014