Download O2 Spatial User Manual
Transcript
3 3 U si n g O 2S p at i al This chapter presents an example of a simple O 2Spatial application. The example introduces the main components of the O2Spatial architecture and shows how the O 2Spatial API can be used to build O2 applications that make use of spatial indexing (SI) and retrieval capabilities. This example shows how to manage a collection of geographical objects, create a spatial index for this collection and carry out geographical queries. The geographical objects are ellipses whose definition is given by the class appearing on the next page. The complete description of the API is in chapter 4. O2Spatial User Manual 21