Title: Overcoming 64kb data size limit in handling large spatial data in GISNIC while cleaning and building topology

Authors: Vinay Kumar, Vandana Sharma

Addresses: Scientist 'D', NIC, Block A, CGO Complex, Lodhi Road, New Delhi 110 003, India. ' Scientist 'D', NIC, Block A, CGO Complex, Lodhi Road, New Delhi 110 003, India

Abstract: When asked if topology is a key concept of Geographic Information Systems (GIS), most GIS users will nod their heads in agreement. But when asked how topology is handled in GIS the nodding heads give way to shrugging shoulders. Why should GIS users care about topology? What are the advantages and disadvantages of storing polygon (topology) data? This paper attempts to analyse the algorithm used in GISNIC, an in-house developed software, to clean the spatial data and then build topology from line (segment) data and associate this topology with point data. Suppose there is a structure of 32 bytes size, and it is required to store, say, 11,000 data of that structure. It is obvious by simple arithmetic that we need nearly 333KB of memory by dynamic allocation. In a 16-bit application, only power (2, 16) memory units (byte in byte addressable memory system) can be addressed. Thus, simple allocation of memory for 11,000 data units of the said size cannot work in this case. This paper discusses the method to overcome this constraint. The problem can be solved by giving precedence to the first index and then to the secondary index. For instance, to address the location where 3335th item could be residing the following should be done: LPCNT = int(3335/2000) REMAINDER=3335 – LPCNT * 2000. Then variable, say region, can be accessed as: region[LPCNT])[REMAINDER].

Keywords: geographic information systems; GIS; topology cleaning; topology building; polygon; GISNIC; 64KB memory limit; deterministic; common parent; data size limit; large spatial data.

DOI: 10.1504/IJITM.2006.008715

International Journal of Information Technology and Management, 2006 Vol.5 No.1, pp.77 - 86

Published online: 18 Jan 2006 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article