Getting point ordinates using sdo_intersection

I have two crossing lines. I try to get point of crossing using spatial function SDO_INTERSECTION. I got it, but ordinates was null.
I don't know why.
geom_edge1 := MDSYS.SDO_GEOMETRY(2002,NULL,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),MDSYS.SDO_ORDINATE_ARRAY(-654713,-1021390,-767748,-1011681));
geom_edge2 := MDSYS.SDO_GEOMETRY(2002,NULL,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),MDSYS.SDO_ORDINATE_ARRAY(-727527,-983943,-730301,-1083802));
select MDSYS.SDO_GEOM.SDO_INTERSECTION(geom_edge1, geom_edge2, 0.005) into geom_intersection from dual;
X := geom_intersection.SDO_POINT.X;
Y := geom_intersection.SDO_POINT.Y;
I have oracle version 9.2.0.6.
Thank you for replay.

I already found solution - for geometry of intersection I must ask for SDO_ORDINATES, not SDO_POINT.

Similar Messages

  • How to get point ordinates in oracle spatial with oo4o and VC++

    Hi,
    I need some help baddly.Would someone help me?
    Now I need to get the point ordinates in a table called cities.I use oo4o C++ class library and VC++ 6.0 . In the table, the column name of SDO_GEOMETRY object
    type is "goem". For the reason that the table is created for a point layer, all the point ordinates are stored in the SDO_POINT.
    I read the ordinates in my program as below. But every time the final result of x,y,z are all be 0.000000000 . Although I checked it many times, I still couldn't found why.
    So could some experts tell me the reason or show me how to do that?
    Thanks in advanced.
    ODatabase odb("", "scott", "tiger");
    ODynaset odyn(odb, "SELECT * FROM CITIES");
    if (odyn.IsOpen())
    odyn.MoveFirst();
    OObject geometry;
    oresult ores = odyn.GetFieldValue("geom", &geometry);
    if(ores==OCSUCCESS)
    OObject sdopoint;
    const char* attrname3=geometry.GetAttrName(3);
         geometry.GetAttrValue(attrname3, &sdopoint);
         const char* ittypename=sdopoint.GetTypeName();     
         int itnumber=sdopoint.GetCount();
         int attrtype=sdopoint.GetAttrType(1);
         const char* attrnameX=sdopoint.GetAttrName(1);
    const char* attrnameY=sdopoint.GetAttrName(2);
         const char* attrnameZ=sdopoint.GetAttrName(3);
         double *x;
         double *y;
         double *z;
         sdopoint.GetAttrValue(attrnameX,x);
         sdopoint.GetAttrValue(attrnameY,y);
         sdopoint.GetAttrValue(attrnameZ,z);
    }

    Yes. I have tried your code and got the same result.
    And I also tried to use SQL to get the result.But it
    also failed.
    I am intrested in this problem too.
    Could some oo4o experts help me too?
    jeff

  • No point of using Skype.. calls are getting drop f...

    No point of using Skype.. calls are getting drop frequently..
    I have waisted time and money too here.
    My calls are getting dropped again and again.. now i am thinking how to finish available balance.
    anybody can suggest me how to use my rest money because calling someone is not worth.

    Please,  run the DirectX diagnostics tool. Go to Windows Start  and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post. Be aware that you will have to zip this file before attaching it here.

  • Inbound process of ALE------- get point.s

    Hi all,
    In WE05 i m able to see my idoc with status 03. Now wht i need to configure further for the correspoinding inbound process, to see my data on the receiver system.
    Regards,
    [email protected]

    Hi
    See this and do accordingly
    Application Linking and Enabling (ALE)
    In this document you will learn the step-by-step procedure to setup the ALE system and go through a transaction between two clients
    For our purpose we have two clients
    namely Client 100 and Client 200.
    System name is SAPKDC (FOR BOTH 100 AND 200 CLIENTS).
    Distribution of Material Master Data Between two Systems
    1) SETUP LOGICAL SYSTEM: (Note: Do Not Create This Step)
    To do this follow the following steps
    Execute SALE Transaction Code
    On The Screen Click on Sending and Receiving Systems.
    Then Click on Logical Systems.
    Then Click Defining Logical Systems.
    Click New Entries Button
    (E.g. (LG100 sending system)
    (LG200 receiving system))
    Enter two logical system names and their description.
    Save
    Comeback to SALE Transaction Code screen.
    2) Now you have to allocate the created logical systems to respective clients.( Note: Do Not Create This Step)
    LG100 assign to client 100
    LG200 assign to client 200
    To do this, do the following.
    Click Assigning Client to Logical System.
    Ignore the message that comes up on the screen.
    Select client 100
    Click details button on the toolbar icon or press F2.
    In the logical system box, enter LG100.
    Click on the save Icon
    Click the back button.
    Now select client 200.
    Click details icon or press f2.
    In logical Systems box, enter LG200.
    Save
    Back.
    Comeback to SALE Transaction Code screen.
    3) Maintain RFC Destination: (TR.CODE:SM59)
    (Note: Do Not Create This Step)
    Click Create Button on the Screen
    On the Screen Maintain RFC Destination i.e LG200.
    Enter LG200 in RFC destination box.
    Connection type is 3
    Give a description for the RFC destination.
    Maintain Technical Settings on Details on Technical Settings tab
    Target Host as : SAPKDC (NOTE: Save it as a Host Name)
    Maintain Logon Details on Logon/Security tab.
    Language: EN.
    User: MMUSER200 (This is the logon for dist.)
    Client : 200
    Password: MM1234.
    Save.
    Click on create to do the above process for Client 200 in
    The client 200 system.
    4) Maintain Distribution Model.(BD64). (ABAPer role starts here)
    Execute Maintain distribution model directly for
    creating the model.
    Click on change mode button on App tool bar of the Screen.
    Create Model View pushbutton on App tool bar of the Screen.
    A pop screen will appear in which you specify
    Short text as Distribution for MM Data.
    Enter Technical Name as LGMODEL.
    Select Model View and Click on Add Message Type Pushbutton on App toolbar of the Screen.
    A popup screen will appear in which you specify
    Model View as LGMODEL.
    Sender as LG100.
    Receiver as LG200.
    Again Click on Add Message Type Pushbutton on App toolbar of the Screen.
    A popup screen will appear in which you specify
    Model View as LGMODEL.
    Sender as LG200.
    Receiver as LG100.
    SAVE.
    On the same screen goto Menubar and select Environment.
    And then select Generate Partner Profiles , then execute it.
    On the Screen specify the Logical System as LG200.
    Then execute the screen.
    Click back.
    Again On the same screen goto Menubar and select EDIT.
    Again select Model View and then select Distribute.
    ****LOGIN to client 200.
    Execute Tr.code BD64 and again On the same screen goto Menubar and select Environment.
    And then select Generate Partner Profiles , then execute it.
    On the Screen specify the Model View as LGMODEL
    And Specify the Logical System as LG100.
    Then execute the screen.
    Click back.
    *******Switch back to client 100 Session.
    5) Create Material using MM03 Tr.Code.
    Enter the material name as LGMATERIAL
    Industry sector as Mechanical Engineering
    Material Type as Finished Products.
    And then Click on Data Pushbutton on the App tool bar.
    Select views.
    In the select views box for materials check basic data 1 AND 2.
    Click enter icon.
    In the next screen that you get
    Give the text of the material as NEW MATERIAL.
    Base unit of measure as KG.
    Gross Weight as 200.
    Net Weight as 100.
    Weight Unit as KG.
    In the description area language (E) and material description.
    Click Save.
    Now I Created a Material in Client 100 , I want to transfer this data to Client 200.
    6) Execute BD10 to transfer the material in which you specify
    the material as LGMATERIAL and
    message type as MATMAS (client100).
    Then a Screen will be displayed in which it shows that
    1 Master Idoc Generated .. Enter
    1 Communication Idoc Generated..Enter.
    *******LOGIN to Client 200.
    7) Execute BD11 to get the material in which you specify
    the material as LGMATERIAL and
    message type as MATMAS (client200).
    8) Execute Tr.code MM03 and give the material as LGMATERIAL
    and see that the material is displayed as it was in Client 100.
    If not follow these steps.
    9) Execute Tr.code WE19( for rectification of errors in client200).
    Specify the Existing Idoc Number and Executes it .
    A Screen is displayed in which you specify the corresponding Function Module as INPUT_IDOC_MATMAS01 and execute it.
    10) Execute Tr.code MM03 and give the material as LGMATERIAL
    and see that the material is displayed as it was in Client 100.
    Now the Material is correctly displayed in Client 200.
    11) Monitoring of IDOCS.
    Transaction Codes:
    IDOC Display of Status: WE 05.
    IDOC Date and Time: WE07.
    Outbound:
    Step 1.  Application document is created when transaction is saved.
             2.  Message control is invoked.
             3.  Messages are processed by system.
             4.  Messages are Edited (if desired).
             5.  Output (ALE /  EDI) is checked
             6.  Validate against Message control record from Partner Profile
             7.  Application Document is saved.
             8.  Entry NAST table is created for every selected output program
                  along with Medium & Timing.
             9.  Check for Process Immediately .
                     If (yes)
                       Determine Processing Program from TNAPR Table.
                     ELSE
                       Execute RSNASTED Program.
           10.  Read Partner Profile to determine Process Code.
           11.  Process Code points to the Function Module & Invoked.
           12.  IDoc is generated. 
           13.  Check for ALE Request.
                        if (Yes)
                            Perform Filters, Conversions, Version Changes etc.
                        Else.
                            IDoc is stored in DATABASE.
    INBOUND:
    Step 1.  EDI Subsystem creates an IDoc file from EDI Messages
            2.   Subsystem calls Functional Module                                 EDI_DATA_INCOMING from startRFC program.
             3.  Data in Control Record is validate against the Partner                       Profile.
            4. IDoc is generated in Database and syntax check is                      carried out.
            5. IDoc file is deleted once file read.
            6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. 
                       7.  Check for Process Immediately.
                   If NO
                     Execute RBDAPP01 Program
                   Else
                      Read Process Code from Partner Profile        
                           Process Code Points to  Function Module
                     Application Document Posted.     
    further help:
    check url
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/ale/configuration.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapdevelopment.co.uk/training
    And also u can get lots of inof from the below link.
    http://www.sapgenie.com/ale/why_ale.htm
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • What's the point of using a password?

    what's the point of using a password if anyone can insert the installation DVD and choose reset password

    As Barney-15E says, someone with physical control, can just remove the disk, and put it in an external enclosure, and mount the file system with their computer and access all the files.
    Only encrypted data would be protected. There are data encryption facilities available on the Mac, both included, as well as 3rd party, including 3rd party whole disk encryption.
    But having a password on an account, and engaging the password when the screen saver is active, can keep casual access from happening.
    Also if you allow network access (file sharing, remote login, screen sharing), the password will keep random net users from accessing your system, when for example, you are in a coffee shop, or if someone gets onto your WiFi network, or you give a visitor to your home access to your network, or you allow a guest to use the guest account.

  • Question about points and using gift card

    I have two recent transactions that are not receiving points.
    The first one on 10/24 for two iPads.  With this purchase I did use two gift cards as part of the payment but the two gift cards only covered part of the payment.  It is my understanding I do not receive points when using a gift card but wouldn't I still get credit for the remaining balance I paid that the gift card didn't cover?
    Simlar situation seems to be happening with a Xbox purchase on 11/7.
    Like I said I understand not getting points for what was used for the giftcard but thought I should get points for the remaining balance.
    Example if I used a $10 gift card to help pay for a $1,000 purchase, I don't get credit for the remaining $990 in reward points?
    Thanks!
    Solved!
    Go to Solution.

    Hi Bulletpig,
    If the remaining portion of a purchase is considered eligible, then points should be awarded.  After using the email address you registered with the forum to review your account, I believe that I can explain why you did not receive points for the portions that were not paid for with a gift card.  It appears that you used your Best Buy credit card and applied those portions to promotional financing offers, which are not eligible for points.
    While those purchases should count towards reaching Elite and Elite Plus status, they would not qualify for points.  I would like to go over your account with you to ensure it is up-to-date and to see if there are any other questions I can help answer, so I will be sending you a private message.  To check your private messages, you will want to login to the forum and click on the little yellow envelope at the top of the page.
    My Best Buy™ Points and Promotional Financing
    Thank you for reaching out to us on the forum and for being a  My Best Buy™ member!
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Design Help with MPLS/BGP and Point to Point VPNs using OSPF as backup

    I need some advice on the configuration I want to implement. Basically we have a MPLS cloud using BGP. We are using OSPF for internal routing. Everything is working fine. Now we want to add a Point to Point VPN using new Cisco ASA's for a backup path at all of our remote locations. We want it to be on standby. I want to use OSPF for this. Miami and LA are datacenters. I want the VPN's to go into both datacenters if possible running OSPF for backups. I have a feeling this will be very tricky. I also wanted to use floating routes. Now I know I get the VPN's up and running using OSPF with no problem. Here are my questions:
    But being that I am using different areas, will OSPF through the VPN work correctly? I have the Cisco PDF on setting this up but it looks like they are using the same, AREA0, in the example.
    Can I get both VPN's to work with no problems? Or will it be too much of a pain?
    What would you guys suggest?
    Thanks.

    We are implementing the same solution, and was only able to make this work using HSRP one router for the MPLS connection and one for the VPN tunnel. I opened a TAC case and the tech couldn't get it to work either. I was able to establish the Lan-2-lan tunnel but triggering the route update was the problem. We ended up pulling our ASA5505's out and putting in 1841 routers.

  • I have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    i have a MacBook Pro and just added an airport express to listen to my iTunes on my stereo. How do I get Firefox to use my AX when I use Grooveshark or Pandora?

    If the purchases are all from the same account then you can share the content by authorizing each device.
    If you have separate accounts then you have to be authorized to use the content purchased from another account.
    MJ

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How to get multiple values using HttpSession.getAttribute(java.lang.String)

    Hey Guys
    I'm trying to find a way to get multiple values using the following method
    HttpSession.getAttribute(java.lang.String)
    Here's the scenerio. Its a already written application and now i'm trying to make some changes. earlier in the jsp page a combo box was used and value was retrieved in the servlet using the getAttribute method of Session. Now I'm using a html multiple selection list and have to retrieve all the values selected in the list in the servlet. Can anyone please suggest me how to do that. HTTPRequest class has a method getParameterValues which will let me do that but i have to do is using HTTPSession.
    Thanks for your time to read this

    I'm not sure what you are trying to do. You can only use session.getAttribute to retrieve something that has already been stored in the session with a previous setAttribute. If you need to store multiple values under one attribute name using setAttribute, you can store an array, or an ArrayList or whatever type of Collection you want. The request.getParameterValues method is the only way you can retrieve form parameters than can have multiple values. If the servlet hasn't already processed these parameters and put them into the session for you, you have to use request.getParameterValues.

  • I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air can't get it to use my new apple id for icloud. Help?

    I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air  I can't get it to use my new apple id for icloud. It keeps going back to my old apple id and doesn't afford me to alter it. I use system preferences-icloud and it just wants to verify the old apple id but doesn't afford me the opportunity to delete teh account or edit it like the iphone5 and ipad. Help?

    Welcome to the Apple Community.
    You need to use the sign out option on the left side.

  • I cannot get to or use my home pc for a while and am staying with a friend for the foreseeable and am using their pc to write this. How do I access my itunes account on their pc. Thanks Karen

    I cannot get to or use my home pc for some time and am staying at a firends and using their pc to write this. I need to access my itunes account and music on their pc. How do I do this. Thanks

    An easy route would be to use the iTunes Match service such that all your Songs are available anywhere over the internet via iCloud.  Once complete you can create an account on your friends PC, download iTunes and sign-in to the iTunes Store with your Apple Id, start iTunes Match and it will provide access to all your Songs.
    Not quite so good, is simply to follow the steps on your friends PC as above, however, instead of iTunes Match simply access the 'purchased' songs area from the iTunes Store home page that will give you access to all your purchases without iTunes Match.
    IMPORTANT:  Apple only like to see a single Apple Id associated with one device - so if your friend already has an active Apple Id account on the PC, it would be wise to use an alternate machine.  Apple has a 90 day lock out associated with switching Apple Ids on a common device.

  • How to get multiple records using fn-bea:execute-sql()

    Hi,
    I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
    Regards,
    Nagaraju
    Edited by: user10373980 on Sep 29, 2008 6:11 AM

    Hi,
    Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
    For example:
    fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
    Id Name
    01 XXX
    02 YYY
    03 ZZZ
    I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
    <student>
    <Name>XXX</Name>
    </student>
    I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
    Please suggest.
    regards,
    Venkat

  • How do I get imovie to use Photoshop Elements 12 as external editor?

    How do I get imovie to use Photoshop Elements 12 as external editor? I am making a movie slide show with music from my Caribbean vacation photos and adding text captions to photos in PS Elements 12. I can also add some effects to photos like edge blur although I like iphotos effects better but iphoto doesn't seem to do text. The finished PS Elements photo doesn't seem to want to be shared by iphoto which is what imovie uses...
    I am still learning to use PS Elements 12 for Mac (had PSE 7 for WinVista but wasn't proficient) and Mac and it's programs are new to me. I switch between my old Dell which is still amped for graphics and the new Mac mini. I started to use Movie Maker to do my vacation project but read that imovie was better but so far it doesn't seem to have as broad of file useage when it comes to imovie and photo files.
    Hmmmmm??? What to do?

    You simply need to create your stills with Photoshop Elements, save them in a suitable format (.jpg, .png, .tiff are all acceptable) then drag and drop them into your iMovie timeline.  You don't have to use iPhoto.
    Geoff.

  • Is there a way where you can get Siri to use a specific email account to send messages?

    I have multiple mail accounts (three) on my phone - work, personal (gmail), and one that's affiliated with a volunteer group. I set them up in that order. When I last sent new message using Siri, it defaulted to use my gmail account. I can't seem to figure out the command to get Siri to use a specific account. Does anyone know how to do this?

    I don't know enough about Siri yet, but I would imagine that it links to the email account listed as "Default Account" toward the bottom of the Mail Settings options (Settings -> Mail, Contacts, Calendars -> Default Account).
    If true, to link Siri with a different account, you would have to switch the default email account.
    Give it a try and let me know if that works?
    H

Maybe you are looking for

  • Upgrading Envy 17 3D to SSD

    I have an Envy 17 3D, and I wanted to upgrade it to a SSD Boot drive to speed things up and eek out a bit more battery life. I got an OCZ 3 Agility 120 GB SSD, I was able to run through the recovery DVD I created to install Windows 7, but on reboot I

  • Is Apple TV necessary to play a purchased film downloaded to my iPad?

    Do I understand that Match is for music only, and not for film/video?

  • MacBook Pro Problem

    My MacBook Pro keeps freezing. I am still in the warranty time. What should i do?

  • Validity periods

    Please confirm what is the validity periods in terms of transaction ME21N, does it mean begin of validity period means the starting of date from which vendor needs to be paid and end of validity period means from tille whcih dsate we can pay to the v

  • Webservice URL automatically getting changed

    Hi', I am Calling a webservice using Webservice adapter which deployed in different server every thing is fine till I dont close the adapter, once I open it again the URL has got changed and the one it gets changed to is invalid, I have no clues what