- Page 1 and 2:
Oracle® Spatial User’s Guide and
- Page 3 and 4:
List of of Tables Examples Figures
- Page 5 and 6:
1.9 Spatial Operators, Procedures,
- Page 7 and 8:
5.1.1 Address Representation ......
- Page 9 and 10:
8 Spatial Analysis and Mining 8.1 S
- Page 11 and 12:
SDO_GEOM.SDO_XOR ..................
- Page 13 and 14:
SDO_LRS.SPLIT_GEOM_SEGMENT.........
- Page 15 and 16:
C.2 SDO_WITHIN_DISTANCE Examples...
- Page 17 and 18:
List of Figures 1-1 Geometric Types
- Page 19:
List of Tables 2-1 Valid SDO_GTYPE
- Page 22 and 23:
xxii
- Page 24 and 25:
Audience xxiv ■ Audience ■ Docu
- Page 26 and 27:
xxvi Chapter 8, "Spatial Analysis a
- Page 28 and 29:
Related Documentation Conventions x
- Page 30 and 31:
xxx
- Page 32 and 33:
Spatial Analysis and Mining Geocodi
- Page 34 and 35:
SDO_NN Operator Behavior Changes xx
- Page 36 and 37:
xxxvi Information about these subpr
- Page 38 and 39:
New Schema: MDDATA xxxviii The new
- Page 41 and 42:
1 Spatial Concepts Oracle Spatial i
- Page 43 and 44:
The benefits provided by the object
- Page 45 and 46:
1.5 Data Model Data Model Self-cros
- Page 47 and 48:
Data Model Any spatial data has a c
- Page 49 and 50:
Data Model If a function accepts an
- Page 51 and 52:
Query Model the primary filter comp
- Page 53 and 54:
Figure 1-3 MBR Enclosing a Geometry
- Page 55 and 56:
Spatial Relationships and Filtering
- Page 57 and 58:
Figure 1-6 Topological Relationship
- Page 59 and 60:
Spatial Aggregate Functions ■ Wit
- Page 61 and 62:
1.12 Geocoding ■ Topology data mo
- Page 63 and 64:
1.16 Spatial Application Hardware R
- Page 65 and 66:
2 Spatial Data Types and Metadata O
- Page 67 and 68:
Simple Example: Inserting, Indexing
- Page 69 and 70:
'cola_markets', 'shape', SDO_DIM_AR
- Page 71 and 72:
2.2.1 SDO_GTYPE SDO_GEOMETRY Object
- Page 73 and 74:
2.2.3 SDO_POINT 2.2.4 SDO_ELEM_INFO
- Page 75 and 76:
SDO_GEOMETRY Object Type The elemen
- Page 77 and 78:
1003 or 2003 1003 or 2003 2.2.5 SDO
- Page 79 and 80:
Figure 2-2 Rectangle Geometry Examp
- Page 81 and 82:
Geometry Examples 19 indicates that
- Page 83 and 84:
Geometry Examples ■ SDO_GTYPE = 2
- Page 85 and 86:
2.3.5 Point Geometry Examples The s
- Page 87 and 88:
2.3.6 Type 0 (Zero) Element 'point_
- Page 89 and 90:
Geometry Metadata Views ■ The non
- Page 91 and 92:
2.4.3 DIMINFO Geometry Metadata Vie
- Page 93 and 94:
Table 2-3 Columns in the xxx_SDO_IN
- Page 95 and 96:
Table 2-4 (Cont.) Columns in the xx
- Page 97 and 98:
Unit of Measurement Support geometr
- Page 99 and 100:
3.1 Bulk Loading 3 Loading Spatial
- Page 101 and 102:
Bulk Loading Assume that the ASCII
- Page 103 and 104:
Transactional Insert Operations Usi
- Page 105 and 106:
4 Indexing and Querying Spatial Dat
- Page 107 and 108:
Creating a Spatial Index ■ The tr
- Page 109 and 110:
4.1.5 Creating a Cross-Schema Index
- Page 111 and 112:
PARAMETERS (', ') [, PARTITION PAR
- Page 113 and 114:
4.2 Querying Spatial Data 4.2.1 Spa
- Page 115 and 116:
Querying Spatial Data In Figure 4-2
- Page 117 and 118:
Querying Spatial Data ■ geometry2
- Page 119 and 120:
Querying Spatial Data evaluated aga
- Page 121 and 122:
Querying Spatial Data The following
- Page 123 and 124:
5 Geocoding Address Data Geocoding
- Page 125 and 126:
5.1.2 Match Modes Concepts for Geoc
- Page 127 and 128:
Table 5-3 (Cont.) Match Codes for G
- Page 129 and 130:
Table 5-5 (Cont.) SDO_GEO_ADDR Type
- Page 131 and 132:
Using the Geocoding Capabilities SD
- Page 133 and 134:
6 Coordinate Systems (Spatial Refer
- Page 135 and 136:
6.1.8 Transformation Geodetic Coord
- Page 137 and 138:
2003, 8307, -- SRID for WGS 84 long
- Page 139 and 140:
Local Coordinate Support data. For
- Page 141 and 142:
The MDSYS.CS_SRS table contains the
- Page 143 and 144:
::= ::= UNIT [ "", ] ::= LOCAL_
- Page 145 and 146:
Table 6-3 MDSYS.SDO_DATUMS Table Co
- Page 147 and 148:
6.4.4 MDSYS.SDO_ELLIPSOIDS Table Co
- Page 149 and 150:
6.5 Creating a User-Defined Coordin
- Page 151 and 152:
Creating a User-Defined Coordinate
- Page 153 and 154:
6.7.2 Functions Not Supported with
- Page 155 and 156:
Example of Coordinate System Transf
- Page 157 and 158:
Example of Coordinate System Transf
- Page 159 and 160: Example of Coordinate System Transf
- Page 161 and 162: 7 Linear Referencing System Linear
- Page 163 and 164: Start Point (5, 10, 0) 7.1.2 Shape
- Page 165 and 166: 7.1.6 Measure Populating Terms and
- Page 167 and 168: 7.1.7 Measure Range of a Geometric
- Page 169 and 170: Figure 7-7 Creating a Geometric Seg
- Page 171 and 172: 7.5 LRS Operations LRS Operations T
- Page 173 and 174: Figure 7-10 Clipping, Splitting, an
- Page 175 and 176: Figure 7-12 Segment Direction with
- Page 177 and 178: Figure 7-14 Offsetting a Geometric
- Page 179 and 180: Figure 7-17 Multiple Projection Poi
- Page 181 and 182: Example of LRS Functions tolerance
- Page 183 and 184: Table 7-1 (Cont.) Highway Features
- Page 185 and 186: -- in the geometry. SDO_LRS.DEFINE_
- Page 187 and 188: BEGIN Example of LRS Functions SELE
- Page 189 and 190: SQL> -- Are result_geom_1 and resul
- Page 191 and 192: 4 AND a.route_id = 1; Example of LR
- Page 193 and 194: Example of LRS Functions SDO_LRS.VA
- Page 195 and 196: 8 Spatial Analysis and Mining This
- Page 197 and 198: Figure 8-1 Spatial Mining and Oracl
- Page 199 and 200: Colocation Mining The following fun
- Page 201 and 202: 9 Extending Spatial Indexing Capabi
- Page 203 and 204: SDO_DIM_ELEMENT('X', 0, 20, 0.005),
- Page 205 and 206: SDO_GEOMETRY Objects in Function-Ba
- Page 207 and 208: (location long_lat, name varchar2(3
- Page 209: This document has three parts: Part
- Page 213 and 214: Prerequisites Value Description ALT
- Page 215 and 216: Related Topics ALTER INDEX xyz_idx
- Page 217 and 218: Prerequisites Value Description ALT
- Page 219 and 220: ALTER INDEX RENAME TO Syntax Purpos
- Page 221 and 222: Value Description CREATE INDEX sdo_
- Page 223 and 224: CREATE INDEX cola_spatial_idx ON co
- Page 225 and 226: DROP INDEX Syntax Purpose Keywords
- Page 227 and 228: 11 SDO_GEOMETRY Object Type Methods
- Page 229 and 230: GET_GTYPE Format Description Parame
- Page 231 and 232: 12 Spatial Operators This chapter d
- Page 233 and 234: SDO_ANYINTERACT Format Description
- Page 235 and 236: SDO_CONTAINS Format Description Key
- Page 237 and 238: SDO_COVEREDBY Format Description Ke
- Page 239 and 240: SDO_COVERS Format Description Keywo
- Page 241 and 242: SDO_EQUAL Format Description Keywor
- Page 243 and 244: SDO_FILTER Format Description Keywo
- Page 245 and 246: 1 cola_a 4 cola_d SDO_FILTER The fo
- Page 247 and 248: SDO_INSIDE Format Description Keywo
- Page 249 and 250: SDO_JOIN Format Description Keyword
- Page 251 and 252: Examples Table 12-3 params Keywords
- Page 253 and 254: SDO_NN Format Description Keywords
- Page 255 and 256: SDO_NN ■ If all geometries in the
- Page 257 and 258: Examples SDO_NN (Note, however, tha
- Page 259 and 260: SDO_NN_DISTANCE Format Description
- Page 261 and 262:
SDO_ON Format Description Keywords
- Page 263 and 264:
SDO_OVERLAPBDYDISJOINT Format Descr
- Page 265 and 266:
SDO_OVERLAPBDYINTERSECT Format Desc
- Page 267 and 268:
SDO_OVERLAPS Format Description Key
- Page 269 and 270:
SDO_RELATE Format Description Keywo
- Page 271 and 272:
Examples SDO_RELATE combine the res
- Page 273 and 274:
Related Topics ■ SDO_FILTER ■ S
- Page 275 and 276:
Examples SDO_TOUCH The following ex
- Page 277 and 278:
Returns Usage Notes Examples Value
- Page 279 and 280:
13 Geometry Subprograms This chapte
- Page 281 and 282:
The following usage information app
- Page 283 and 284:
Usage Notes geom2 Geometry object.
- Page 285 and 286:
Related Topics ■ SDO_RELATE opera
- Page 287 and 288:
Usage Notes SDO_GEOM.SDO_ARC_DENSIF
- Page 289 and 290:
SDO_GEOM.SDO_AREA Format Descriptio
- Page 291 and 292:
SDO_GEOM.SDO_BUFFER Format Descript
- Page 293 and 294:
Examples SDO_GEOM.SDO_BUFFER The fo
- Page 295 and 296:
SDO_GEOM.SDO_CENTROID Format Descri
- Page 297 and 298:
SDO_GEOM.SDO_CONVEXHULL Format Desc
- Page 299 and 300:
SDO_GEOM.SDO_DIFFERENCE Format Desc
- Page 301 and 302:
Related Topics SDO_GEOM.SDO_DIFFERE
- Page 303 and 304:
Usage Notes Examples Related Topics
- Page 305 and 306:
Usage Notes Examples SDO_GEOM.SDO_I
- Page 307 and 308:
SDO_GEOM.SDO_LENGTH Format Descript
- Page 309 and 310:
SDO_GEOM.SDO_MAX_MBR_ORDINATE Forma
- Page 311 and 312:
SDO_GEOM.SDO_MBR Format Description
- Page 313 and 314:
SDO_GEOM.SDO_MIN_MBR_ORDINATE Forma
- Page 315 and 316:
SDO_GEOM.SDO_POINTONSURFACE Format
- Page 317 and 318:
SDO_GEOM.SDO_UNION Format Descripti
- Page 319 and 320:
Related Topics FROM cola_markets c_
- Page 321 and 322:
Usage Notes Examples SDO_GEOM.SDO_X
- Page 323 and 324:
SDO_GEOM.VALIDATE_GEOMETRY Format D
- Page 325 and 326:
SDO_GEOM.VALIDATE_GEOMETRY_WITH_CON
- Page 327 and 328:
Examples Related Topics SDO_GEOM.VA
- Page 329 and 330:
Usage Notes SDO_GEOM.VALIDATE_LAYER
- Page 331 and 332:
SDO_GEOM.VALIDATE_LAYER_WITH_CONTEX
- Page 333 and 334:
Examples Related Topics SDO_GEOM.VA
- Page 335 and 336:
Usage Notes SDO_GEOM.WITHIN_DISTANC
- Page 337 and 338:
14 Spatial Aggregate Functions This
- Page 339 and 340:
Examples SDO_AGGR_CENTROID The foll
- Page 341 and 342:
SDO_AGGR_CONCAT_LINES -- First, ins
- Page 343 and 344:
SDO_AGGR_LRS_CONCAT Format Descript
- Page 345 and 346:
SDO_AGGR_MBR Format Description Par
- Page 347 and 348:
SDO_AGGR_UNION Format Description P
- Page 349 and 350:
15 Coordinate System Transformation
- Page 351 and 352:
Parameters Usage Notes Examples SDO
- Page 353 and 354:
SDO_CS.TRANSFORM_LAYER Format Descr
- Page 355 and 356:
SDO_CS.VALIDATE_WKT Format Descript
- Page 357 and 358:
SDO_CS.VIEWPORT_TRANSFORM Format De
- Page 359 and 360:
SDO_CS.VIEWPORT_TRANSFORM If the op
- Page 361 and 362:
16 Linear Referencing Subprograms T
- Page 363 and 364:
Table 16-2 (Cont.) Subprograms for
- Page 365 and 366:
The rest of this chapter provides r
- Page 367 and 368:
Usage Notes Examples SDO_LRS.CLIP_G
- Page 369 and 370:
Usage Notes Examples SDO_LRS.CONCAT
- Page 371 and 372:
SDO_LRS.CONNECTED_GEOM_SEGMENTS For
- Page 373 and 374:
SDO_LRS.CONVERT_TO_LRS_DIM_ARRAY Fo
- Page 375 and 376:
Examples SDO_LRS.CONVERT_TO_LRS_DIM
- Page 377 and 378:
Parameters Usage Notes Examples sta
- Page 379 and 380:
SDO_LRS.CONVERT_TO_LRS_LAYER Format
- Page 381 and 382:
Examples SDO_LRS.CONVERT_TO_LRS_LAY
- Page 383 and 384:
Examples SDO_LRS.CONVERT_TO_STD_DIM
- Page 385 and 386:
SDO_LRS.CONVERT_TO_STD_GEOM WHERE m
- Page 387 and 388:
Examples SDO_LRS.CONVERT_TO_STD_LAY
- Page 389 and 390:
Usage Notes Examples SDO_LRS.DEFINE
- Page 391 and 392:
SDO_LRS.DYNAMIC_SEGMENT Format Desc
- Page 393 and 394:
SDO_LRS.FIND_LRS_DIM_POS Format Des
- Page 395 and 396:
Usage Notes Examples SDO_LRS.FIND_M
- Page 397 and 398:
Usage Notes Examples SDO_LRS.FIND_O
- Page 399 and 400:
SDO_LRS.GEOM_SEGMENT_END_MEASURE(RO
- Page 401 and 402:
SDO_LRS.GEOM_SEGMENT_END_PT SDO_GEO
- Page 403 and 404:
SELECT SDO_LRS.GEOM_SEGMENT_LENGTH(
- Page 405 and 406:
SDO_LRS.GEOM_SEGMENT_START_MEASURE(
- Page 407 and 408:
SDO_LRS.GEOM_SEGMENT_START_PT -----
- Page 409 and 410:
SDO_LRS.GET_MEASURE SELECT SDO_LRS.
- Page 411 and 412:
Parameters Usage Notes Examples geo
- Page 413 and 414:
Parameters Usage Notes Examples geo
- Page 415 and 416:
SDO_LRS.GET_PREV_SHAPE_PT Format De
- Page 417 and 418:
12, 4, 12)) SDO_LRS.GET_PREV_SHAPE_
- Page 419 and 420:
Parameters Usage Notes Examples geo
- Page 421 and 422:
SDO_LRS.IS_GEOM_SEGMENT_DEFINED For
- Page 423 and 424:
SDO_LRS.IS_MEASURE_DECREASING Forma
- Page 425 and 426:
SDO_LRS.IS_MEASURE_INCREASING Forma
- Page 427 and 428:
SDO_LRS.IS_SHAPE_PT_MEASURE Format
- Page 429 and 430:
SDO_LRS.LOCATE_PT Format Descriptio
- Page 431 and 432:
BEGIN SELECT SDO_LRS.LOCATE_PT(a.ro
- Page 433 and 434:
-----------------------------------
- Page 435 and 436:
Usage Notes Examples SDO_LRS.MEASUR
- Page 437 and 438:
Usage Notes SDO_LRS.OFFSET_GEOM_SEG
- Page 439 and 440:
SDO_LRS.PERCENTAGE_TO_MEASURE Forma
- Page 441 and 442:
SDO_LRS.PROJECT_PT Format Descripti
- Page 443 and 444:
Examples SDO_LRS.PROJECT_PT The fol
- Page 445 and 446:
Usage Notes Examples SDO_LRS.REDEFI
- Page 447 and 448:
SDO_LRS.RESET_MEASURE Format Descri
- Page 449 and 450:
SDO_LRS.REVERSE_GEOMETRY Format Des
- Page 451 and 452:
SDO_LRS.REVERSE_MEASURE Format Desc
- Page 453 and 454:
SDO_LRS.SCALE_GEOM_SEGMENT Format D
- Page 455 and 456:
Examples SDO_LRS.SCALE_GEOM_SEGMENT
- Page 457 and 458:
Parameters Usage Notes geom_segment
- Page 459 and 460:
SDO_LRS.SPLIT_GEOM_SEGMENT Format D
- Page 461 and 462:
SDO_LRS.SPLIT_GEOM_SEGMENT -- Split
- Page 463 and 464:
Usage Notes Examples SDO_LRS.TRANSL
- Page 465 and 466:
SELECT SDO_LRS.VALID_GEOM_SEGMENT(r
- Page 467 and 468:
SDO_LRS.VALID_LRS_PT SDO_GEOMETRY(3
- Page 469 and 470:
Usage Notes Examples SDO_LRS.VALID_
- Page 471 and 472:
AND a.route_id = 1; SDO_LRS.VALIDAT
- Page 473 and 474:
17 SDO_MIGRATE Procedure The SDO_MI
- Page 475 and 476:
Parameters tabname Table with geome
- Page 477 and 478:
18 Spatial Tuning Subprograms This
- Page 479 and 480:
Examples Related Topics SDO_TUNE.AV
- Page 481 and 482:
Usage Notes SDO_TUNE.ESTIMATE_RTREE
- Page 483 and 484:
SDO_TUNE.EXTENT_OF Format Descripti
- Page 485 and 486:
SDO_TUNE.MIX_INFO Format Descriptio
- Page 487 and 488:
SDO_TUNE.QUALITY_DEGRADATION Format
- Page 489 and 490:
19 Spatial Utility Subprograms This
- Page 491 and 492:
SDO_UTIL.APPEND Format Description
- Page 493 and 494:
SDO_UTIL.CIRCLE_POLYGON Format Desc
- Page 495 and 496:
SDO_UTIL.CONCAT_LINES Format Descri
- Page 497 and 498:
SDO_UTIL.CONVERT_UNIT Format Descri
- Page 499 and 500:
SDO_UTIL.ELLIPSE_POLYGON Format Des
- Page 501 and 502:
SDO_UTIL.EXTRACT Format Description
- Page 503 and 504:
Related Topics SDO_UTIL.EXTRACT by
- Page 505 and 506:
SDO_UTIL.GETNUMVERTICES Format Desc
- Page 507 and 508:
Examples Related Topics SDO_UTIL.GE
- Page 509 and 510:
SDO_UTIL.POINT_AT_BEARING Format De
- Page 511 and 512:
SDO_UTIL.POLYGONTOLINE Format Descr
- Page 513 and 514:
SDO_UTIL.PREPARE_FOR_TTS Format Des
- Page 515 and 516:
SDO_UTIL.REMOVE_DUPLICATE_VERTICES
- Page 517 and 518:
SDO_UTIL.REVERSE_LINESTRING Format
- Page 519 and 520:
SDO_UTIL.SIMPLIFY Format Descriptio
- Page 521 and 522:
SDO_UTIL.SIMPLIFY NULL, SDO_ELEM_IN
- Page 523 and 524:
SDO_UTIL.TO_GMLGEOMETRY Format Desc
- Page 525 and 526:
SDO_UTIL.TO_GMLGEOMETRY The followi
- Page 527 and 528:
) AS GmlGeometry FROM DUAL; SDO_UTI
- Page 529 and 530:
Related Topics SDO_UTIL.TO_GMLGEOM
- Page 531 and 532:
20 Geocoding Subprograms The MDSYS.
- Page 533 and 534:
Examples SDO_GCDR.GEOCODE The follo
- Page 535 and 536:
Examples SDO_GCDR.GEOCODE_ALL you c
- Page 537 and 538:
SDO_GCDR.GEOCODE_AS_GEOMETRY GEOMET
- Page 539 and 540:
21 Spatial Analysis and Mining Subp
- Page 541 and 542:
SDO_SAM.AGGREGATES_FOR_GEOMETRY For
- Page 543 and 544:
SDO_SAM.AGGREGATES_FOR_LAYER Format
- Page 545 and 546:
Examples SDO_SAM.AGGREGATES_FOR_LAY
- Page 547 and 548:
Usage Notes Examples bin_colname Co
- Page 549 and 550:
Usage Notes Examples SDO_SAM.BIN_LA
- Page 551 and 552:
Usage Notes Examples SDO_SAM.COLOCA
- Page 553 and 554:
SDO_SAM.SIMPLIFY_GEOMETRY Format De
- Page 555 and 556:
SDO_SAM.SIMPLIFY_LAYER Format Descr
- Page 557 and 558:
SDO_SAM.SPATIAL_CLUSTERS Format Des
- Page 559 and 560:
SDO_SAM.TILED_AGGREGATES Format Des
- Page 561 and 562:
AY(-180, -90, -90, -45)) .007150754
- Page 563 and 564:
Usage Notes Examples SDO_SAM.TILED_
- Page 565:
This document has three parts: Part
- Page 568 and 569:
Upgrading LRS Data Example 2: The L
- Page 570 and 571:
For information about spatial conce
- Page 572 and 573:
Table B-3 Feature Availability with
- Page 574 and 575:
SDO_WITHIN_DISTANCE Examples RANK90
- Page 576 and 577:
SDO_NN Examples SDO_NN_DISTANCE is
- Page 578 and 579:
SDO_AGGR_UNION Example ■ c.pop90
- Page 580 and 581:
Glossary-2 parallel to the planes i
- Page 582 and 583:
Glossary-4 geographic information s
- Page 584 and 585:
Glossary-6 measure The linear dista
- Page 586 and 587:
Glossary-8 primary filter results,
- Page 588 and 589:
Glossary-10
- Page 590 and 591:
minimum, 18-7 buffer area, 13-13 bu
- Page 592 and 593:
complex queries, C-1 coordinate sys
- Page 594 and 595:
layer_gtype constraining data to a
- Page 596 and 597:
polygon collection, 2-17 polygon da
- Page 598 and 599:
GEOM_SEGMENT_END_MEASURE, 16-38 GEO
- Page 600 and 601:
T table name restrictions on spatia
- Page 602:
Index-14