Bugs fixed in the geospatial module