Skip to main content
Log in

MapScript: A Map Algebra Programming Language Incorporating Neighborhood Analysis

  • Published:
GeoInformatica Aims and scope Submit manuscript

Abstract

Map algebra is a data model and simple functional notation to study the distribution and patterns of spatial phenomena. It uses a uniform representation of space as discrete grids, which are organized into layers. This paper discusses extensions to map algebra to handle neighborhood operations with a new data type called a template. Templates provide general windowing operations on grids to enable spatial models for cellular automata, mathematical morphology, and local spatial statistics. A programming language for map algebra that incorporates templates and special processing constructs is described. The programming language is called MapScript. Example program scripts are presented to perform diverse and interesting neighborhood analysis for descriptive, model-based and processed-based analysis.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. T. Bailey and A. Gatrell. Interactive Spatial Data Analysis. Longman Scientific & Technical: Essex, 1995.

    Google Scholar 

  2. G. Borgefors. “Distance transformations in digital images,” Computer Vision, Graphics, and Image Processing, Vol. 34(3):344-371, 1986.

    Google Scholar 

  3. G. Birkhoff and L. Lipson. “Heterogeneous algebra,” Journal of Combinatorial Theory, Vol. 8:115-133, 1970.

    Google Scholar 

  4. P.A. Burrough. “Dynamic modelling and geocomputation,” in P. Longley, S. Brooks, R. McDonnell and B. MacMillan (Eds.), Geocomputation: A Primer. John Wiley & Sons, 165-191, 1998.

    Google Scholar 

  5. P.A. Burrough and R.A. McDonnell. Principles of Geographical Information Systems. Oxford University Press: New York, 1998.

    Google Scholar 

  6. E. Dijkstra. “A note on two problems in connection with graphs,” Numerische Mathematik, Vol. 1:269-271, 1959.

    Google Scholar 

  7. J.R. Eastman. “Pushbroom algorithms for calculating distances in raster grids,” in Proc. Auto-Carto 9, ASPRS & ACSM: Falls Church, VA, 288-297, 1989.

    Google Scholar 

  8. J.R. Eastman, W. Jin, A. Kyem, and J. Toledano. “Raster procedures for multi-criteria/multi-objective decisions,” Photogrammetric Engineering & Remote Sensing, Vol. 61(5):539-547, 1995.

    Google Scholar 

  9. M. Efford. “Simulating spatially distributed populations,” in R. Floyd, A. Sheppard and P. DeBarro (Eds.), Frontiers of Population Ecology. CSIRO Publishing: Melbourne, 409-418, 1996.

    Google Scholar 

  10. P. Gao, C. Zhan, and S. Menon. “An overview of cell-based modeling with GIS,” in M. Goodchild, L. Steyaert, B. Parks, C. Johnston, D. Maidment, M. Crane and S. Glendinning (Eds.), GIS and Environmental Modeling: Progress and Research Issues. GIS World Books: Fort Collins, 1996.

    Google Scholar 

  11. A. Getis and J.K. Ord. “Local spatial statistics: An overview,” in P. Longley and M. Batty (Eds.), Spatial Analysis-Modelling in a GIS Environment. GeoInformation Int.: Cambridge, 261-277, 1996.

    Google Scholar 

  12. A. Gill. Applied Algebra for the Computer Sciences. Prentice-Hall: New Jersey, 1976.

    Google Scholar 

  13. K. Kemp. “Managing spatial continuity for integrating environmental models with GIS,” in M. Goodchild, L. Steyaert, B. Parks, C. Johnston, D. Maidment, M. Crane and S. Glendinning (Eds.), GIS and Environmental Modeling: Progress and Research Issues. GIS World Books: Fort Collins, 339-343, 1996.

    Google Scholar 

  14. K. Kreith and D. Chakerian. Iterative Algebra and Dynamic Modeling: A Curriculum for the Third Millennium. Springer-Verlag: New York, 1999.

    Google Scholar 

  15. E. Liang and S. Lin. “A hierarchical approach to distance calculations using the spread function,” Int. J. Geographical Information Science, Vol. 12(6):515-535, 1998.

    Google Scholar 

  16. Mathsoft. Mathcad 8 MathConnex User's Manual. Mathsoft, Cambridge, MA, 1997.

    Google Scholar 

  17. J. Nystuen. “Identification of some fundamental spatial concepts,” in B. Berry and D. Marble (Eds.), Spatial Analysis—A Reader in Statistical Geography. Prentice Hall, Englewood Cliffs: New Jersey, 35-41, 1963.

    Google Scholar 

  18. D. Pullar. “Integrating dynamic spatial models with discrete event simulation,” in Proc. Simulation Technology and Training (SimTecT2000) Conf., Sydney, 2000.

  19. G. Ritter, J. Wilson, and J. Davidson. “Image algebra: An overview,” Computer Vision, Graphics, and Image Processing, Vol. 49:297-331, 1990.

    Google Scholar 

  20. A. Rosenfeld and J. Pfaltz. “Distance functions on digital pictures,” Pattern Recognition, Vol. 1:33-61, 1968.

    Google Scholar 

  21. J. Serra. Image analysis and mathematical morphology. Academic Press Ltd.: San Diego, CA, 1982.

    Google Scholar 

  22. J. Skellam. “Random dispersal in theoretical populations,” Biometrika, Vol. 38:196-218, 1951.

    Google Scholar 

  23. B. Su, Z. Li, G. Lodwick, and J-C. Müller. “Algebraic models for the aggregation of area features based upon morphological operators,” Int. J. Geographical Information Science, Vol. 11(3):233-246, 1997.

    Google Scholar 

  24. M. Takeyama and H. Couclelis. “Map dynamics: Integrating cellular automata and GIS through geoalgebra,” Int. J. Geographical Information Science, Vol. 11(1):73-91, 1997.

    Google Scholar 

  25. T. Toffoli and N. Margolus, Cellular automata machines. MIT Press: Cambridge, Massachusetts, 1987.

    Google Scholar 

  26. C.D. Tomlin. Geographic information systems and cartographic modeling. Prentice Hall: Englewood Cliffs, New Jersey, 1990.

    Google Scholar 

  27. C.D. Tomlin. “Cartographic modelling,” in D. Maguire, M. Goodchild and D. Rhind (Eds.), Geographical Information Systems: Longman, 361-374, 1991.

    Google Scholar 

  28. A. Vckovski. “Digital representation of continuous random fields,” in M. Craglia and H. Couclelis (Eds.), Geographic Information Research: Bridging the Atlantic, Taylor & Francis Ltd: London, 382-396, 1997.

    Google Scholar 

  29. C. Wesseling, D-J. Karssenberg, P. Burrough, and W. van Deursen. “Integrating dynamic environmental models in GIS: The development of a dynamic modelling language,” Transactions in GIS, Vol. 1(1):40-48, 1996.

    Google Scholar 

  30. J. Xu and R. Jr. Lathrop. “Improving simulation accuracy of spread phenomena in a raster-based geographic information system,” Int. J. Geographical Information Science, Vol. 9(2):153-168, 1995.

    Google Scholar 

  31. B.P. Zeigler, H. Praehofer, and T. Kim. Theory of modeling and simulation (2nd Ed). Academic Press: New York, 2000.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Pullar, D. MapScript: A Map Algebra Programming Language Incorporating Neighborhood Analysis. GeoInformatica 5, 145–163 (2001). https://doi.org/10.1023/A:1011438215225

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/A:1011438215225

Navigation