(url) { var callback = function (xhrj) { } ajaxj.get(url, true, callback, "try"); } // function SetNumTwo(item) { // alert("jinlia"); // var url = "../userInformation/PDFLogin.aspx"; // var refererrurl = document.referrer; // var downloadurl = window.location.href; // var args = "PaperID=" + item + "&RefererUrl=" + refererrurl + "&DownloadUrl="+downloadurl; // url = url + "?" + args + "&rand=" + RndNum(4); // //// window.setTimeout("show('" + url + "')", 500); // } // function pdfdownloadjudge() { // $("a").each(function(index) { // var rel = $(this).attr("rel"); // if (rel == "true") { // $(this).removeAttr("onclick"); // $(this).attr("href","#"); // //$(this).bind('click', function() { SetNumTwo(42829)}); // var url = "../userInformation/PDFLogin.aspx"; // var refererrurl = document.referrer; // var downloadurl = window.location.href; // var args = "PaperID=" + 42829 + "&RefererUrl=" + refererrurl + "&DownloadUrl=" + downloadurl; // url = url + "?" + args + "&rand=" + RndNum(4); // // $(this).bind('click', function() { ShowTwo(url)}); // } // }); // } // //获取下载pdf注册的cookie // function getcookie() { // var cookieName = "pdfddcookie"; // var cookieValue = null; //返回cookie的value值 // if (document.cookie != null && document.cookie != '') { // var cookies = document.cookie.split(';'); //将获得的所有cookie切割成数组 // for (var i = 0; i < cookies.length; i++) { // var cookie = cookies[i]; //得到某下标的cookies数组 // if (cookie.substring(0, cookieName.length + 2).trim() == cookieName.trim() + "=") {//如果存在该cookie的话就将cookie的值拿出来 // cookieValue = cookie.substring(cookieName.length + 2, cookie.length); // break // } // } // } // if (cookieValue != "" && cookieValue != null) {//如果存在指定的cookie值 // return false; // } // else { // // return true; // } // } // function ShowTwo(webUrl){ // alert("22"); // $.funkyUI({url:webUrl,css:{width:"600",height:"500"}}); // } //window.onload = pdfdownloadjudge;
JGIS> Vol.6 No.1, February 2014
Share This Article:
Cite This Paper >>

Transforming GML to Presentation Languages by Extending XSLT

Abstract Full-Text HTML Download Download as PDF (Size:1335KB) PP. 59-69
DOI: 10.4236/jgis.2014.61007    3,624 Downloads   4,987 Views   Citations
Author(s)    Leave a comment
Sajjad Hassany Pazoky, Farshad Hakimpour


University of Tehran, Tehran, Iran.


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.


Technology; Preference for Quality; Volume of Trade; Vertical Intra-Industry Trade

Cite this paper

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.

comments powered by Disqus
JGIS Subscription
E-Mail Alert
JGIS Most popular papers
Publication Ethics & OA Statement
Frequently Asked Questions
Recommend to Peers
Recommend to Library
Contact Us

Copyright © 2020 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.