Transforming GML to Presentation Languages by Extending XSLT


Diversity of practices and methods in all fields is the basis of emerging standards in different areas. World Wide Web Consortium (W3C) has standardized eXtensible Markup Language (XML) as a very convenient tool to structure data for numerous purposes. OGC standardized Geography Markup Language (GML), which is an XML-based language, to store and transport geospatial data. Despite the fact that it is a medium to separate georeferenced data from presentation, GML by itself is not intended to visualize geo-referenced data. One of the solutions to visualize GML is to use eXtensible Style sheet Language Transformation (XSLT) as transformer to a visualization language such as Scalable Vector Graphic (SVG). Unlike the usual procedure, the major advantage of the proposed approach is that the transformation process is shifted to the client-side. XSLT as a median language is a general-purpose transformation tool. As it is not specialized for map cartography, map making process is very complicated using this primitive language. To facilitate transformation process, in this research, XSLT is extended to meet cartography requirements. Furthermore, a graphical user interface (XCartoT) is designed to set all the map properties interactively. XCartoT provides a user-friendly interface for cartographers to automatically generate necessary XSL files for their intended maps. The goal of this research is to develop a major step towards the geospatial Web.

Share and Cite:

S. Pazoky and F. Hakimpour, "Transforming GML to Presentation Languages by Extending XSLT," Journal of Geographic Information System, Vol. 6 No. 1, 2014, pp. 59-69. doi: 10.4236/jgis.2014.61007.

Conflicts of Interest

The authors declare no conflicts of interest.


[1] Open Geospatial Consortium (OGC), “Geograpy Markup Language (GML),” 2007.
[2] G. Gartner, D. A. Bennet and T. Moritta, ‘Towards Ubiquitous Cartography,” Cartography and Cartographic Information Science, Vol. 34, No. 4, 2007, pp. 247-257.
[3] Z. Peng and C. Zhang, “The Roles of Geography Markup Language (GML), Scalable Vector Graphic (SVG), and Web Feature Service (WFS) Specifications in the Development of Internet Geographic Information Systems (GIS),” Journal of Geographic Systems, Vol. 6, No. 2, 2004, pp. 95-116.
[4] World Wide Web Consortium (W3C), “Scalable Vector Graphics (SVG) 1.1 (Second Edition),” 2011.
[5] A. Neumann and A. M. Winter, “Time for SVG—Towards High Quality Interactive Web-Maps,” Proceedings of the 20th International Cartographic Conference, Beijing, 6-10 August 2001, pp. 2349-2362.
[6] B. Jenny, A. Terribilini, H. Jenny, R. Gogu, L. Hurni and V. Dietrich, “Modular Web-Based Atlas Information Systems,” Cartographica, Vol. 41, No. 3, 2006, pp. 247-256.
[7] X. Yao and L. Zou, “Interoperable Internet Mapping: An Open Source Approach,” Cartography and Geographic Information Science, Vol. 35, No. 4, 2008, pp. 279-293.
[8] M. Kramis, C. Gabathuler, S. I. Fabrikant and M. Waldovogel, “An XML-Based Infrastructure to Enhance Collaborative Geographic Visual Analytics,” Cartography and Geographic Information Science, Vol. 36, No. 3, 2009, pp. 281-293.
[9] World Wide Web Consortium (W3C), “XSL Transformations (XSLT) Version 2.0,” 2007.
[10] A. Scharl and K. Tochtermann, “The Geospatial Web: How Geobrowsers, Social Software and the Web 2.0 Are Shaping the Network Society,” Springer, London, 2007.
[11] Z. R. Peng and M. H. Tsou, “Internet GIS,” Wiley, Hoboken, 2003.
[12] S. Gundavaram, “CGI Programming on the World Wide Web,” O’Reilly Associates, Sebastopol, 1996.
[13] B. Huang and M. F. Worboys, “Dynamic Modelling and Visualization on the Internet,” Transactions in GIS, Vol. 5, No. 2, 2001, pp. 131-139.
[14] B. Kropla, “Beginning MapServer: Open Source GIS Development,” Springer-Verlag, New York, 2005.
[15] P. Mansfield and D. Filler, “Graphical Stylesheets Using XSLT to Generate SVG,” Proceedings of XML Conference.
[16] G. Taladoire, “Geospatial Data Intergration and Visualisation Using Open Standard,” 7th EC-GI & GIS Workshop, Potsdam, 13-15 June 2001.
[17] W. T. M. S. B. Tennakoon, “Visualization of GML Data Using XSLT,” Diploma Thesis, International Institute for Geo-Information Science and Earth Observation, Enschede, 2003.
[18] M. Spanaki, B. Antoniou and L. Tsoulos, “Web Mapping and XML Technologies: A Close Relationship,” 7th AGILE Conference on Geographic Information Science Heraklion, 29 April-1 May 2004.
[19] L. P. Bonati, L. Fortunati and G. Fresta, “SVG Explorer of GML Data,” Proceedings of SVG Open, Vancouver, 13-18 July 2003.
[20] R. Lake, “Making Maps for the Web with GML,” Galdos Systems, Inc.

Copyright © 2022 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.