<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Algorithm for constructing three-dimensional Barcodes to represent nD spatial objects in GIS</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>D Е Andrianov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>S V Eremeev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Y A Kovalev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Vladimir State University named after Alexander Grigorievich and Nikolai Grigorievich Stoletovs</institution>
          ,
          <addr-line>Gorky street, 87, Vladimir, Russia, 600000</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2019</year>
      </pub-date>
      <fpage>206</fpage>
      <lpage>210</lpage>
      <abstract>
        <p>The article describes the algorithm for creating three-dimensional Barcodes to represent nD features. The algorithm is based on computer topology methods using the 3D sweep hull algorithm for computing convex hulls and Delaunay triangulation. The result of the algorithm are 3D Barcodes of features. 3D Barcode graphs were built that reflect their time differences.. The algorithm for constructing 3D Barcodes will allow analyzing spatial nD objects at different time intervals.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Currently, geographic information systems mainly work with vector 2D maps. But now, the
information on 2D maps is not enough for a more detailed analysis of the terrain, so GIS is
increasingly beginning to include the ability to process 3D maps.</p>
      <p>
        The relevance of the work lies in the fact that the existing algorithms for processing and storing 3D
map data work exclusively with coordinates, which significantly increases the processing time of such
objects. It is proposed to apply computer topology methods using the 3D sweep hull algorithm to
develop an algorithm for constructing 3D Barcodes that will allow storing and quickly processing data
on spatial objects in GIS [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1, 2, 3</xref>
        ].
      </p>
      <p>
        There are various algorithms for handling nD features. In [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], an algorithm is presented that allows
processing nD objects. The meaning of the algorithm is to simulate n-dimensional characteristics (time
and scale) as additional geometric dimensions perpendicular to the spatial objects, creating a higher
order model in the use of intervals, on the basis of which 2D models are raised to the following
dimensions. These intervals are obtained from the cell complex (topological space) and they are
divided into smaller ones. Extrusion is a widely used method in GIS for creating simple 3D models.
Starting from the planar partition of the polygons and the height interval associated with each of them,
it generates a set of spatially-decomposing rectangular polyhedra, assuming that each polygon exists
over its entire segment. For example, a set of building trails and related heights are squeezed into a set
of simple prismatic buildings [
        <xref ref-type="bibr" rid="ref5 ref6 ref7">5, 6, 7</xref>
        ].
      </p>
      <p>
        The authors of [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] were builded the foundation for the integration of five dimensions into one
formal presentation of data. The formal definition of geographic data in the 5D conceptual continuum
will most effectively manage and query geographic data using one integrated approach. In addition, it
will ensure consistency in scope and time.
      </p>
      <p>This approach led to a new theory and method for geodata, as well as technologies that implement
multidimensional partitioning. Integration of multidimensional geodata concepts allows to use of
common geometry and embedded topological, temporal and scale structures through full 3D + time +
scale splitting.</p>
      <p>But these algorithms are based on the use of coordinates of objects, which significantly slows down
their processing.</p>
      <p>In this work, three-dimensional Barcodes will be built on the basis of data from spatial objects from
a 3D map. The resulting Barcodes will be compared with 2D Barcodes for vector maps. The
advantages of the developed algorithm can be considered as the speed of work, the ability to work
with three-dimensional maps, as well as to store object changes over time.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Algorithm for constructing 3D Barcodes for nD features in GIS</title>
      <p>
        The algorithm of building 3D Barcodes is based on the 3D sweep hull algorithm [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. This algorithm is
also called the Newton apple shell, and it functions as follows:
1. Sort a set of points {x, y, z} in the sequence z  x  y .
2. Starting with the first of the sorted points, the points are connected, until a triangle of the area
is formed to form an array. The process of connection occurs by building a ball around each
point.
3. New points are sequentially added to the array. The edges of the array are triangles, which are
represented as a list with information about adjacency. The process of adding a new point to
the array includes determining which triangular faces are visible to the new point and
replacing them with new triangles made using the new point and closing the edges in terms of
the new point.
4. Next, a non-intersecting triangulation of the set of triangles is created.
5. Adjacent pairs of triangles of this triangulation must be “inverted” in order to create Delaunay
triangulation from the original non-overlapping triangulation.
      </p>
      <p>The algorithm generates Delaunay triangulation together with a three-dimensional convex hull for a
set of points.</p>
      <p>
        The construction of the Barcode itself takes place by analogy with 2D Barcodes as described in
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. The object barcode B = {(xi , li )} , where, i = 1,2…, n is the hole number, n is the number of
holes, x i is the coordinate of the beginning of the object’s Barcode hole, li is the length of the
object’s Barcode hole.
      </p>
      <p>A distinctive feature is the addition of the third component in the Barcode which is a time t .
Taking into account the added time, Barcodes for different periods of time are combined on each
radius into a single component.</p>
      <p>
        Accordingly, 3D Barcodes, built on the basis of data on nD objects, will look like this:
B = {(xi , li , t i )} , where ti is a certain period of time in which the object was changed [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ].
      </p>
      <p>Also 3D Barcode can have another third component line, for example, scale s .</p>
      <p>Then the Barcode will look like: B = {(xi , li , si )} , where si is the scale on which the feature is
displayed.</p>
      <p>3D Barcode can be built not only for one object, but also for their group. In this case, the
coordinates of the entire group of objects will be perceived as a single object.</p>
      <p>Consider the construction of 3D Barcode on an example. Figure 1 shows a 3D feature. Figure 2
shows the 3D Barcode for the object shown in Figure 1.</p>
      <p>The graph of Figure 2 shows the Barcode length on the axis x, the Barcode radius on the axis y, and
the year of change on the axis z.</p>
    </sec>
    <sec id="sec-3">
      <title>3. The results of the algorithm</title>
      <p>To carry out the experiment of building 3D Barcode, a tablet of the 1990s was taken, reflected in
Figure 3 (a) with the image of a map of the city's terrain. Some of the objects were built in 3D, and
Barcode was built for them. Then the plot from this area was taken from Yandex maps for 2018. This
area is reflected in Figure 3 (b). For these objects was also built 3D Barcode shown in Figure 3 (c).
c)
Figure 3. A group of objects and their 3D Barcodes: a-b) Objects that change over time; c) 3D</p>
      <p>Barcodes of objects in different time intervals.</p>
      <p>For comparison, 2D Barcodes were constructed for the objects from Figure 3 (a, b). These
Barcodes are shown in Figure 4 (a, b).</p>
      <p>When comparing 2D and 3D Barcode graphs, we can conclude that 3D Barcodes are more
informative, store more information, and, unlike 2D Barcodes, allow you to quickly access the desired
nD object on the map. One of the advantages of the algorithm's performance is the use of Delaunay
triangulation for constructing holes of objects, which significantly reduces the processing time of
objects.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>An algorithm for constructing 3D Barcode for nD features developed in the article. It can be
applicable to all vector maps, including 3D maps.</p>
      <p>Unlike 2D Barcode, this algorithm takes into account an additional characteristic which is a time. This
allows to track changes in nD features over the years.</p>
      <p>In the future, the algorithm will also be able to use the scale as an additional characteristic, which will
significantly reduce labor costs when working with vector maps.</p>
      <p>The developed algorithm is also useful in real estate. It will allow to search for the best terrain for
building buildings, estimate the time of building objects, as well as analyze areas for missing
buildings.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>The reported study was funded by RFBR and Vladimir region according to the research project №
1747-330387.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Eremeev</surname>
            <given-names>S V</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Andrianov D E and Komkov</surname>
            <given-names>V A</given-names>
          </string-name>
          <year>2013</year>
          <article-title>Algorithms for the formation of a graph model of an urban area in a</article-title>
          <source>GIS Geoinformatics</source>
          <volume>4</volume>
          <fpage>19</fpage>
          -
          <lpage>24</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Zhilin</given-names>
            <surname>Li</surname>
          </string-name>
          and
          <article-title>Qi Zhou 2012 Integration of linear and areal hierarchies for continuous multiscale representation of road networks Intern</article-title>
          .
          <source>J. of Geographical Information Science</source>
          <volume>26</volume>
          <fpage>855</fpage>
          -
          <lpage>880</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>[3] Herbei and Radulov I 2015 Topology of spatial data In 15th International Multidisciplinary Scientific GeoConference SGEM 2</article-title>
          (
          <issue>2</issue>
          )
          <fpage>87</fpage>
          -
          <lpage>94</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Arroyo</given-names>
            <surname>Ohori</surname>
          </string-name>
          <string-name>
            <given-names>K</given-names>
            ,
            <surname>Ledoux</surname>
          </string-name>
          <string-name>
            <given-names>H</given-names>
            and
            <surname>Stoter J 2015</surname>
          </string-name>
          <article-title>A dimension independent extrusion algorithm using generalised maps</article-title>
          <source>International Journal of Geographical Information Science</source>
          <volume>29</volume>
          (
          <issue>7</issue>
          )
          <fpage>1166</fpage>
          -
          <lpage>1186</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Myasnikov</surname>
            <given-names>E V</given-names>
          </string-name>
          <year>2017</year>
          <article-title>Hyperspectral image segmentation using dimensionality reduction and classical segmentation approaches</article-title>
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>4</issue>
          )
          <fpage>564</fpage>
          -
          <lpage>572</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179- 2017-41-4-
          <fpage>564</fpage>
          -572
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Afanasyev</surname>
            <given-names>A A</given-names>
          </string-name>
          <year>2017</year>
          <article-title>Hybrid methods of automated identification of changes in landscape cover according to the data of remote sensing of the Earth under noise conditions</article-title>
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>3</issue>
          )
          <fpage>431</fpage>
          -
          <lpage>440</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          -6179-2017-41-3-
          <fpage>431</fpage>
          -440
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Pechenkin</surname>
            <given-names>V V</given-names>
          </string-name>
          <year>2017</year>
          <article-title>Optimization of placement of observation tools in a three-dimensional scene in order to minimize “blind zones</article-title>
          ”
          <source>Computer Optics</source>
          <volume>41</volume>
          (
          <issue>2</issue>
          )
          <fpage>245</fpage>
          -
          <lpage>253</lpage>
          DOI: 10.18287/
          <fpage>2412</fpage>
          - 6179-2017-41-2-
          <fpage>245</fpage>
          -253
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Peter van Oosterom</surname>
          </string-name>
          and
          <source>Jantien Stoter 2014 5D Data Modelling: Full Integration of 2D/3D Space, Time and Scale Dimensions Techncial University of Delft</source>
          <volume>1</volume>
          <fpage>2</fpage>
          -
          <lpage>16</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Dr</given-names>
            <surname>David A Sinclair 2016</surname>
          </string-name>
          <article-title>A 3D Sweep Hull Algorithm for computing Convex Hulls and Delaunay Triangulation 1 p 26</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Kovalev</surname>
            <given-names>Y A</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eremeev</surname>
            <given-names>S V</given-names>
          </string-name>
          and
          <string-name>
            <surname>Andrianov D E 2018</surname>
          </string-name>
          <article-title>Algorithm for searching for differences in spatial objects that change over time</article-title>
          ,
          <source>based on Barcode International Conference on Soft Computing and Measurements</source>
          <volume>1</volume>
          <fpage>481</fpage>
          -
          <lpage>483</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Boissonnat</surname>
            <given-names>J-D</given-names>
          </string-name>
          ,
          <article-title>Srikanta K C and Tavenas S 2015 Building Efficient and Compact Data Structures for Simplicial Complexe An extended abstract appeared in the proceedings of SoCG 1 p 230</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Edelsbrunner</surname>
            <given-names>H</given-names>
          </string-name>
          and
          <string-name>
            <surname>Mucke E P 1994</surname>
          </string-name>
          <article-title>Three-dimensional alpha shapes</article-title>
          <source>ACM Trans Comput Graphics</source>
          <volume>13</volume>
          <fpage>43</fpage>
          -
          <lpage>72</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>