I am following the Cookbook 5.0 examples and for recipe#15 there is a commentabout the bounding box which is used for the spatial search" -- the BoundingBox is a square 1000 meters around the Populated-Place (width/height 2000 meters)"I haven't found in the public documentation of Spatialite any reference to this default value of 1000 meters for the bounding box of a single point.
SELECT ROWID FROM SpatialIndex WHERE
(
-- the BoundingBox is a square 1000 meters around the Populated-Place (width/height 2000 meters)
(f_table_name = 'populated_places') AND
-- create a circle geometry [which is in meters] that is 1000 meters around the Populated-Place
(search_frame = ST_Buffer(pp1.geometry,1000))
)
Could someone give me indications about this value ?
Antonio
Markthanks for the fast reply.The position of the comment within the SQL was a bit confusing.