A method for processing data performed in a data processing system having
a storage unit is provided which includes: creating a spatial index
comprising a leaf containing location information and attribute
information with respect to a plurality of objects to be searched, and
storing the spatial index in the storage unit; and referring to the
spatial index stored in the storage unit in response to an input of a
search request including location information and attribute information
for searching the object to be searched, and extracting the object to be
searched that agrees with the search request. With this configuration, a
spatial search with subsidiary condition search can be processed at high
speed, without merging results of both searches.