Is there a simple way to create a linestring sdo

11gR2 EE all the usual bells and whistles.
Dear smarter than me Spatial Peeps!,
So is there a way to simply create a 2D linestring SDO from two 2D point SDO's ?
I HAVE A 2D point that I use:
P2 := SDO_UTIL.POINT_AT_BEARING(P1,0.5,50) ;
And that gets me a point, at zero radians 50 meters from P1 which is fantastic!  Is there a function that I have not discovered that will take a number of points and return a linestring SDO?
Cheers!

The following function could take two point's coordinates and return a line. Do you think this solves your problem now?
   FUNCTION xy2line ( pi_x1 number, pi_y1 number, pi_x2 number, pi_y2 number, srid NUMBER DEFAULT null )
   RETURN Mdsys.Sdo_geometry
   DETERMINISTIC
   IS
    Line mdsys.sdo_geometry ;
    var_SRID number;
   begin
    Line := Mdsys.Sdo_geometry( 2002, SRID, null,
         MDSYS.SDO_ELEM_INFO_ARRAY(1, 2, 1),
         MDSYS.SDO_ORDINATE_ARRAY( pi_x1, pi_y1, pi_x2,pi_y2 ) );
    RETURN Line;
   END;
Best
Navaneet

Similar Messages

  • Is there any simple way to create ods files (OpenOffice Calc)?

    Is there any simple way to create ods files (OpenOffice Calc) using ResultSet (from java.sql)?

    Mabe, you can create CVS files (plain text) Ej...
    ====test.cvs=====
    1, "aaa"
    2, "bbb"
    3, "ccc"
    ===============
    Using a "BufferedWriter"

  • HT3697 Is there a simple way to create a borderless PDF from Keynote.

    Is there a simple way to create a "borderless" PDF using Keynote slides?
    When I create a PDF, each slide appears separately with a border around it.
    I am a relatively new keynote and mac user.
    I am using Keynote version 6.2

    I got the same result.
    I'm trying to create what looks like a single document that viewers can scroll through.
    I done quite a bit of checking and it seems that Keynote used to give you the ability to crop the PDF which, if I understand what they are talking about, would make it look like one big document and not a series of slides.
    I read about using terminal commands (?) which are way beyond my skill level.
    Also, I could buy Adobe Acrobat which, from what I've read, would also work. I'm not fond of making that investment.
    Right now, I'm stuck!
    I need to create a "long form sales letter" and I'm starting to think that I'm using the wrong program.
    Thank you very much for your help and any other suggestions you might have.

  • Is there a simple way to create a custom item list for a List Picker field?

    I have created a List picker field and added it to my customized version of the Incident Management form. I need to populate this List Picker with custom items (Departments) and everything I am reading about how to do that is that I have to write a
    bunch on XML code. Is there a relatively simple way to populate a List Picker field with custom entries that does not require me to know scripting or XML?
    Thanks in advance for any help
    Mark

    Assuming that you have created a Enumeration picker (i.e.
    you used the authoring tool and dragged what it calls a list picker in, and then selected a list that you created in the authoring tool), then you can edit the contents of those Enum Lists using
    the Lists view in the Library pane, or by editing the XML as in the last reference. 
    You might also be interested in the
    Bulk Enum creation tool, which automates the process of creating that XML

  • I've created a prproj file and want to create a master DVD.  Is there a simple way to do this?

    I've created a prproj file and want to create a master DVD. Is there a simple way to do this?

    I'm not sure I would call disk authoring a 'simple' process.  Unless it's a very basic disk, or course, with but a single timeline and no menus.  But the kind of disk we're using to seeing from Hollywood is anything but simple to create, and so not so simple to explain.
    Might be time for some research.

  • Is there any effortless way to create accordion or sliding menu instead of incommodious AS3.0 Classes?

    For a simple accordion menu design in flash we have to writting classes that requires advanced knowledge in writting object oriented as3.0.
    But in javacsript we can make an accordion menu with jquery in just a minute.
    Is there any effortless way to create accordion or sliding menu instead of incommodious AS3.0 Classes?
    I have found classes for this animations that very hard to learn.
    Thanks in advance
    Felicita

    You can probably find a premade AS3 accordian menu that you can adpat fairly easily without having to create all of the AS3 code that plays the role that the jquery end of the code does. Here's one that may be useful (?) http://www.blog.noponies.com/archives/39

  • Simple way to create rollover text?

    I want to ask visitors on my page to enable pop-ups if they click on one of my quicktimes (to decrease load times, I use pop-up windows on my video-heavy pages). I want the text to appear over the still "poster" image of the quicktime when they mouseover it. Is there a simple way to do text rollover? Or do I have to make it into an image (create another jpeg for each "poster" with the text written on it)?
    Here's the site: http://web.me.com/roncutz/roncutz/theatricaltvspots.html
    Thanks in advance.

    Heres' a solution that takes the form into acount :
    <iframe style="margin: 0px auto"
    src="../../../roncutz/" width="322" height="240" frameborder="0" scrolling="no">
    </iframe>
    <script language="JavaScript" type="text/javascript">
    <!--
    function open_win()
    window.open("http://homepage.mac.com/roncutz/.Public/MonstersVsAliens.m4v","_blank","
    toolbar=no, location=yes, directories=no, status=no,
    menubar=no, scrollbars=no, resizable=yes,
    copyhistory=yes, width=480, height=270") }
    // -->
    </script>
    <form style="position: absolute; left: 45%; margin-top: -35px;"><input type="button" value="PLAY">
    </form>
    It would be safer to use a webpage to display the popup movie. A MIME file error exist on the MobileMe server when you either upload your movie from the Finder to the Sites folder on MobileMe or if you upload with Cyberduck.
    The movie will download in Safari instead of being displayed.
    http://discussions.apple.com/message.jspa?messageID=11150467&tstart=0
    Here's a solution : http://www.wyodor.net/MoreEmbed/embedmedia.html
    Click the link in the sentence : +Here's a basic sample page with shaded background you can use for testing.+
    And click the link in the sentence : +Click to open a window with the pop-up code.+

  • I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    There is currently no way to merge accounts.  The best option is to pick one, and use it consistantly.
    HTH.

  • I just got new ipad mini....I want to delete all of the music that was synced from my itunes account.  I have went through and deleted some songs one by one but some have a cloud icon with a red arrow on them.....is there a simple way just to delete them?

    I just got new ipad mini....I want to delete all of the music that was synced from my itunes account.  I have went through and deleted some songs one by one but some have a cloud icon with a red arrow on them.....is there a simple way just to delete them?

    Yes there is. Those songs are not actually on your iPad. They are in iCloud ready for download if you choose to do so. If you want to remove them go to Settings>iTunes & App Store>Show All>Music>Off. You can also do this in Settings>Music>Show All Music>Off.

  • Is there a simple way to retrieve the data from a resultset using JavaBean?

    I have a result set from a select * from users where userid = xxx statement. However, at the moment I have had to hard code the remainder of the code to get the data from each column as I need the column name as well as its data.
    I had read somewhere using java beans and reflection it is easier. But i do not know know how.
    Is there a simple way to retrieve the data from a result set ?
    thanks in advance-
    kg

    Well, it is not really simple. But there are Open Source components to simplify it for you. See e.g http://www.must.de/Jacompe.htm - de.must.dataobj.DataObject and its subclasses. Feel free to contact me if you have any questions: [email protected]

  • Is there any simple way to close a group of PO's?

    Hello All,
    I was looking an answer for my question on forum but didn't found anything which could help me to solve my issue.
    I would like to close a group of PO's in some period of dates. Is there any simple way to do this? I mean transaction for example, which will let me to choose company number, period of dates  or range of PO numbers and close them by one tick (one action).
    Thank you in advance for any support from your site.
    Regards,
    Kamil

    Kamil,
    Though I have not used this functionality, can you check whether you can use this functionality for mass change?
    Upload and Download of Purchasing Documents
    http://help.sap.com/saphelp_srm70/helpdata/en/09/1f42188473402a890183fd1b7c6082/frameset.htm
    Using this function, you can download purchasing documents as a file to your PC, process them locally, and then upload the changed documents to the SAP Supplier Relationship Management (SAP SRM) system. You can download the following purchasing documents :
    Features:
    The upload/download supports the following functions and possible uses:
    - Cross-Document File Structure
    You can display and process the data in a standard tabular file structure for the documents named above. The file structure assigns a unique technical ID to each data field in a metadata area.
    - Process Document Data Offline and Retain
    You can change or delete existing data, add new data, and transfer all document data, for example, customer fields.
    - Process Large Documents
    This function simplifies the creation of documents with numerous items, and simplifies mass changes to large documents; for example, you can download a document with only one item, and add multiple items to it offline.
    Background processing occurs in the case of very large documents.
    Regards,
    Sandeep

  • HT1349 I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing som

    I just purchased an Iphone and love it except I'm surprised and annoyed that there is no way to create a group within contacts.  I coach a youth basketball team and routinely want to fire off a mass email or text to the same group. Am I missing something?

    When I click on my contacts icon on my phone there is a Groups choice in the upper left hand corner. Make sure you are in All Contacts and not a specific person.

  • Is there an easy way to create an portfoliopage on my site?

    I like to know how i can do this the best? Im not so good in Dreamweaver.
    this is my page where i like to put the portfolio in.
    Ive got a almost 10 documents wich i want to put on my page.
    i can make thumbnails from the documents for on the page.
    Looking forward to your answer..
    Regards

    Thank you very much. The last one youve send me looks the most what i have in mind. With some thumbnails and when you click on it you see a larger document.
    But it doesnt fit quite in the style of the site. You have an other example for me?
    Regards Brian
    Date: Sat, 7 Apr 2012 16:56:54 -0600
    From: [email protected]
    To: [email protected]
    Subject: Is there an easy way to create an portfoliopage on my site?
        Re: Is there an easy way to create an portfoliopage on my site?
        created by Nancy O. in Dreamweaver - View the full discussion
    You could arrange your thumbnail images in a grid and link each one to other HTML pages (view source to see the code)http://alt-web.com/TEMPLATES/Dark-Grid-II.shtmlhttp://alt-web.com/TEMPLATES/CSS-Semi-liq-p hoto-sheet.shtml Or you could arrange thumbnails in a grid and link to full size images with jQuery FancyBox (click on images)http://alt-web.com/TEMPLATES/Dark-Grid.shtml   ()__() (='.'=)(")_(") Nancy O.Alt-Web Design & PublishingWeb | Graphics | Print | Media  Specialists  http://alt-web.com/
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4320059#4320059
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4320059#4320059. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • IS THERE ANY SIMPLE WAY TO RETURN SPEED PERFORMANCE TO FACTORY SPEED AFTER ABOUT 3 YEARS OF RELATIVELY STANDARD USE?

    Everyone is often so quick to bash all these 'cleaning' utilities but rarely give any solutions.
    There's a lot of critiques and endless lists of what NOT to do to avoid performance problems.
    My Powerbook is 3 years old. It runs like molasses... SLOW.
    I'm not a computer geek, but I'm smart and understand quite a bit more than a newbie.
    Do I need a degree in computer engineering to fix/speed up my mac?
    Yes, I know, the cleaning utilities suck. But is it really true of all of them?
    I'm not totally convinced because there seems to be such a huge market for them.
    Sure, there's a huge market for bottled water too, so maybe they are just useless/marketing crap, but I really want to return to my original speed performance quickly and can't seem to find out if it's possible with a utility.
    I'm not willing to sit down for 3 hours and study line by line b.s. about how to fix it.
    I have no problem if it's not fixable. I've always assumed operating systems outgrow their hardware's capacity to keep up, and sell my old one for a new one, no prob.
    I don't care, really, but again, I'm curious if there is any quick, easy, user-friendly utility or method that I can use to return the speed performance I had as recently as a year ago? (I'd be satisfied with that).
    Anyone willing to bite on that? Anyone willing to not critique, complain, tell me what NOT to do and actually know a solution?
    IS THERE ANY SIMPLE WAY TO RETURN SPEED PERFORMANCE BACK TO (OR CLOSE TO) ORIGINAL FACTORY SPEED AFTER ABOUT 3 YEARS OF RELATIVELY STANDARD USE?
    The only thing I may have done outside of the norm was some video editing, but very little.

    Look for solutions here:
    https://discussions.apple.com/docs/DOC-3521
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • There's a way to create adobe forms in ecc 5.0 ?

    There's a way to create adobe forms in ecc 5.0
    via abap without webdypro ?

    Hi,
    Go through this link for ABAP Webdynpro
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/80aef577-543f-2a10-d19c-d83a565efe37 [original link is broken]
    Regards,
    Satish

Maybe you are looking for

  • Connecting Apple TV device and Macbook Air (early version) without using a TV

    Hei, I am trying to set up my home cinema using a projector and not a TV. I have a Macbook Air early 2011 version (the one where you can only stream directly from Itunes and use a third party device to play the rest) that I am trying to connect this

  • I need some assistance on stopping my backspace key from "sticking" on my iPad 2?

    I have reset, restored, and rebooted. Nothing is working. My backspace key goes rogue even if I only hit it once. I've had this pad for 3 days and I'm a bit frustrated. I've noticed that the backspace key goes haywire in almost all third party apps b

  • Customise Theme Images

    10 Duke Points Is it possible to use custom images on the components. For example: how can we replace the expand and collapse icons (not the icon against the node) on the Tree component to a different icon from that provided on in the Theme. Some for

  • Roles in Solar02

    Hi! In Solar02 transaction, under column ' type' I see a object name ' rolle'(roles). Has anyone used this feature? Does it help in building security roles and profiles. Thanks. Mike

  • Change Documents for Reservation

    Hi Masters     How to find the change documents for the reservation?.I have Checked it in MB22 and tables CDHDR and CDPOS.I found nothing.Is there any other T code for finding this? Regards Mohan