diff --git a/1911.pdf b/1911.pdf
new file mode 100644
index 0000000..331946a
Binary files /dev/null and b/1911.pdf differ
diff --git a/1930.html b/1930.html
new file mode 100644
index 0000000..cf2d708
--- /dev/null
+++ b/1930.html
@@ -0,0 +1,25 @@
+PART 1 – Overview
+Chapter 1 – Spatial Information Management
+Chapter 2 – Overview of Oracle Spatial
+Chapter 3 – Location-Enabling Your Applications
+
+PART 2 – Basic Spatial
+Chapter 4 – The SDO_GEOMETRY Data Type
+Chapter 5 – Loading, Transporting, and Validating Spatial Data
+Chapter 6 – Geocoding
+Chapter 7 – Manipulating SDO_GEOMETRY in Application Programs
+
+PART 3 – Analysis and Visualization
+Chapter 8 – Spatial Indexes and Operators
+Chapter 9 – Geometry Processing Functions
+Chapter 10 – Network Modeling
+Chapter 11 – Generating Maps Using MapViewer
+Chapter 12 – A Sample Application
+
+PART 4 – Advanced Spatial
+Chapter 13 – Case Studies
+Chapter 14 – Tips, Common Mistakes, and Common Errors
+Appendix A – Additional Spatial Analysis Functions
+Appendix B – Linear Referencing
+Appendix C – Topology Data Model in Oracle
+Appendix D – Storing Raster Data in Oracle
\ No newline at end of file
diff --git a/2443.html b/2443.html
new file mode 100644
index 0000000..a99d428
--- /dev/null
+++ b/2443.html
@@ -0,0 +1 @@
+
Errata 383-9 Kothuri (corrected in the 2nd printing)
Page |
Original Sentence |
Corrected Sentence |
24 |
For
instance, the center of San Francisco is located at coordinates
(–122.436, –37.719) in the two-dimensional Ňlatitude, longitudeÓ
space. |
For
instance, the center of San Francisco is located at coordinates
(–122.436, 37.719) in the two-dimensional Ňlatitude, longitudeÓ space. |
25 |
For
example, you can insert a location of (–87, –78) for a Pizza Hut
restaurant into the us_restaurants table as shown in Listing 2-2. |
For
example, you can insert a location of (–87, 38) for a Pizza Hut
restaurant into the us_restaurants table as shown in Listing 2-2. |
25 |
-78,
-- second ordinate, i.e., value in latitude dimension |
38,
-- second ordinate, i.e., value in latitude dimension |
49 |
landsqmia
NUMBER, |
landsqmi
NUMBER, |
68 |
SQL>
SELECT a.location.sdo_gtype FROM us_states a WHERE state_abrv='NH'; |
SQL>
SELECT a.geom.sdo_gtype FROM us_states a WHERE state_abrv='NH'; |
68 |
SQL>
SELECT a.location.sdo_gtype FROM us_cities a WHERE state_abrv='TX'; |
SQL>
SELECT a.geom.sdo_gtype FROM us_cities a WHERE state_abrv='TX'; |
106 |
FIELDS
TERMINATED BY '|' TRAILING
NULLCOLS |
INTO
TABLE sales_regions APPEND FIELDS
TERMINATED BY '|' |
107 |
INTO
TABLE sales_regions FIELDS
TERMINATED BY '|' |
INTO
TABLE sales_regions APPEND FIELDS
TERMINATED BY '|' |
109 |
IMP
scott/tiger FILE=customers.dmp IGNORE=Y INDEXES=N |
IMP
scott/tiger FILE=customers.dmp IGNORE=Y INDEXES=N TABLES=CUSTOMERS |
110 |
EXP
USERID = "'SYSTEM/MANAGER AS SYSDBA'" TRANSPORT_TABLESPACE=Y
TABLESPACES=TBS |
EXP
USERID = "'SYS/<password>'" TRANSPORT_TABLESPACE=Y
TABLESPACES=TBS |
110 |
IMP
USERID = "'SYSTEM/MANAGER AS SYSDBA'" TRANSPORT_TABLESPACE=Y
FILE=trans_ts.dmp |
IMP
USERID = "'SYS/<password>'" TRANSPORT_TABLESPACE=Y
FILE=trans_ts.dmp |
111 |
SQLPLUS
SYSTEM/MANAGER AS SYSDBA |
SQLPLUS
SYS/<password> |
112 |
CREATE
TABLE customers |
DROP
TABLE customers; CREATE
TABLE customers |
114 |
xmltype(sdo_gml.to_gmlgeometry(geom))
as |
xmltype(sdo_util.to_gmlgeometry(geom))
as |
117 |
) 0.000005 |
) ), 0.000005 |
121 |
SDO_UTIL.REMOVE_DUPLICATE_VERTICES(a.geom,
0.5) |
SDO_UTIL.REMOVE_DUPLICATE_VERTICES(a.geom,
0.5), |
123 |
) 0.00005
-- tolerance |
), 0.00005
-- tolerance |
158 |
SQL>
SET SERVEROUTPUT ON |
SQL>
SET SERVEROUTPUT ON SIZE 32000 |
161 |
SQL>
SET SERVEROUTPUT ON |
SQL>
SET SERVEROUTPUT ON SIZE 10000 |
163 |
SQL>
ALTER TABLE competitors ADD (location SDO_GEOMETRY) |
SQL>
ALTER TABLE competitors ADD (location SDO_GEOMETRY); |
187 |
DETERMINISTIC RETURN
SDO_GEOMETRY |
RETURN
SDO_GEOMETRY DETERMINISTIC |
195 |
END / |
END; / |
230 |
SQL>
DESCRIBE USER_SDO_GEOM_METDATA; |
SQL>
DESCRIBE USER_SDO_GEOM_METADATA; |
269 |
SELECT
ct.id, ct.name, SDO_NN_DISTANCE(1) dist |
SELECT
ct.id, ct.customer_grade, SDO_NN_DISTANCE(1) dist |
275 |
Listing
8-53. Setting
Session Parameters to Enable Query Rewrite on Function-Based Indexes |
Listing
8-53. Setting
Session Parameters to Enable Query Rewrite on Function-Based Indexes (Not
Necessary in Oracle 10g) |
302 |
DECLARE Geom
mdsys.sdo_geometry coverage
mdsys.sdo_geometry := null; BEGIN OPEN
cur FOR SELECT geom FROM sales_regions; LOOP EXIT
WHEN cur%NOTFOUND; FETCH
cur INTO geom; coverage
:= SDO_GEOM.SDO_UNION(coverage, geom); END
LOOP; EXECUTE
IMMEDIATE 'INSERT INTO sales_region_coverage values (:1)' USING
coverage; COMMIT; END; |
CREATE
TABLE sales_region_coverage (coverage SDO_GEOMETRY); DECLARE coverage
SDO_GEOMETRY := NULL; BEGIN FOR
g IN (SELECT geom FROM sales_regions) LOOP coverage
:= SDO_GEOM.SDO_UNION(coverage, g.geom, 0.5); END
LOOP; INSERT
INTO sales_region_coverage values (coverage); COMMIT; END; / |
304 |
(SDO_GEOM.SDO_DIFFERENCE(csr.geom,
sr.geom, 0.5)), |
SDO_GEOM.SDO_DIFFERENCE(csr.geom,
sr.geom, 0.5), |
307 |
Listing
9-20. Area
of the Intersection Region of Sales Region 1 and Sales Region 2 |
Listing
9-20. Area
of the Intersection Region of Sales Region 43 and Sales Region 51 |
316 |
Listing
9-28. Finding
the Coverage of sales_regions
Using SDO_AGGR_UNION |
Listing
9-28. Finding
the Coverage of Branch
Locations Using SDO_AGGR_UNION |
343 |
SQL>
EXEC show_net_details ('US_ROADS'); |
SET
SERVEROUTPUT ON SQL>
EXEC show_net_details ('US_ROADS'); |
483 |
(None—text
was inserted at bottom of page) |
The
sample application uses the network data model Java API. The initial loading
of the network needs a database connection: this connection uses a native
OC4J data source. This data source must be defined in the configuration file
$OC4J_HOME/j2ee/home/config/data-sources.xml Add
the following OC4J data source definition in the configuration file: <data-source class="com.evermind.sql.DriverManagerDataSource" name="spatial10g" location="jdbc/spatial10gCore" xa-location="jdbc/xa/spatial10gXA" ejb-location="jdbc/spatial10g" connection-driver="oracle.jdbc.driver.OracleDriver" username="spatial" password="spatial" url="jdbc:oracle:thin:@localhost:1521:orcl101" inactivity-timeout="30" /> Do
not forget to adapt the database connection parameters to match your own
setup. You can also define the MapViewer datasource based on this OC4J
datasource. Read about this possibility on page 399 in Chapter 11. |
581 |
WHERE
b.table_name = 'CUSTOMERS' and b.column_name='LOCATION' |
(None-line
was deleted) |
587 |
(None-text
was inserted directly above Listing 14-15) |
INSERT
INTO USER_SDO_GEOM_METADATA VALUES ('WEATHER_PATTERNS',
'GEOM', SDO_DIM_ARRAY( SDO_DIM_ELEMENT('LONG',
-180, 180, 0.5), SDO_DIM_ELEMENT('LAT',
-90, 90, 0.5) ), 8307 ); |
642 |
SQL>
UPDATE branches SET georaster = SDO_GEOR.INIT('BRANCHES_RDT'); WHERE id=1 |
SQL>
UPDATE branches SET georaster = SDO_GEOR.INIT('BRANCHES_RDT') WHERE id=1; |
649 |
</theme> |
</theme> COMMIT; |
+RAVI KOTHURI holds a Ph.D. in computer science from the University of California, Santa Barbara, and has worked in spatial and multimedia research and development for the past 10 years. Currently, he serves as a principal member in the spatial development team of Oracle Corporation. He is responsible for several patented features in Oracle Spatial and has authored numerous articles for database conferences and journals. Ravi enjoys music, movies, and playing with his children in his spare time. + + |
+
+ALBERT GODFRIND has over 25
+years of experience in designing, developing, and deploying IT applications. His interest and enthusiasm for spatial information and geographical information systems started at Oracle when he discovered the spatial extensions of the Oracle database in 1998.
+Ever since, Albert has been “evangelizing” the use of spatial information
+both to GIS and IT communities across Europe, consulting with partners and customers, speaking at conferences, and designing and delivering
+in-depth technical training. Prior to joining Oracle Corporation, Albert held several positions in database engineering at Digital Equipment Corporation (DEC), where he worked on the development of the Rdb database system. + + |
+
+EURO BEINAT holds a Ph.D. in
+economics and a master’s degree in electronics and systems engineering. He has been involved in consultancy for over 10 years in evaluation and strategic advice in sectors ranging from IT, government, the oil industry, and large corporations. At present, he is
+the managing director of Geodan Mobile Solutions and holds a chair at the Vrije Universiteit of Amsterdam as director of the spatial information
+laboratory. His main skills combine geo-IT and the Internet, with an extensive competence in decision analysis and strategy. + + |
+
Listing | Description | File Name |
---|---|---|
2-1 | Creating the us_restaurants_new Table | listing-02-01.sql |
2-2 | Inserting a Value for the SDO_GEOMETRY Column in an Oracle Table | listing-02-02.sql |
2-3 | Converting Address Data (Implicit Spatial Information) to the SDO_GEOMETRY (Explicit Spatial Information) Object | listing-02-03.sql |
2-4 | Finding the Five Nearest Restaurants on I-795 | listing-02-04.sql |
2-5 | Creating an Index on Locations (SDO_GEOMETRY Column) of Restaurants | listing-02-05.sql |
2-6 | Finding the Five Nearest Restaurants on Interstate I-795 Using the Spatial Index | listing-02-06.sql |
2-7 | Identifying All Restaurants in a 50 km Radius Around Interstate I-795 | listing-02-07.sql |
2-8 | Verifying That a Spatial Install Is Successful | listing-02-08.sql |
Listing | Description | File Name |
---|---|---|
3-1 | Creating the customers Table | listing-03-01.sql |
3-2 | Populating customers table. | listing-03-02.sql |
3-3 | Adding a location Column to the customers Table | listing-03-03.sql |
3-4 | Sample Address for a Specific Customer in the customers Table | listing-03-04.sql |
3-5 | Geocoding Addresses to Obtain Explicit Spatial Information | listing-03-05.sql |
3-6 | Geocoded location Column in the customers Table | listing-03-06.sql |
3-7 | Updating a location Column Using an SDO_GEOMETRY Constructor | listing-03-07.sql |
3-8 | Creating the us_states Table | listing-03-08.sql |
3-9 | Creating the us_counties Table | listing-03-09.sql |
3-10 | Creating the us_interstates Table | listing-03-10.sql |
3-11 | The USER_SDO_GEOM_METADATA View | listing-03-11.sql |
3-12 | Selecting srids of Geodetic Coordinate Systems. | listing-03-12.sql |
3-13 | Selecting srids of Projected Coordinate Systems. | listing-03-13.sql |
3-14 | The SDO_DIM_ARRAY Structure | listing-03-14.sql |
3-15 | Inserting Metadata for the Spatial Layer Corresponding to the location Column of the customers Table | listing-03-15.sql |
Listing | Description | File Name |
---|---|---|
4-1 | Creating a table to store all geometry examples | listing-04-01.sql |
4-2 | SDO_GEOMETRY Data type in Oracle | listing-04-02.sql |
4-3 | Example of SDO_GTYPE in the location column of customers table. | listing-04-03.sql |
4-4 | Example of SDO_GTYPE in the geom Column of us_interstates table | listing-04-04.sql |
4-5 | Example of SDO_GTYPE in the location column of us_states table. | listing-04-05.sql |
4-6 | Example of SDO_GTYPE in the location column of us_states table. | listing-04-06.sql |
4-7 | The MDSYS.CS_SRS Table | listing-04-07.sql |
4-8 | Selecting an SRID for the Southern Texas Region from the MDSYS.CS_SRS Table | listing-04-08.sql |
4-9 | SDO_POINT_TYPE Data Type | listing-04-09.sql |
4-10 | Point Data in geometry_examples | listing-04-10.sql |
4-11 | Constructing a Point Geometry Using Well-Known Text (SQL/MM) | listing-04-11.sql |
4-12 | Storing the Point Coordinates in the SDO_ORDINATES Array Instead of SDO_POINT | listing-04-12.sql |
4-13 | Four-Dimensional Point Example | listing-04-13.sql |
4-14 | Two-Dimensional Line String Example | listing-04-14.sql |
4-15 | Two-Dimensional Line String Connected by Arcs | listing-04-15.sql |
4-16 | Example of a Simple Polygon Connected by Lines | listing-04-16.sql |
4-17 | Rectangular Polygon Example | listing-04-17.sql |
4-18 | Circular Polygon Example | listing-04-18.sql |
Listing | Description | File Name |
---|---|---|
5-1 | Creating the sales_regions Table | listing-05-01.sql |
5-2 | Inserting a Polygon Geometry into the sales_regions Table | listing-05-02.sql |
5-3 | Control File for Loading "Point" sales_regions Data | listing-05-03.ctl |
5-4 | Using SQL*Loader to Load Data into the sales_regions Table | listing-05-04.bat |
5-5 | Using SQL*Loader with a Data File | listing-05-05.bat |
5-6 | sales_regions.ctl File | listing-05-06.ctl |
5-8 | Control File for Loading Nonpoint SDO_GEOMETRY Data | listing-05-08.ctl |
5-9 | Exporting the customers Table into the customers.dmp File | listing-05-09.bat |
5-10 | Importing the customers Table into the scott Schema | listing-05-10.bat |
5-11 | Importing Using the fromuser and touser Arguments | listing-05-11.bat |
5-12 | Transporting the Tablespace TBS from a Source Database | listing-05-12.bat |
5-13 | Creating the Transported Tablespace in the Target Database | listing-05-13.bat |
5-14 | Enabling Spatial Indexes for the Tables in the Transported Tablespace | listing-05-14.bat |
5-15 | Rebuilding a Spatial Index After Transporting Across Endian Platforms | listing-05-15.sql |
5-16 | Migrating location Column Data in the customers Table to the Current Format (10g) | listing-05-16.sql |
5-17 | Using shp2sdo to Convert from ESRI Shapefiles | listing-05-17.bat |
5-18 | customers.sql File | listing-05-18.sql |
5-19 | Executing the Output Files from SHP2SDO to Load Data into Oracle | listing-05-19.bat |
5-20 | Converting from an SDO_GEOMETRY to WKT Format | listing-05-20.sql |
5-21 | Publishing an SDO_GEOMETRY to a GML Document | listing-05-21.sql |
5-22 | Publishing Multiple Geometries to a GML Document Fragment | listing-05-22.sql |
5-24 | Validation Check on a Geometry from the sales_regions Table | listing-05-24.sql |
5-25 | Validation on a Self-Crossing Geometry | listing-05-25.sql |
5-26 | Using the diminfo Parameter in the VALIDATE_GEOMETRY_WITH_CONTEXT Function | listing-05-26.sql |
5-28 | Using the VALIDATE_LAYER_WITH_CONTEXT Procedure | listing-05-28.sql |
5-29 | Example of Removing Duplicate Vertices in a Geometry | listing-05-29.sql |
5-30 | Validating After Removing the Duplicate Vertices | listing-05-30.sql |
5-31 | Extracting the Second Element from a Geometry | listing-05-31.sql |
5-32 | Validation of an Extracted Geometry | listing-05-32.sql |
5-33 | Validation on the Result of SDO_UTIL.EXTRACT | listing-05-33.sql |
5-34 | Removing Duplicate Vertices | listing-05-34.sql |
5-35 | Example of SDO_UTIL.APPEND | listing-05-35.sql |
5-36 | Finding the Number of Elements in a Geometry | listing-05-36.sql |
Listing | Description | File Name |
---|---|---|
6-1 | Geocoding an Address | listing-06-01.sql |
6-2 | Geocoding and Normalizing an Address | listing-06-02.sql |
6-3 | Using the GEOCODE_AS_GEOMETRY Function | listing-06-03.sql |
6-4 | Using the GEOCODE_AS_GEOMETRY Function with an Invalid House Number | listing-06-04.sql |
6-5 | Using the GEOCODE_AS_GEOMETRY Function with an Invalid Street Name | listing-06-05.sql |
6-6 | Example of Calling the GEOCODE Function | listing-06-06.sql |
6-7 | FORMAT_GEO_ADDR Procedure | listing-06-07.sql |
6-8 | Example of Using the FORMAT_GEO_ADDR Procedure | listing-06-08.sql |
6-9 | Getting Street Details from the Geocode Reference Data | listing-06-09.sql |
6-10 | Using the GEOCODE Function with aValid House Number | listing-06-10.sql |
6-11 | Using the GEOCODE Function with an Invalid House Number | listing-06-11.sql |
6-12 | Using the GEOCODE Function with an Invalid Postal Code | listing-06-12.sql |
6-13 | Using the GEOCODE Function with an Invalid Postal Code (in EXACTMode) | listing-06-13.sql |
6-14 | Using the GEOCODE Function to Find a POI | listing-06-14.sql |
6-15 | FORMAT_ADDR_ARRAY Procedure | listing-06-15.sql |
6-16 | Using GEOCODE_ALL over an Ambiguous Address | listing-06-16.sql |
6-17 | Using GEOCODE_ALL over an Ambiguous Address | listing-06-17.sql |
6-18 | Adding a Spatial Column | listing-06-18.sql |
6-19 | Populating the location Column of the branches Table | listing-06-19.sql |
6-20 | Populating the location Column of the branches Table for German Addresses | listing-06-20.sql |
6-21 | Address Geocoding and Correction | listing-06-21.sql |
6-22 | Automatic Geocoding of the branches Table Using a Simple Trigger | listing-06-22.sql |
6-23 | Automatic Geocoding with Address Correction | listing-06-23.sql |
Listing | Description | File Name |
---|---|---|
7-1 | Extracting Coordinates | listing-07-01.sql |
7-2 | Simple Spatial Query | listing-07-02.sql |
7-3 | Sample Application in PL/SQL | listing-07-03.sql |
7-4 | Manipulating VARRAYs | listing-07-04.sql |
7-5 | Point Constructor Function | listing-07-05.sql |
7-6 | Rectangle Constructor | listing-07-06.sql |
7-7 | Line Constructor | listing-07-07.sql |
7-8 | Counting the Number of Points in a Geometry | listing-07-08.sql |
7-9 | Function to Extract a Point from a Geometry | listing-07-09.sql |
7-10 | Getting the First,Middle, and Last Points of a Line String | listing-07-10.sql |
7-11 | remove_point Function | listing-07-11.sql |
7-12 | Adding a Point in a Line String (add_to_line in Listing 7-3) | listing-07-12.sql |
7-14 | Invoking SdoPrint | listing-07-14.bat |
N/A | Using the Java API for reading geometries | SdoPrint.java |
N/A | Using the Java API for creating and updating geometries | SdoLoad.java |
N/A | This program illustrates the basic operation of an OCI program. It does not use any spatial concepts; it just fetches regular column data from the US_CITIES table. | oci_sample.c |
N/A | Same, illustrating the use of array fetches (the size of the array is passed as the last command-line argument). | oci_sample_array.c |
N/A | Illustrates the fetching of spatial information (points) without using object types (i.e., by extracting the x and y values of each point). | read_points.c |
N/A | Same, using array fetches | read_points_array.c |
N/A | Complete example of how to read and decode geometry objects. | read_geom.c |
N/A | Same, using array fetches | read_geom_array.c |
N/A | Select spatial objects using a spatial query. | select_pois.c |
N/A | Loads geometry objects into a table in the database. The geometries are read from a text file. | load_geom.c |
N/A | Read geometries in Pro*C | preadgeom.pc |
N/A | Write geometries in Pro*C | pwritegeom.pc |
Listing | Description | File Name | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8-1 | SDO_WITHIN_DISTANCE Spatial Operator in SQL | listing-08-01.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-2 | Creating an Index | listing-08-02.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-3 | USER_SDO_GEOM_METADATA View | listing-08-03.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-4 | Inserting Metadata for the Spatial Layer Corresponding to the location Column of the customers Table | listing-08-04.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-5 | Dropping a Spatial Index | listing-08-05.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-6 | Creating a Spatial Index on the location Column of the customers Table | listing-08-06.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-7 | Identifying the SDO_INDEX_TABLE That Stores the Spatial Index on the customers Table | listing-08-07.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-9 | Creating a Spatial Index in Tablespace TBS_3 | listing-08-09.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-10 | Creating an Index with the INITIAL and NEXT Extents for an Index Table | listing-08-10.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-11 | Creating an Index with WORK_TABLESPACE As TBS_3 | listing-08-11.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-12 | Creating an Index for Specific-Type (Point) Geometries | listing-08-12.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-13 | Creating an R-tree Index with Dimensionality Specified | listing-08-13.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-14 | Creating an Index with the SDO_DML_BATCH_SIZE Parameter | listing-08-14.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-15 | Creating a Quadtree Type of Spatial Index | listing-08-15.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-16 | Examining the USER_SDO_INDEX_METADATAView for Index Parameters | listing-08-16.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-17 | Estimating the Size of a Spatial Index on the location Column of the customers Table | listing-08-17.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-19 | Spatial Operator Usage in a SQL Statement | listing-08-19.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-20 | SDO_WITHIN_DISTANCE Operator Retrieving All Customers Within a Quarter-Mile Radius of a Competitor Store | listing-08-20.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-21 | SDO_WITHIN_DISTANCE Operator Retrieving All Customers in a Quarter-Mile Radius of a Competitor Store and Also Reporting Their Distances | listing-08-21.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-22 | A Simple Example of the SDO_NN Operator | listing-08-22.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-23 | SDO_NN Operator Retrieving the Five Nearest Customers to a Specific Competitor | listing-08-23.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-24 | SDO_NN Operator Retrieving the Five GOLD Customers Nearest to a Specific Competitor | listing-08-24.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-25 | SDO_NN Operator Retrieving the Five GOLD Customers Nearest to a Competitor | listing-08-25.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-26 | SDO_NN Operator Retrieving the Five Customers Nearest to a Specific Competitor | listing-08-26.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-27 | SDO_NN Operator Retrieving the Five Customers Nearest to a Specific Competitor Along with Their Distances | listing-08-27.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-28 | SDO_NN Operator Retrieving the Five GOLD Customers Nearest to a Specific Competitor Along with Their Distances | listing-08-28.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-29 | Rewriting Listing 8-27 with Mile As the Distance Unit | listing-08-29.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-30 | Rewriting Listing 8-28 with Mile As the Distance Unit | listing-08-30.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-31 | Creating the Sales Region (Area of Influence) for Each Competitor/Branch | listing-08-31.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-32 | Creating Indexes on Sales Regions of Competitors/Branches | listing-08-32.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-33 | SDO_FILTER Operator Retrieving All Customers Within a Competitor's Service Area | listing-08-33.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-34 | Typical Query from MapViewer Using the SDO_FILTER Operator | listing-08-34.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-35 | SDO_RELATE Operator Retrieving All Customers in a Quarter-Mile Buffer Zone of a Competitor Store | listing-08-35.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-36 | Identifying a DISJOINT relationship | listing-08-36.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-37 | SDO_RELATE Operator Identifying All Competitors in the D.C. Region | listing-08-37.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-38 | SDO_RELATE Operator Identifying All Competitors Inside the D.C. Region | listing-08-38.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-39 | SDO_RELATE Operator Identifying All Competitors That Overlap the D.C. Region | listing-08-39.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-40 | Identifying Sales Regions That Intersect a Specific Sales Region (id=51) | listing-08-40.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-41 | Identifying All Sales Regions That Overlap a Specific Sales Region (id=51) | listing-08-41.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-42 | Verifying That a Sales Region Touches Another Sales Region (id=51) | listing-08-42.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-43 | Adding the SDO_LEVEL=6 Parameter to an SDO_RELATE Query | listing-08-43.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-44 | Explaining the Execution Plan for a SQL Statement | listing-08-44.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-45 | SDO_NN Operator Retrieving the Five GOLD Customers Nearest to a Specific Competitor Along with Their Distances | listing-08-45.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-46 | Creating an Index on customer_grade and Rerunning Listing 8-45 | listing-08-46.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-47 | Usage of Hints with SDO_NN and Other Operators on the Same Table | listing-08-47.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-48 | Spatial Operator with Multiple Hints in a SQL Statement with Two Tables | listing-08-48.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-49 | Creating a Deterministic Function to Return an SDO_GEOMETRYUsing Address Attributes of the customers Table | listing-08-49.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-50 | Declaring the gcdr_geometry Function As DETERMINISTIC | listing-08-50.sql | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8-51 | Inserting the Metadata for a
Chapter 9 - Spatial Functions+
Chapter 10 - Network Modelling and Tracing+
Chapter 11 - Generating Maps+
Chapter 12 - Putting it together: an example application+
Chapter 13 - Case Studies+ +Chapter 14 - Tips and common mistakes+
Appendix A - Advanced Spatial Analysis+
Appendix B - Linear Referencing+ +Appendix C - Topology Data Model+ +Appendix D - GeoRaster+
Pro Oracle Spatial - Data Files
+You will have to download the ProOracleSpatialData.zip separately from
+the Apress website. This zip file contains the following data files. |
Data Category | +Content | +File Name | +
---|---|---|
Large scale map data | +Continents and countries, US states, counties, interstates, +rivers and parks | +map_large.dmp | +
City level data | +Street-level information for San Francisco and Washington, DC | +map_detailed.dmp | +
Application Data | +branches, customers, competitors tables | +app_data.dmp | +
Application Data | +Same, but spatially enabled | +app_with_loc.dmp | +
Geocoding | +Geocoding data set for San Francisco and Washington, DC | +gc.dmp | +
Networking | +Street network for San Francisco | +net.dmp | +
Maps and styles | +Map definitions, themes and styles | +styles.dmp | +
Demographics | +Zip codes in Washington DC with population | +zip.dmp | +
Chapter | +Loading instructions | +File Name | +
---|---|---|
Chapter 2 | ++ |
+ chapter-02-import.bat | +
Chapter 3 | ++ |
+ chapter-03-import.bat | +
Chapter 4 | ++ |
+ chapter-04-import.bat | +
Chapter 5 | ++ |
+ chapter-05-import.bat | +
Chapter 6 | ++ |
+ chapter-06-import.bat | +
Chapter 7 | ++ |
+ chapter-07-import.bat | +
Chapter 8 | ++ |
+ chapter-08-import.bat | +
Chapter 9 | ++ |
+ chapter-09-import.bat | +
Chapter 10 | ++ |
+ chapter-10-import.bat | +
Chapter 11 | ++ |
+ chapter-11-import.bat | +
Chapter 12 | ++ |
+ chapter-12-import.bat | +
Appendix A | ++ |
+ appendix-a-import.bat | +
+
|
+
+
|
+ + |
+ Thank you for purchasing Pro Oracle Spatial.
+This book is an
+essential guide to developing spatially-enabled applications using
+Oracle Spatial technology. With
+Oracle Spatial, you can store, retrieve, analyze and visualize spatial
+data
+just like any other type of data, and integrate it in any business
+application running on an Oracle platform. This book will
+familiarize you with spatial information
+management inside Oracle and provides the conceptual knowledge and
+requisite practical
+skills to turn a novice reader into a professional spatial developer.
+Additionally, the book will illustrate
+how to integrate spatial technology in applications and how organizations have
+been successfully implementing it. The book comes with sample data, code examples and tips,
+so that
+you can learn, experiment and find guidance in becoming an expert in
+Oracle
+Spatial. + + Pro Oracle Spatial + is the first and only book on Oracle Spatial technology. +We hope +that by reading this book you will be able to add +a new and important set of skills to your background. This book is +especially +packaged to suit Oracle application developers who can leverage the +functionality of Oracle Spatial immediately and add value to their +applications. This book will allow you +to develop exciting applications, be part of large and inspiring +projects, and +exploit the rich world of spatial +data and location analysis. It is our hope that +you will find this world as interesting and challenging as we do. + + |
+
You may have to install the following software components to run
+the examples in the book.
+The following URLs take you to the Oracle
+Technology Network's download site. You need to pick up the
+software for the following two components on this page.
+