Você está na página 1de 4

JOURNAL OF COMPUTING, VOLUME 3, ISSUE 1, JANUARY 2011, ISSN 2151-9617

HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 31

A Tool to Query GIS


Based on Figurative Approach
1 2
Fatiha Meddah. Guerroudji, Hafida. Belbachir, 3Robert.Laurini

1,2
Laboratoire LSSD, USTOMB Oran, Algeria
3
LIRIS LABORAORY INSA LYON 69621 – VILLEURBANNE CEDEX – FRANCE

Abstract— The querying is one of the most important activities in a GIS as a support for decision making and problem
solving. However, traditional SQL-like database query languages are inappropriate for GIS applications. GIS users are generally
non-computer scientists. It thus appears that a particular interest must be taken to the interfaces and the effectiveness of the means
of querying offered to the GIS user. In this area this paper presents the spatial query tool prototype for GIS with strong visual
context. We first present a brief state of the art of languages dedicated to GIS and then formally define our visual tool.

Index Terms— geographic information system, visual interface, query language,

1. INTRODUCTION
The first approach directly uses the principles of

G
algebra and geometry. Works of Tomlin [14] [15]
eographic information system (GIS) is a based on the cartographic algebra are most known.
One second approach is based on the use of
computer-based system that is able to store, manage, formal languages often issued from standard SQL,
analyse and visualise a great deal of geographic with Egenhofer’s works [3] on the extensions of the
information. SQL, PSQL [11], SQL3 [12] and many other
Geographic Information Systems (GIS) are alternatives. In this approach, one extracts
raising growing interest for their ability to perform information from the system by using a built query.
complex analysis tasks, and provide decision This approach is by nature not adapted to naive
making support. These abilities make GIS valuable users (not mastering data-processing tools) because
to a wide range of public and private enterprises for it requires often hard training.
mapping and analysing objects, explaining events, A third approach still in research in the GIS
predicting outcomes and planning strategies. community is where the access to geographic
During the last decades, computer science information is done by the exclusive use of the
researchers have devoted much effort to enhance the natural language. This approach turns around the
usability of GIS, so as to allow domain experts to natural language in the context of the spatial
learn the use of those systems and fully exploit their expression, strongly supported by research in
functionality. cognition, language and data processing.
In this context, several languages have been However, the suitable phenomena for the natural
proposed aimed at assisting unskilled users to query language (paraphrase, inference, etc) are very
GIS based on various approaches that are rapidly difficult to master from the point of view of
examined. understanding.
JOURNAL OF COMPUTING, VOLUME 3, ISSUE 1, JANUARY 2011, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 32

This approach currently turns against the


problems arising generally from the processing
having for objective the understanding of the natural
language. Indeed, the formulation of the queries can
prove to be long (a drawing is worth thousand
words). Textual queries are still difficult to interpret
though recent solutions are proposed in [10].
Thematic
Spatial Geographic
The fourth approach is described as figurative. referenc
isystems
features
The interfaces based on this approach often offer
some visual means (icons, diagram, and drawing) in
Temporal
order to express required information.
A first family of this approach offers a relative
freedom to the user to draw his spatial
configurations. Spatial-Query-By-sketch [4] [5] and Fig.1. Geographic data consist of geographic features and a
set of observations related to certain reference systems [6].
the language Sketch! [9] are examples of this
approach.
In addition, each observed geographic feature
The second family of this approach represented
can be described by: its geometrical shape (the form,
by Cigales [2] and LVIS [1], offers a set of icons
the position), the topological relations which it
which represent the geographic features and the
maintains with other entities, its semantic attributes
spatial relations (inclusion, intersection, and
(textual, qualitative, quantitative information on an
adjacency) that one can combine to build a query.
feature with the exception of the geometric and
In this context, the paragraphs which follow in
topological aspects).
this article describe our tool prototype named
ENVIS for querying GIS based on figurative
approach. 3. FIGURATIVE APPROACH FOR QUERYING GIS

2. BASIC DEFINITION ON GEOGRAPHIC The figurative approach was recommended in our


INFORMATION study to solve our problems of GIS querying.
Geographic information is visual information by
essence, moreover visual languages based on the
Many authors gave multiple definitions and
metaphor of the blackboard using the combination
descriptions of geographic information.
of icons are friendly and simple of use; their query
The concept of geographic information adopted
mode is simple and well adapted to the occasional
within the framework of our study, was defined by
users who are not experts in the domain
[6] as a cognitive process (acquisition,
In addition, a user who wants to query GIS data has
interpreting/reasoning, expression) guided by
already delimited his field of action. I.e. he already
contexts and uses applying to observations carried
builds his query in terms coming from his field of
out to entities located in a geographic space, in order
expertise.
to restrict possible interpretations of them (to confer
In order to represent the reality as seen by a user, it
a meaning).
is really an translation effort to formulate a query
This general standard lays before the concepts of
concerning his center of interests by means of the
observations, located entities and geographical space
available vocabulary.
which it is necessary to specify or to define with
In ENVIS, the formulation of the query is based on
precision geographic information.
successive selections of icons and metaphors. During
Geographic space is a “physical or geometric”
this formulation the visual representation of the
space in which it is possible to carry out
center of interest of the user is built gradually.
observations. These observations are related to
The icons represent the objects of the geographical
geographic space and characterize the various
database; the metaphors represent the types of
components of this space: geographical features
objects and the relations necessary to the expression
(Fig.1).
of the spatial and temporal constraints in the query.
JOURNAL OF COMPUTING, VOLUME 3, ISSUE 1, JANUARY 2011, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 33

A query contains objects or types of objects with one


4. THE CONCEPTUAL MODEL
or more criteria. The objects or types of objects of the
query constitute its operands; criteria are the
First of all, let us specify what is understood by a operators applying to its operands.
spatial database. The objects of a spatial database The query formulated on a spatial database is
have an object-ID, an identifier of theme (in general qualified of a theme query, spatial query, temporal
consisted in the theme of the object and its name, the or spatio-temporal query according to the contents
spatial location, the temporal location and a set of of their criterion of selection.
attributes values (primarily, with alphanumeric A theme query (resp. spatial, temporal,
values). spatiotemporal) relate to the values of the theme
In ENVIS we suppose here that all objects have a attributes (resp. spatial location, temporal location,
spatial location determining their spatial type and spatial location and temporal location) of the objects
their geometry (in the form of a sequence of points of this query.
of space). We also consider the specific, linear and
surfacic objects.
The visual representation of these spatial types 5. ENVIS: A TOOL PROTOTYPE FOR GIS
(linear and surfacic) is given such as the specific QUERYING
objects are compared to surfacic objects of null
surfacic and thus their visual representation is the The Figure 2 presents the principal interface of our
same one as for that of the surfacic objects. prototype ENVIS.
Lastly, let us note that some objects do not have a
significant spatial location. The mobile objects, for
example, are in perpetual movement. These objects
are then compared to specific objects and their
spatial location is related to their temporal location.
We also suppose that all the objects have a temporal
location expressed in the form of an interval of time
delimited by two dates according to a given
temporal axis. One date is regarded as being an
interval of null duration.
A type of object of the database will be represented
visually by its theme type and its spatial type. In the
same way an object is represented by its theme Fig 2.ENVIS Interface
identifier
The theme type is visualized by an icon. The theme ENVIS comprises an editor of visual query in the
identifier consists of the icon of the theme type and a center of which a working space is reserved for the
text value which is a label of this icon. construction of a query starting from the selected
The visual representation of the spatial type is then visual elements step by step (Fig.3).
linked to a theme type (resp. theme identifier) to
give the complete visual representation of a object
type (resp. object).
The theme type is the logical name of a table or a
layer of map of the database. The theme identifier
indicates an object of the table or the map layer the
name of which corresponds to the value of its to
theme type. Thus, in our database example, the
theme types, and thus the tables, are forest, river,
town, roads…

Fig 3. Visual formulation of a spatial query.


JOURNAL OF COMPUTING, VOLUME 3, ISSUE 1, JANUARY 2011, ISSN 2151-9617
HTTPS://SITES.GOOGLE.COM/SITE/JOURNALOFCOMPUTING/
WWW.JOURNALOFCOMPUTING.ORG 34

At the end of the formulation of the query this 7. REFERENCES


one can be stored for a later use, erased in the event [1] C.Bonhomme, MA Aufaure, R.Laurini, C.Trépied
of error or validated and then must be translated « Metaphors for visual querying spatio-temporal databases »
into the target language: SQL (Fig.4). LISI-INSA, France, 2004.
[2] D. Calcinelli and M. Mainguenaud Cigales : a visual query
language for a geographical information system : the user
interface. Journal of visual languages and computing, (5):
1994, pp 113–132.
[3] M.J Egenhofer « Extending SQL for Cartographic Display »
Cartography and Géographic Information System, 1991,
pp230-245.
[4] M. Egenhofer. « Spatial-query-by-sketch ». In M. Burnett and
W. Citrin, editors, VL’96 : IEEE Symposium on Visual
Languages, Boulder, CO,September 1996, pp 60–67.
[5] M. Egenhofer. « Query processing in spatial-query-by-sketch»
Journal of Visual Languages and Computing, (8) 1997. pp
403–424.
[6] M.Gaio, « Geographical Data processings: representations and
structures» University of Caen-Basse-Normandie, HDR, 2001.
[7] M.Gaio, J.Madelaine, C.Turbout, « De la gestion à la
Fig 4.Translation of the visual query in SQL language. réutilisation d’information géographique hétérogène multi-
sources sur Internet », Acts of the Cassini days 2002, France,
pp1-20.
Other conditions can enrich the visual query such
[8] A.Lbath, «AIGLE: un environnement visuel pour la conception
as Boolean expressions. et la génération automatique d’applications géomatiques »,
PhD INSA Lyon, 1997.
[9] B. Meyer. « Towards new metaphors for visual query
6. CONCLUSION languages for spatial information systems» In Proc. of the first
International Workshop on Interfaces to Database Systems,. R.
The querying is one of the most important operations
Cooper, Springer Verlag, Glasgow, UK 1993, pp113–135.
in the life of a GIS. It thus appears that a particular [10] S.Ploux, H.JI « A model for matching semantic maps between
interest must be taken to the interfaces and the languages (French/English, English/French) » Computational
effectiveness of the means of querying offered to the Linguistics, 29 (2), 2003, pp 155-178.
GIS user. [11] N. Roussopoulos, C.Faloutsos, T.Sellis « An efficient pictorial
database system for PSQL » IEEE Transactions on Software
Our tool prototype called ENVIS which was Engineeering, 14 (5), 1988, pp 639-650.
presented in the preceding sections was designed [12] R.T.Snodgrass, M.H.Bhlen, C.S.Jensen, A.Steiner.
and produced in the aim to meet these problems of «Transitioning temporal support in TSQL2 to SQL3. In:
GIS querying. Temporal database management» (ed. Jensen, C.S.), 1998,
ENVIS uses the formulation of geographic query in a pp615-663.
[13] M.Thériault, « Système d’Informations Géographiques:
visual way. With this intention, we initially choose Concepts Fondamentaux », Notes of course N° 12, LATIG,
the adapted visual representation of data. We have Department of Geography, Laval University, 1996 .
then identified the various necessary steps for the [14] C.D.Tomlin. «Digital cartographic modelling techniques in
visual expression of the query. environmental planning. » PhD., School of Forestry and
The figurative approach advocated in ENVIS is very Environmental Studies, New Haven, CT, Yale University,
1983.
interesting in this area where users are numerous. [15] C.D.Tomlin. «Geographic information systems and
This querying mode offers a simple and easy means cartographic modelling ». Englewood Cliffs, NJ, Prentice Hall.
to the end-user who expresses his query with icons 1990, pp 249 .
and metaphors. [16] C. Turbout, « Construction d’hypertexte et recherche
d’informations hétérogènes : la spécificité de l’information
The visual representation seems to be a
géographique », PhD University of Caen, France, 2002
representation adapted to the user of the GIS and a
very promising field to solve problems of GIS
querying.

Você também pode gostar