z-logo
Premium
A logic programming approach to cartographic map overlay
Author(s) -
Wu Peter Y. F.,
Franklin W. Randolph
Publication year - 1990
Publication title -
computational intelligence
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.353
H-Index - 52
eISSN - 1467-8640
pISSN - 0824-7935
DOI - 10.1111/j.1467-8640.1990.tb00290.x
Subject(s) - computer science , grid , overlay , grid reference , representation (politics) , vector map , theoretical computer science , object (grammar) , set (abstract data type) , data structure , prolog , algorithm , data mining , mathematics , artificial intelligence , geometry , programming language , mobile robot , politics , law , political science , robot
Cartographic map overlay is the process of superimposing two maps into one to convey information in spatial correlation. A map refers to one in vector representation: a two‐dimensional spatial data structure of nodes, chains, and polygons. We present a map overlay system developed in Prolog. The system adopts a relational approach to data structuring. We represent geometric entities and their relationships as facts, and encode geometry algorithms in the rules. Set‐based operations perform data processing. To speed up the search for chain intersections, a uniform rectangular grid is imposed over the object space for spatial sorting by distribution. We sort out potentially intersecting edge segments to those occupying some common grid cell. Each bucket, if non‐empty, is implemented as a Prolog fact identifying the grid cell for random access. Geometric intersections are calculated using exact rational arithmetic implemented in Prolog. Numerical accuracy is preserved and we can identify all the special cases of tangent conditions. We can then guarantee topological consistency, and stability in the process of map overlay is therefore achieved.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here