Open nmco opened 5 years ago
Ilkka Rinne 16.3.2017: not true,see my comment for ""Stored Queries"". Iurie Maxim 21.04.2017: According to GetCapabilities document http://geoserver.ymparisto.fi/geoserver/wfs?service=WFS&version=2.0.0&request=getcapabilities the geoserver indicated by ilkka is providing access to a single dataset containing a single feature type. Therefore the comment is not relevant. We agree that there is no prioblem to serve only one dataset with only one feature type through a single instance of Geoserver. The problems are starting when a data provider need to provide access to more than one dataset and more than one feature type. Ilkaa, you should try to serve as well the geographical names of protected sites on the same Geoserver instance and why not even in the same dataset (as for sure the metadata are exactly the same because the named places are embeded in the protected sites)
The Recommandation 13 of the Tehnical Guidelines for Inspire Download Services states: ”The following identifier should be used to identify the Stored Query for serving pre-defined Spatial Data Sets: http://inspire.ec.europa.eu/operation/download/GetSpatialDataSet”. A machine is able to get the entire dataset if the machine knows the name of the stored querry that is providing the entire dataset. Thats why even the EC Geoportal is using the name of the stored querry defined in reccomandation 13 in order to retrieve the dataset in order to test that the WFS is responding. Without fullfiling the recomandation 13 a machine is not able to test a dataset provided via WFS. Therefore the recomandation 13 is actaulay a requirement. The problem is that Geoserver is not able to store two or more stored querries with the same identifier. Therefore if the Geoserver is providing access to more than one datsets, then in order to retrieve those datasets via stored querries, the only solution is to have different identifiers for those stored querries, but this is not in accordance with the reccomandation 13 and even more the EC Geoportal will provide an error as it will not be able to test that WFS without knowing how to retieve the dataset trough a stored querry.
Workaround
The data provider has to instal Geoserver for each dataset. If a data provider has 10 datsets than he will need to install 10 instances of Geoserver on multiple servers with 10 different endpoints.