Using an object-oriented database system to construct a spatial database kernel for GIS applications