<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="3.0" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher">ISPRS-Archives</journal-id>
<journal-title-group>
<journal-title>The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences</journal-title>
<abbrev-journal-title abbrev-type="publisher">ISPRS-Archives</abbrev-journal-title>
<abbrev-journal-title abbrev-type="nlm-ta">Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2194-9034</issn>
<publisher><publisher-name>Copernicus Publications</publisher-name>
<publisher-loc>Göttingen, Germany</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.5194/isprs-archives-XLII-4-W2-95-2017</article-id>
<title-group>
<article-title>QUERY SUPPORT FOR GMZ</article-title>
</title-group>
<contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Khandelwal</surname>
<given-names>A.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Rajan</surname>
<given-names>K. S.</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
</contrib-group><aff id="aff1">
<label>1</label>
<addr-line>Lab for Spatial Informatics, International Institute of Information Technology, Hyderabad, India</addr-line>
</aff>
<pub-date pub-type="epub">
<day>05</day>
<month>07</month>
<year>2017</year>
</pub-date>
<volume>XLII-4/W2</volume>
<fpage>95</fpage>
<lpage>99</lpage>
<permissions>
<copyright-statement>Copyright: &#x000a9; 2017 A. Khandelwal</copyright-statement>
<copyright-year>2017</copyright-year>
<license license-type="open-access">
<license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri"  xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p>
</license>
</permissions>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLII-4-W2/95/2017/isprs-archives-XLII-4-W2-95-2017.html">This article is available from https://isprs-archives.copernicus.org/articles/XLII-4-W2/95/2017/isprs-archives-XLII-4-W2-95-2017.html</self-uri>
<self-uri xlink:href="https://isprs-archives.copernicus.org/articles/XLII-4-W2/95/2017/isprs-archives-XLII-4-W2-95-2017.pdf">The full text article is available as a PDF file from https://isprs-archives.copernicus.org/articles/XLII-4-W2/95/2017/isprs-archives-XLII-4-W2-95-2017.pdf</self-uri>
<abstract>
<p>Generic text-based compression models are simple and fast but there are two issues that needs to be addressed. They cannot leverage
the structure that exists in data to achieve better compression and there is an unnecessary decompression step before the user can actually
use the data. To address these issues, we came up with GMZ, a lossless compression model aimed at achieving high compression
ratios. The decision to design GMZ (Khandelwal and Rajan, 2017) exclusively for GML&apos;s Simple Features Profile (SFP) seems
fair because of the high use of SFP in WFS and that it facilitates high optimisation of the compression model. This is an extension of
our work on GMZ. In a typical server-client model such as Web Feature Service, the server is the primary creator and provider of
GML, and therefore, requires compression and query capabilities. On the other hand, the client is the primary consumer of GML, and
therefore, requires decompression and visualisation capabilities. In the first part of our work, we demonstrated compression using a
python script that can be plugged in a server architecture, and decompression and visualisation in a web browser using a Firefox addon.
The focus of this work is to develop the already existing tools to provide query capability to server. Our model provides the ability
to decompress individual features in isolation, which is an essential requirement for realising query in compressed state. We con -
struct an R-Tree index for spatial data and a custom index for non-spatial data and store these in a separate index file to prevent alter -
ing the compression model. This facilitates independent use of compressed GMZ file where index can be constructed when required.
The focus of this work is the bounding-box or range query commonly used in webGIS with provision for other spatial and non-spatial
queries. The decrement in compression ratios due to the new index file is in the range of 1&amp;ndash;3 percent which is trivial considering
the benefits of querying in compressed state. With around 75&amp;thinsp;% average compression of the original data, query support in compressed
state and decompression support in the browser, GMZ can be a good alternative to GML for WFS-like services.</p>
</abstract>
<counts><page-count count="5"/></counts>
</article-meta>
</front>
<body/>
<back>
</back>
</article>