A Javascript GIS Platform Based on Invocable Geospatial Web Services
Abstract
:1. Introduction
2. The Influence of Geospatial Web Semantics on GIS
2.1. Geospatial Data Formats
2.1.1. Vector Data
2.1.2. Raster Data
2.1.3. Descriptive Data
2.2. Geospatial Interoperability
2.2.1. Syntactical Interoperability
2.2.2. Semantic Interoperability
2.3. Geospatial Automations
3. Software Prototype Design & Development
3.1. Functional Architecture
- Free WMS and WFS geospatial services provided either by open-source (e.g., Boundless) or commercial (e.g., ESRI) GIS product leaders, satisfy the need of obtaining features and images
- Accessible processing platforms like 52° North initiative, or JavaScript node servers developed to support custom WPS implementations.
- a HTML browser-based interface developed in JavaScript, undertakes to serve user needs over a functional GIS-based environment as described below
3.2. Development
3.2.1. Raster and Vector Layer Views
- Asking for available maps in the form of raster or image views of vectors through a WMS/GetCapabilities request and receiving a list with the offered layers along with further metadata descriptions in XML format
- Requesting for available features through a WFS/GetCapabilities request and receiving a list with the offered feature layers along with further metadata descriptions in XML format
- Requesting for a specific raster (or image views of a vector) layer through a WMS/GetMap request and receiving an image file
- Requesting for a specific vector layer through a WFS/GetFeatures request and receiving an XML file
- The client makes an AJAX (Asynchronous JavaScript and XML) request using the XMLHttpRequest, either WMS or WFS with a URI parameter ‘request = GetCapabilities’.
- The server responds with XML data that will thereafter be parsed to JSON object and finally be viewed by the user as paged table data.
3.2.2. Geospatial Processes
3.2.3. Descriptive Data Management
http://nsidc.org/cgi-bin/atlas_north? service=WFS& version=1.1.0& request=GetFeature& typename=greenland_elevation_contours
<?xml version=“1.0” encoding=“UTF-8”?> <wps:DescribeProcess service=“WPS” version=“1.0.0” xmlns:wps=“http://www.opengis.net/wps/1.0.0” xmlns:ows=“http://www.opengis.net/ows/1.1” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsDescibeProcess_request.xsd”> <ows:Identifier>all</ows:Identifier> </wps:DescribeProcess>
“type”: “Feature”, “geometry”: { “type”: “Point”, “coordinates”: [125.6, 10.1] }, “properties”: {
3.3. End-User Interface
3.3.1. User Interaction
- Tabular data with (a) the available raster or vector layers or processes formed by WMS/WFS/WPS GetCapabilities XML-based files and (b) attributes of selected layers or process descriptions/results formed by WFS/GetFeatures and WPS/Describe-ExecuteProcess respectively, XML-based files
- Vector data coded in GML, the prevailing XML-based format
- Raster data in image file formats representing maps
3.3.2. Major Operational Areas
4. Demo Presentation
- Import a world map
- Import country boundaries
- Export the features of the buffer in shapefile format
- (1)
- The ArcGIS online sample server (http://sampleserver1.arcgisonline.com/) will be employed to provide the world map through the appropriate WMS service
- (2)
- The Boundless demo Geoserver (http://demo.boundlessgeo.com/geoserver/web/) will offer features of the country borders through its WFS services
- (3)
- A custom Node.js server was developed for the purposes of the present work and was registered in 52° North WPS HTML interface developed with wps-js JavaScript library (https://github.com/52North/wps-js), with the aim to transform the GML file in to shapefile format, by exploiting GDAL/OGR libraries as described in Section 3.2.2
5. Conclusions and Future Outlook
- the creation of the appropriate XML content modelling the description and execution of an OGC WPS compatible process and,
- the employment of a GIS engine performing this geospatial process.
Acknowledgments
Author Contributions
Conflicts of Interest
References
- Dragicevic, S. The potential of Web-based GIS. J. Geogr. Syst. 2004, 6, 79–81. [Google Scholar] [CrossRef]
- Chow, T.E. The potential of maps APIs for internet GIS applications. Trans. GIS 2008, 12, 179–191. [Google Scholar] [CrossRef]
- Oxera. What is the Economic Impact of Geoservices? Prepared for Google. 2013. Available online: http://www.oxera.com/Latest-Thinking/Publications/Reports/2013/What-is-the-economic-impact-of-Geo-services.aspx (accessed on 3 March 2018).
- McKee, L.; Reed, C.; Ramage, S. OGC Standards and Cloud Computing; OGC White Paper; OGC: Wayland, MA, USA, 2011. [Google Scholar]
- Yang, C.; Goodchild, M.; Huang, Q.; Nebert, D.; Raskin, R.; Xu, Y.; Bambacus, M.; Fay, D. Spatial cloud computing: How can the geospatial sciences use and help shape cloud computing? Int. J. Digit. Earth 2011, 4, 305–329. [Google Scholar] [CrossRef]
- Evangelidis, K.; Ntouros, K.; Makridis, S.; Papatheodorou, C. Geospatial services in the Cloud. Comput. Geosci. 2014, 63, 116–122. [Google Scholar] [CrossRef]
- Aktas, M.S.; Aydin, G.; Fox, G.C.; Gadgil, H.; Pierce, M.; Sayar, A. Information Services for Grid/Web Service Oriented Architecture (SOA) Based Geospatial Applications. In Proceedings of the 1st International Conference, Beijing, China, 27–29 November 2005. [Google Scholar]
- Buyya, R.; Yeo, C.S.; Venugopal, S.; Broberg, J.; Brandic, I. Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility. Future Gener. Comput. Syst. 2009, 25, 599–616. [Google Scholar] [CrossRef]
- Web Map Service|OGC. Available online: http://www.opengeospatial.org/standards/wms (accessed on 3 March 2018).
- Web Coverage Service|OGC. Available online: http://www.opengeospatial.org/standards/wcs (accessed on 3 March 2018).
- Web Feature Service|OGC. Available online: http://www.opengeospatial.org/standards/wfs (accessed on 3 March 2018).
- Catalog Service|OGC. Available online: http://www.opengeospatial.org/standards/cat (accessed on 3 March 2018).
- Web Processing Service|OGC. Available online: http://www.opengeospatial.org/standards/wps (accessed on 3 March 2018).
- Percivall, G. The application of open standards to enhance the interoperability of geoscience information. Int. J. Digit. Earth 2010, 3, 14–30. [Google Scholar] [CrossRef]
- Papadopoulos, T.; Evangelidis, K. An HTML tool for exploiting geospatial web services. In Proceedings of the Geospatial World Forum, Rotterdam, The Netherlands, 23–26 May 2016. [Google Scholar]
- European Commission. Commission Regulation (EU) No 1312/2014 of 10 December 2014 Amending Regulation (EU) No 1089/2010 Implementing Directive 2007/2/EC of the European Parliament and of the Council as Regards Interoperability of Spatial Data Services. 2014. Available online: http://eur-lex.europa.eu/eli/reg/2014/1312/oj (accessed on 3 March 2018).
- European Commission. European Commission Directive 2007/2/EC of the European Parliament and of the Council of 14 March 2007 Establishing an Infrastructure for Spatial Information in the European Community (INSPIRE). Off. J. Eur. Union 2007, 50, 1–14. [Google Scholar]
- Haklay, M.; Weber, P. Openstreetmap: User-generated street maps. IEEE Pervasive Comput. 2008, 7, 12–18. [Google Scholar] [CrossRef]
- Add WMS Services. Available online: https://pro.arcgis.com/en/pro-app/help/data/services/add-wms-services.htm (accessed on 3 March 2018).
- QGIS Python Plugins Repository. Available online: https://plugins.qgis.org/plugins/wfsclient/ (accessed on 26 January 2018).
- Granell, C.; Díaz, L.; Gould, M. Service-oriented applications for environmental models: Reusable geospatial services. Environ. Model. Softw. 2010, 25, 182–198. [Google Scholar] [CrossRef]
- Stollberg, B.; Zipf, A. OGC Web Processing Service Interface for Web Service Orchestration—Aggregating Geo-Processing Services in a Bomb Threat Scenario; Springer: Cardiff, UK, 2007; pp. 239–251. [Google Scholar]
- Lapierre, A.; Cote, P. Using Open Web Services for urban data management: A testbed resulting from an OGC initiative for offering standard CAD/GIS/BIM services. In Urban and Regional Data Management; Annual Symposium of the Urban Data Management Society: Delft, The Netherlands, 2007; pp. 381–393. [Google Scholar]
- Meng, X.; Xie, Y.; Bian, F. Distributed Geospatial Analysis through Web Processing Service: A Case Study of Earthquake Disaster Assessment. J. Softw. 2010, 5, 671–679. [Google Scholar] [CrossRef]
- Evangelidis, K.; Ntouros, K.; Makridis, S. Geoprocessing Services over the Web. In Proceedings of the 32nd EARSeL Symposium, Mykonos, Greece, 21–24 May 2012; pp. 344–349. [Google Scholar]
- Tzotsos, A.; Alexakis, M.; Athanasiou, S.; Kouvaras, Y. Towards Open Big Geospatial Data for geodata.gov.gr. Available online: https://pdfs.semanticscholar.org/b9ac/b187bfd98f68c625d82d33d527b84c335f41.pdf (accessed on 26 January 2018).
- Sayar, A.; Pierce, M.; Fox, G. Developing GIS visualization web services for geophysical applications. In Proceedings of the ISPRS 2005 Spatial Data Mining Workshop, Ankara, Turkey, 14–16 October 2005. [Google Scholar]
- Sayar, A.; Pierce, M.; Fox, G. Integrating AJAX approach into GIS visualization web services. In Proceedings of the Telecommunications, 2006 AICT-ICIW’06 International Conference on Internet and Web Applications and Services/Advanced, Guadelope, France, 19–25 February 2006; p. 169. [Google Scholar]
- Boundless Releases Server Product to Offer Complete Ecosystem of Enterprise GIS Solutions. Available online: https://boundlessgeo.com/press_releases/boundless-releases-server-product-offer-complete-ecosystem-enterprise-gis-solutions/ (accessed on 3 March 2018).
- ModelBuilder Tutorial. Available online: http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/modelbuilder-tutorial.htm (accessed on 26 January 2018).
- Egenhofer, M.J. Toward the semantic geospatial web. In Proceedings of the 10th ACM International Symposium on Advances in Geographic Information Systems, McLean, VA, USA, 8–9 November 2002; pp. 1–4. [Google Scholar]
- Vockner, B.; Mittlböck, M. Geo-enrichment and semantic enhancement of metadata sets to augment discovery in geoportals. ISPRS Int. J. Geo-Inf. 2014, 3, 345–367. [Google Scholar] [CrossRef]
- Utility Market Embraces ArcFM GIS Solution. Available online: http://www.esri.com/news/arcnews/spring99articles/05_utilitymkt.html (accessed on 26 January 2018).
- Automating Complex Workflows Using Processing Modeler. Available online: http://www.qgistutorials.com/en/docs/processing_graphical_modeler.html (accessed on 26 January 2018).
- Sun, J.; Liu, Y.; Dong, J.S.; Pu, G.; Tan, T.H. Model-based methods for linking web service choreography and orchestration. In Proceedings of the 2010 Asia Pacific Software Engineering Conference, Sydney, Australia, 30 November–3 December 2010; pp. 166–175. [Google Scholar]
- GEO User Feedback System. Available online: http://geoviqua.stcorp.nl/home.html (accessed on 26 January 2018).
- Evangelidis, K. Geoinformation Technologies for Environmental Changes and Pressures Assessment; Polytehnika Press: Bucuresti, Romania, 2018; ISBN 978-606-515-798-9. [Google Scholar]
Title | Past | Today |
---|---|---|
Geospatial Data Structures | ||
Vector data | Binary files (Shapefiles, coverages etc.), proprietary database formats (e.g., ESRI geodatabase) | Text files in XML-based formats (GML, SVG, KML) |
Raster data | Image files (Raster) | Image files (Raster) |
Descriptive data | Text files, proprietary database formats | Text files in XML-based formats (ISO 191xx, RDF etc.) |
Geospatial Interoperability | ||
Syntactic | Common data formats, ODBC connections to spatial databases | OGC Services |
Semantic | Common data models (e.g., UML data models) | OWL, GML, RDF |
Geospatial Automations | ||
Workflows | Batch files and scripts Special model builders and process modellers | Web service orchestration (OGC WPS) |
Actor | User Action—Interface—Server Reactions |
---|---|
U | Declares WMS and WFS servers |
I | Submits WMS-WFS/GetCapabilities requests to the declared servers |
S | Return XML files with the offered raster and vector layers |
I | Transforms XML files to lists of available raster and vector data in the Data Management area |
U | Scans the lists with the available raster data and selects a layer of the world map |
I | Submits WMS/GetMap request to the WMS Server offering the requested map |
S | Returns the requested raster image map |
I | Displays raster image map in the Data View area |
U | Scans the lists with the available vector data and selects a layer of the world boundaries |
I | Submits WFS/GetFeature request to the WFS Server offering the requested features |
S | Returns GML file with the requested features |
I | Displays raster image in the Data View area |
U | Selects layers to form Layout |
I | Permanently stores locally the selected layers which are overlaid in Content area |
U | Selects Geospatial Processing Tools and declares WPS server |
I | Submits WPS/GetCapabilities request to the declared Server |
S | Returns XML file with the offered processes |
U | Selects the Convert file process |
I | Submits a WPS/DescribeProcess request |
S | Returns XML file with a description of the specifications of the requested process |
I | Displays the specifications of the requested process and prompts for user action in filling out parameters and, if required, providing data |
U | Fills the requested data/parameters and submits a request to execute the process |
I | Submits a WPS/ExecuteProcess request |
S | Returns the results of the requested process |
I | Provides the results |
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Evangelidis, K.; Papadopoulos, T. A Javascript GIS Platform Based on Invocable Geospatial Web Services. Geosciences 2018, 8, 139. https://doi.org/10.3390/geosciences8040139
Evangelidis K, Papadopoulos T. A Javascript GIS Platform Based on Invocable Geospatial Web Services. Geosciences. 2018; 8(4):139. https://doi.org/10.3390/geosciences8040139
Chicago/Turabian StyleEvangelidis, Konstantinos, and Theofilos Papadopoulos. 2018. "A Javascript GIS Platform Based on Invocable Geospatial Web Services" Geosciences 8, no. 4: 139. https://doi.org/10.3390/geosciences8040139
APA StyleEvangelidis, K., & Papadopoulos, T. (2018). A Javascript GIS Platform Based on Invocable Geospatial Web Services. Geosciences, 8(4), 139. https://doi.org/10.3390/geosciences8040139