Lines and spatial relationships

What is the LIMIT of a line, which is a POINT INSIDE? Where can I find the exact definition and implementation in Oracle Spatial?
Where can I find documentation definition of relations of a line and the implementation in Oracle Spatial?

In the Oracle Spatial Developer's Guide, most of the examples use polygons.

Look at the example below (Oracle 11.2, WINDOWS Server 2008 64-bit)

If I have a line of L1 with 3 Points from A1 = (0,0), next point B1 = (1,0) and ending at C1 (2.0) then
A1 and C1 are LIMITS, B1 is an interior point.

A second line begins at the point A2 = (1,0) and ends at B2 (1,1).

Then I have two points P1 = (0,0) and P2 = (1,0).

The following relationships are valid
P1 = A1
P2 = B1 = A2


If I check the topological relationships between L1, L2 and P1, P2 I get:

Line L1 and Point P1
SQL > select sdo_geom.relate)
SDO_GEOMETRY 2 (2001, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 1, 1) SDO_ORDINATE_ARRAY (0, 0));
3 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)).
4 "DETERMINE."
5 SDO_GEOMETRY (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 2, 1) SDO_ORDINATE_ARRAY (0, 0, 1,0,2,0));
6 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)))
7 double;

SDO_GEOM. RELATE (SDO_GEOMETRY (2001, NULL, NULL, SDO_ELEM_INFO_ARRAY (1,1,1), SDO_ORDIN))
--------------------------------------------------------------------------------
TOUCH

This it true: A1 is a LIMIT of the L1, P1 has no 'indoor', it is only 'LIMIT', LIMIT and LIMIT = > TOUCH.

Line L1 and Point P2
SQL > select sdo_geom.relate)
SDO_GEOMETRY 2 (2001, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 1, 1) SDO_ORDINATE_ARRAY (1, 0));
3 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)).
4 "DETERMINE."
5 SDO_GEOMETRY (2002, NULL, NULL, SDO_ORDINATE_ARRAY (0,0,1,0,2,0)), SDO_ELEM_INFO_ARRAY (1, 2, 1)
,
6 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)))
7 double;

SDO_GEOM. RELATE (SDO_GEOMETRY (2001, NULL, NULL, SDO_ELEM_INFO_ARRAY (1,1,1), SDO_ORDIN))
--------------------------------------------------------------------------------
INSIDE


Now we change the order of point and line:
SQL > select sdo_geom.relate)
SDO_GEOMETRY 2 (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 2, 1) SDO_ORDINATE_ARRAY (0, 0, 1,0,2,0));
3 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)).
4 "DETERMINE."
SDO_GEOMETRY 5 (2001, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 1, 1) SDO_ORDINATE_ARRAY (1, 0));
6 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)))
7 double;

SDO_GEOM. RELATE (SDO_GEOMETRY (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1,2,1), SDO_ORDIN))
--------------------------------------------------------------------------------
CONTAINS


P2 is an INTERIOR POINT of L1, P2 is inside of the L1 or P2 CONTAINS of L1.

For P2 and L2, we get: P2 keys L2.


If I check the relationships between L1 and L2 I get
SQL > select sdo_geom.relate)
SDO_GEOMETRY 2 (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 2, 1) SDO_ORDINATE_ARRAY (1, 0, 1, 1));
3 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)).
4 "DETERMINE."
5 SDO_GEOMETRY (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1, 2, 1) SDO_ORDINATE_ARRAY (0, 0, 1,0,2,0))
,
6 SDO_DIM_ARRAY (SDO_DIM_ELEMENT ('X',-100, 100,.0001), SDO_DIM_ELEMENT ('Y',-100, 100,.0001)))
7 double;

SDO_GEOM. RELATE (SDO_GEOMETRY (2002, NULL, NULL, SDO_ELEM_INFO_ARRAY (1,2,1), SDO_ORDIN))
--------------------------------------------------------------------------------
TOUCH

This result is not valid or the documentation is incorrect or incomplete.

The lines have one thing in common (1.0), which is a POINT INSIDE the line L1 and L2 of LIMIT.
Guide/1.8 spatial relationships of the developer space Oracle® and filtering
find us

CONTACT: Borders intersect, but the Interior does not intersect.

The SDO_GEOM. SDO_RELATE gives an incorrect result:

TOUCH is a relationship between the limits, OVERLAPBDYINTERSECT is a relationship between a POINT INSIDE and a LIMIT.

If we insert the lines into a table LINES_TEST (ID NUMBER, GEOMETRY SDO_GEOMETRY), build a spatial index and run a query such as

Select a.id, b.id of LINES_TEST a, LINES_TEST b where
sdo_touch (a.geometry, b.geometry) = 'TRUE' and a.id = 1 and b.id = 2;

We get that L1 button L2.


Karl Mann

Karl

In addition

A point is defined only by its interior, there is NO limit.

So:

«This it true: A1 is a LIMIT of the L1, P1 has no 'indoor', it's only "LIMIT", and LIMIT-online TOUCH.»

should be

It's true: A1 is a LIMIT of the L1, P1 has no "LIMIT", it's only ' INSIDE ', LIMIT meets INTERIOR-online TOUCH»»

a point of intersection of row limit (ends) is a KEY. If the point is the inner line intersection is contained inside

Hope that clarifies

Luke

Tags: Database

Similar Questions

  • RuleSets vs Rulebases and their relationships

    This group can better support in the definition of rulesets vs rulebases and the relationships between them with regard to OPA?


    It is my understanding that a module is a deployable artifact. A modules can manifest as a .zip file or a module created during the "generation of a project" in a ruleset.

    It is my understanding that a ruleset class is an artifact of creation-time consisting of a set of rules in a single project. RuleSets can be shared via the xml Exchange. Groups of rules can be combined in the larger rulesets using modules (which are rulebases?).

    If my understanding of the terminology is correct, how experts here describe the relationship between rulebases, rulesets and rules? If my terminology is off, please help me correct.


    Thank you

    In general, I try to avoid using the terms 'article', 'modules' and 'rules' as part of the OPA, because there are too many vague meaning and different associated with these terms and they rarely associate with each other suppliers and products. (e.g. some will say that a single line of Java code that contains an 'if' statement is a 'rule' or a java method that implements a series of conditional controls is a "rule" or "rules"). This mapping also raise questions such as if a ruleset class must also contain define the representation of facts (data) that is used by the rules in this rule set. The same types of issues arise in what concerns the language syntax / used to express the rules / logic in a rule, ruleset and modules.

    In other words, you might vaguely understand what follows, but I would not jump to conclusions based on associations:
    -OPA - built for the deployment of policy model project ~ modules
    -OPA - model policy built as a Module project ~ ruleset
    -OPA - policy shared between projects document ~ ruleset
    -OPA - individual policy in a document ~ rule

    Can be easier to observe "correct" terminology from the point of view of a political author (i.e. the type/business analyst):
    -Policy model / project is divided into folders and files that define
    -Interviews, which in turn consist of screens include labels, questions, etc.
    -Documents guidance (Word and Excel files) in which the individual policies are expressed in natural language
    -Properties (political data model) strategy in which the entities, attributes, relationships are defined and there corresponding representations natural language and data
    -Solutions will include the definition to know how to map or translate between external policy and of a model object/data data model (i.e. the connector for Siebel, SAP or CRMOD OPA or a bus of product or service configured middleware)
    -etc.
    Note: some of the above may be encapsulated in a Module for import or reuse all OPA political model projects

  • Printer skips lines and enlarged fonts between pages based on the web.

    bold text Range of printers HP c7200 connected wireless to MacBookPro w/Lion. Using the browser Firefox to version 9.0.1. Printer prints the first page very well, then the second page starts by skipping several lines and large print. PC connected to the same printer, and printer works OK. Safari works OK, too. Solutions would be appreciated.

    Problem started before the upgrade to Mac Lion. Lion updated printer driver. The same problem. Only happens when I try to print a web page or something downloaded from a web page, like a financial spreadsheet. Non-Web-based print OK. Help. Thank you.

    I saw this happen when the Page layout on FireFox browser has been set to 80% (or probably anything less than 100%). Make sure that the setting and change it to 100% and try printing again.

  • Is it possible to extend the toolbar bookmarks over the line and do not have a drop down arrow?

    I know that the bookmarks toolbar is only a long line and I know how to add multiple toolbars (customization) but somehow I just can't get the bookmarks toolbar to expand to the next line or so. Is it possible that Firefox can do this or not?

    See:

  • How can I get the tabs to go on a single line and a menu of Firefox?

    Firefox allows to have 2 lines above - Firefox menu with tabs and more and another line of the navigation toolbar. during the installation of some programs online, Firefox now have 3 lines at the top, with the Firefox menu on an entire line, the 2nd line of tabs and 3rd line of navigation toolbar. How can I get the tabs to go on a single line and a menu of Firefox?

    With the current versions of Firefox, you can choose to use the menu of Firefox (orange in windows; gray Linux) button at the left end of the Windows title bar or bar menus familiar as in earlier versions. The Firefox button is displayed by default only in Windows Vista and Windows 7, but you can turn on or off or switch between the two or temporarily show the menu bar when the Firefox button is displayed.

    If you chose to use the Firefox button and you use the default tabs on top, the tab bar will move to the title bar with the Firefox button only when you are to maximize window (the ' square' the middle button in the upper right corner of the Windows standard application window). Other selected toolbars will be displayed below that (bar Navigation, Bookmarks Toolbar and the toolbars you add via Add - ons).

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • Vertical dotted lines and bad shading on Satellite P30-109

    Hello

    Sorry for my bad English,
    I have a problem TFT on my Satellite P30-109.
    Regular vertical dotted lines and bad shading.
    I formatted the disk with the recovery disk, but nothing has changed.

    An irregular viewing is present during windows startup.
    What can be?
    Have you any suggestions? I have to throw my PC?

    Thanks for your help.
    Stefano

    Chain is quite right. If the same thing happens on an external device there is problem with the video card and probably the whole motherboard must be exchanged.

    Sorry, but you must contact partner authorized in your country. If you need address, you can find them under http://www.csd.toshiba.com/cgi-bin/tais/su/su_gaspLocator.jsp?pf=true

    Good luck!

  • I want to install app 'Line' and it is not in my area of Appstore

    Hello

    anyone has a solution to my problem

    I want to install app 'Line' and it is not in my area of the App store

    Thank you

    Open iTunes on your Mac/PC

    Go to iTunes Store-> sign in ID you want to change the country.

    Go to iTunes Store AGAIN-> view my Apple ID.

    You should now see your account information opens

    Click on the evolution of the country or region and change the country

    Click done at the bottom of the page.

    Sign of your ID on ITunes apple store in ITunes on Mac/PC ure.

    next step is very important.

    In your phone:

    Settings-> iTunes and App Store-> Apple ID click-> click on Sign Out

    Repeat the same process and connect you to your apple ID even once by

    Settings-> iTunes and App Store-> click on Apple ID-> Sign In

    Now to check your country in the App Store now:

    Settings-> iTunes and App Store-> click Apple ID-> view Apple ID

    ALTO! Your country should be updated now.

  • What is the life line and why am I charged $26.99 for something or other on my purchased iCloud account?

    What is the life line and why am I charged $26.99 for something or other on my purchased iCloud account?

    There is a life saver app in the App store (p 79) and several vital services on Google.   If you are unsure about a receipt, there's an invitation on the bottom to "report a problem".   Report your problem.

  • Line and force

    I want to do a VI that will show me how many random numbers from 0 to 100 range must be generated. After that VI needs to draw a histogram showing how much % of the numbers was 0-49 range and how much between 50 and 99. There was also two digital indicators showing how many numbers is both of these ranges.

    I use ' line and force ", but for example if I generate numbers: 78, 97,74;

    ' First ' line and force "(50-99)" will show the output: 78, 97,74, which is correct.

    "But second" line and force "(0-49)" will show the output 49,49,49 that I don't want. I just want to show in this example a zero.

    After that I'll connect both inputs of histogram, will be OK?

    See photo, thank you


  • How to dynamically add any control (digital button, boolean) to control the line and selected column

    Hello

    How to add a control (digital button, boolean) dynamically in control instead of lines and columns selected. Please suggest the idea or no matter what example code you have please share with me...

    Thank you

    Vieu

    Essentially, that's what you're looking for:

    Please note that you have to account border sizes and the label of the control so that the code does not work right out of the box. You should also check for the height and width of column and if the position is valid at all before moving around the control.

    Norbert

  • How to write express line and column of the tables headers to a file

    HI guys, I work with that express table and display data using the express table. What I want to do, is that when I press save button results data in the specific table must be written to a text file. I am able to write the text file, but only the data is written. Y at - there a possiblity that I can also write lines and column headers and the data in the text file. Kindly guide me in this regard as soon as possible. I enclose the image also. Please watch this and guide me.

    Cordially Ehtisham Safdar.

    Hello

    Sorry for the late reply. Here is the VI, I hope it works for you. Rather than each element of the index and the addition of the row header, take advantage of the available icons and play with the nodes of property for a good solution.

    Concerning

    Gaze

  • Hi, my PC does not start, it displays a screen with lines and then turns black and that of it, can you help me?

    Hi, I have a Compaq Presario C700 no problems so far. It will not start when I turn it on the screen with criss cross lines and then a vertical black line, it turns black and then that's all. ? If I turn on and off for a couple of hours it starts? Can you please help.

    Hello

    Looks like a hardware problem. Contact the seller and the Compaq Support. As Compaq OEM
    is responsible for the functioning Windows and hardware.

    Compaq - support, drivers and documentation online
    http://www.Compaq.com/country/cpq_support.html

    Compaq (HP) - Forums
    http://h30434.www3.HP.com/PSG/|

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • My screen has many small lines and a big black from the top to the bottom bar

    My screen has many lines and then a bar... all black top of 2 "at the bottom of color.

    This alters my view of the screen.   I need help.   Thank you very much

    Hello

    1. when exactly this question produce?

    2. don't you make changes to the computer until the problem occurred?

    3. this happens to you when you work on any specific application?

    I suggest that you install the updated drivers for the video card on the computer by visiting the manufacturer of the video card and check if it works.

    How to manage devices in Windows XP: http://support.microsoft.com/kb/283658

    Hope this information is useful.

  • Photos attached to email has lines and points when open.

    ATTACH PHOTO TO EMAIL,

    WHEN I ATTACH A PICTURE TO AN EMAIL I CLICK OPEN THE ATTACHMENT TO CHECK THAT I HAVE THE RIGHT PICTURE, WHEN I SEE LINES AND POINTS IS NO OPEN PHOTO

    I HAVE NOW SOLVED THE PROBLEM, I CHANGED THE PHOTO TO OPEN WITH WINDOWS PICTURE AND FAX VIEWER.

  • I still have not found "help" to tell me how to remove all the lines and columns beyond those needed for my spreadsheet.

    I used several worksheets.  More allows me to specify the rows/columns and then delete them.  This is to remove all the lines/columns beyond those set up and formatted for my spreadsheet.   I tried many ways to remove all additional lines/columns, but without success.  I even took the time to scroll down/on to highlight all the unnecessary lines and columns, but they do not remove it.
    Any suggestions?  I used spreadsheets most allow me to specify the number of rows/columns for my worksheet

    You can ask your question in the office | Excel Forum because it is not really a problem of Windows XP performance and maintenance.

    Office | Excel

    http://answers.Microsoft.com/en-us/Office/Forum/Excel

    Also, providing specific information may help to get a faster response or better, such as the version of Office or Excel? version of Windows XP? Home, Pro, 32-bit or 64-bit.

    I hope this helps.

Maybe you are looking for