1 Laboratory on Geoinformatics and Cartography 5. DOWNLOAD PROCESSES, ORDERING AND DOWNLOAD OF DESIRED DATA Laboratory on Geoinformatics and Cartography • “Download services, enabling copies of spatial data sets, or parts of such sets, to be downloaded and, where practicable, accessed directly (Article 11 of the INSPIRE directive) • Different than Google Maps, Mapy.cz, etc. – You may download “real” data The concept of download in ESDI Laboratory on Geoinformatics and Cartography • “By way of derogation from Article 11(1), Member States may limit public access to spatial data sets and services through the services referred to in points (b) to (e) of Article 11(1), or to the e-commerce services referred to in Article 14(3), where such access would adversely affect any of the following: (a) the confidentiality of the proceedings of public authorities, where such confidentiality is provided for by law; (b) international relations, public security or national defence; Not providing data for download under INSPIRE Laboratory on Geoinformatics and Cartography (c) the course of justice, the ability of any person to receive a fair trial or the ability of a public authority to conduct an enquiry of a criminal or disciplinary nature; (d) the confidentiality of commercial or industrial information, where such confidentiality is provided for by national or Community law to protect a legitimate economic interest, including the public interest in maintaining statistical confidentiality and tax secrecy; (e) intellectual property rights; Not providing data for download under INSPIRE…a long list Laboratory on Geoinformatics and Cartography (f) the confidentiality of personal data and/or files relating to a natural person where that person has not consented to the disclosure of the information to the public, where such confidentiality is provided for by national or Community law; (g) the interests or protection of any person who supplied the information requested on a voluntary basis without being under, or capable of being put under, a legal obligation to do so, unless that person has consented to the release of the information concerned; (h) the protection of the environment to which such information relates, such as the location of rare species.” Not providing data for download under INSPIRE…a really long list Laboratory on Geoinformatics and Cartography • “download services, enabling copies of spatial data sets, or parts of such sets, to be downloaded and, where practicable, accessed directly” (Article 11) The concept of download in ESDI 2 Laboratory on Geoinformatics and Cartography • Question: How do I know whether I have to pay for data or whether they are free of charge? – Sure, in metadata describing those data • Article 14: “Where public authorities levy charges for the services referred to in points (b), (c) or (e) of Article 11(1), Member States shall ensure that ecommerce services are available. Such services may be covered by disclaimers, click-licences or, where necessary, licences.” • What does that mean? What about payments? Laboratory on Geoinformatics and Cartography • Equals to ISO 19142 – ISO 19142 equals to the OGC Web Feature Service 2.0.0 • Only version 2.0.0! • Implemented together with ISO 19143 – ISO 19143 equals to the OGC Filter Encoding 2.0.0 implementation specification • Standard for e-shop of GI products – Still none, discussion about OGC e-commerce services INSPIRE Download service Laboratory on Geoinformatics and Cartography 1. Through a “thin” client – typically a Web browser…however, you have to exactly what to type and what to see 2. Through a “thick” client – e.g. GIS software, common for GI professionals Two possibilities of connecting to a discovery service Laboratory on Geoinformatics and Cartography • Again, all this is originating from INSPIRE legislation (the same as for discovery services • COMMISSION REGULATION (EC) No 1088/2010 of 23 November 2010 amending Regulation (EC) No 976/2009 as regards download services and transformation services • http://eur-lex.europa.eu/legal- content/EN/TXT/?uri=celex:32010R1088 Legislation background Laboratory on Geoinformatics and Cartography • Type in http://services.cuzk.cz/wfs/inspire-cp- wfs.asp?service=WFS&version=2.0.0&request=GetFe ature&typenames=CadastralBoundary&BBOX=- 599098,-1159750,-598602,- 1159520&srsName=urn:ogc:def:crs:EPSG::5514 Let’s make it complex…a use case with Web browser Laboratory on Geoinformatics and Cartography • Get Download Service Metadata • Get Spatial Data Set • Describe Spatial Data Set • Link Download Service Operations of an INSPIRE download service Is it OGC compliant service? 3 Laboratory on Geoinformatics and Cartography A direct access download service extends the functionality of a predefined dataset download service to include the ability to query and download subsets of datasets. The direct access download service allows more control over the download than the simple download of a pre-defined dataset or pre-defined part of a dataset. It can therefore be considered to be more „advanced‟ than pre-defined dataset download. In this case, the spatial information is typically stored in a repository (e.g. a database) and only accessible through a middleware data management system (although the precise implementation may vary). The term direct access is used to mean the capability of a client application or client service to interact directly with the contents of the repository, e.g. by retrieving part s of the repository based upon a query. The query can be based upon spatial or temporal criteria, or by specific properties of the instances of the spatial object types contained in the repository. Second possible approach Do you understand it? Laboratory on Geoinformatics and Cartography • Get Spatial Object – i.e. GetFeature/GetCoverage according to the OGC • Describe Spatial Object Type – i.e. DescribeFeatureType/DescribeCoverageType according to the OGC Direct access download service Laboratory on Geoinformatics and Cartography • For instance, http://services.cuzk.cz/gml/inspire “Indirect” access INSPIRE download service Laboratory on Geoinformatics and Cartography • Result: NO INSPIRE KNOWLEDGE, NO DATA “Indirect” access INSPIRE download service Laboratory on Geoinformatics and Cartography Direct access download service Laboratory on Geoinformatics and Cartography • Much more downloadable data under INSPIRE than discovered through the INSPIRE Geoportal • Several agreements, such as with European Space Agency (ESA) http://www.vito-eodata.be Even more downloadable data 4 Laboratory on Geoinformatics and Cartography • Again defined in legislation • For the Get Download Service Metadata operation, the response time for sending the initial response shall be maximum 10 seconds in normal situation. • For the Get Spatial Data Set operation and for the Get Spatial Object operation, and for a query consisting exclusively of a bounding box, the response time for sending the initial response shall be maximum 30 seconds in normal situation then, and still in normal situation, the download service shall maintain a sustained response greater than 0,5 Megabytes per second or greater than 500 Spatial Objects per second. Quality of service Laboratory on Geoinformatics and Cartography • For the Describe Spatial Data Set operation and for the Describe Spatial Object Type operation, the response time for sending the initial response shall be maximum 10 seconds in normal situation then, and still in normal situation, the download service shall maintain a sustained response greater than 0,5 Megabytes per second or greater than 500 descriptions of Spatial Objects per second. • The probability of a Network Service to be available shall be 99 % of the time. Quality of service Laboratory on Geoinformatics and Cartography Quality of service…still the same Uptime [%] Maximum downtime Per week Per month Per year 95 8.4 hours 36.00 hours 18.25 days 98 3.4 hours 14.40 hours 7.30 days 99 1.7 hours 7.27 hours 3.63 days 99.9 10 minutes 0.73 hours 8.76 hours