Convert non-LRS point to LRS-point

Can you please show me how to convert a non-LRS point to a LRS point?
The sdo_lrs.convert_to_lrs_geom function does not work with points. It returns an error:
ORA-06531: Reference to uninitialized collection
ORA-06512: at "MDSYS.SDO_LRS", line 1767
Thanks
Dave

I got around this by creating a sql script of insert statements to insert LRS points into another table:
spool c:\temp\convert_to_lrs_pt.sql
set serveroutput on
declare
x number;
y number;
z number;
CURSOR POINTS_CURSOR IS
SELECT GEOM,FID FROM INV_TRFC_STN where fid < 3000;
myCURSOR POINTS_CURSOR%ROWTYPE;
begin
DBMS_OUTPUT.ENABLE(1000000);
for myCURSOR in POINTS_CURSOR
LOOP
x := myCURSOR.geom.sdo_point.x;
y := myCURSOR.geom.sdo_point.y;
dbms_output.put_line ('insert into test2 values ');
dbms_output.put_line ('(mdsys.sdo_geometry(3001,41141,NULL,mdsys.sdo_elem_info_array(1,1,1),');
dbms_output.put_line ('mdsys.sdo_ordinate_array(' &#0124; &#0124; x &#0124; &#0124; ',' &#0124; &#0124; y &#0124; &#0124; ', NULL)),' &#0124; &#0124; myCURSOR.FID &#0124; &#0124; ');');
end loop;
end;
spool off
But if there is another way I would really like to know.
Thanks
Dave

Similar Messages

  • How do i convert a pdf file to power point file

    how do i convert a pdf file to power point file

    Hi ricardor,
    You can use Adobe PDF Pack or Acrobat to convert a PDF file to PowerPoint format. PDF Pack is an online service, and converting there is a very straightforward process (see Getting Started with ExportPDF | Adobe Community, which applies to PDF Pack as well).
    In Acrobat, you choose File > Save as Other > Microsoft PowerPoint Presentation to export the PDF file.
    Please let us know if you have additional questions.
    Best,
    Sara

  • How do I convert a PDF file to Power Point?

    How do I convert a PDF file to Power Point?

    Hi,
    Using Web UI:
    Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
    Select “Export from PDF”
    Click “Select Files” button then choose your PDF file
    Select the format from the list below ( for your case PPTX)
    Check ON “Recognized text in” if your PDF file is scanned images to recognize the image to text
    Click “Export” button
    Click “Download” button in the progress bar after completion of exporting to download the file to your computer.
    Note: Your exported PPTX files are stored at https://files.acrobat.com.
    Just click "FILES" at top then it direct you to the site.
    Hisami

  • How can I convert page points into document points??

    Hello,
    How can I convert page points into document points? any API?
    I have found 2 APIs
    AIDocumentViewSuite::ArtworkPointToViewPoint( ) and
    AIDocumentViewSuite::ViewPointToArtworkPoint( )
    but I dont know what is view point and art work point.
    I think artwork point = page points and view points = document points. am I correct ???

    What do you mean by 'document points'? Do you mean document units? Like centimeters or inches? If that, there's no API to do (well, kind of in AIUser.h, but that gives you back a string with a unit suffix). Frankly, its pretty easy to just figure out the conversion values for each type of ruler unit -- there are only five or so you need -- and then write a dinky function that takes a value in one or the other, looks up the current document unit and uses that to convert the value (one function for each way). You just need to figure out everything in terms of points (since pixels == points) -- in that regard, it probably helps to know that 72 pt == 1 inch. From that you can figure out pointer-per-inch|centimeter|millimeter|pica.

  • Convert the geometric segments to LRS

    I tried to run SDO_LRS.CONVERT_TO_LRS_LAYER to convert to LRS. Everything ran fine but nothing happened in the database. When I loog at the USER_SDO_GEOM_METADATA, I couldn't find any measure values at all. Below is what I ran
    SQL> BEGIN
    2 IF (SDO_LRS.CONVERT_TO_LRS_LAYER('PIP_CENTERLINE_SOB_STG', 'SOB_GEOMETRY') = 'TRUE')
    3 THEN
    4 DBMS_OUTPUT.PUT_LINE('Conversion from STD_LAYER to LRS_LAYER succeeded');
    5 ELSE
    6 DBMS_OUTPUT.PUT_LINE('Conversion from STD_LAYER to LRS_LAYER failed');
    7 END IF;
    8 END;
    9 /
    Conversion from STD_LAYER to LRS_LAYER succeeded
    PL/SQL procedure successfully completed.
    Did I miss out something???? Any suggestions???

    Lap
    How does your metadatrecord looks like?
    Is it 2D or 3D? With other words is it having a DimElement Z or not?
    We had 3D info (dime element 'Z')
    We converted to LRS with the following steps:
    1. convert the 3D Dim array to 2D dim array:
    ==> use the function convert_to_std_dimarray
    2. convert the geometry from 2D to 3D:
    ==> use the function convert_to_std_layer
    3. convert the 2D geometry to LRS:
    ==> use the function convert_to_LRS_layer
    after this the dimarray info is updated automatically:
    the 'M' dimension is added with NULL values for the upper and lower and tolerance values
    if you don't change this NULL values your index creation will fail therefor
    4. SELECT diminfo FROM user_sdo_geom_metadata
    WHERE table_name = 'tablename' AND column_name = 'your GEOMETRY collumn';
    this will give you the values for the 'X' and 'Y' dimelements.
    then you can do an update statement:
    UPDATE user_sdo_geom_metadata
    SET DIMINFO = MDSYS.SDO_DIM_ARRAY(
         MDSYS.SDO_DIM_ELEMENT('X', 22935.54, 295122.12, 0.01),
         MDSYS.SDO_DIM_ELEMENT('Y', 21774.2, 244017.28, 0.01),
         MDSYS.SDO_DIM_ELEMENT('M', 0, 100000, 0.01)
    WHERE table_name = 'tablename' AND column_name = ''your GEOMETRY collumn'';
    so now your M dimelement does not contain any NULL anuymore.
    5. perform your index with parameter PARAMETERS('sdo_indx_dims = 2')
    although the index is created only on the two first dims ('X' and 'Y')
    you cannot leave the dim elements = NULL values for 'M' .
    Hopes this can help you
    Luc VAN LINDEN

  • Converting Oriented Points to Simple Points (SDO_POINT)

    Does anyone know of a utility or script to convert oriented 3D points to simple points?

    Hi,
    The below script is to get simple point from 2D oriented point. You can easily modify this for 3D point.
    CREATE OR REPLACE FUNCTION getPoint(geom SDO_GEOMETRY) RETURN SDO_GEOMETRY IS
    BEGIN
    if geom.SDO_ORDINATES is not null and geom.SDO_ORDINATES.count() = 4 then
    RETURN SDO_GEOMETRY(2001,geom.sdo_srid,
    sdo_point_type(geom.SDO_ORDINATES(1), geom.SDO_ORDINATES(2), null),
    null,
    null);
    else
    return null;
    end if ;
    END getPoint;
    Sujnan

  • I am getting the following error when I open my Safari Browser.the proceedure entry point sqlite3_wal_ check point could not be located in the dynamic link library SQLITE3.DLL

    I am getting the following error when I open my Safari Browser.the proceedure entry point sqlite3_wal_ check point could not be located in the dynamic link library SQLITE3.DLL

    Try going back to a restore point >  System Restore - Microsoft Windows

  • How to create a "traveling route" line on a map from point A to point B!

    Can someone explained or show me how I to create a clip (it will have a background map of Europe) depicting a “traveling route” line from point A to point B. The “traveling route” line I would like to display follows a Bezier curve path; it would start from point A (as a “dash”) and progressively the dash line lengthens until it reaches point B.
    To expand my request further - can one add a plane or ship icon (image) as the start “header” (starting from point A), move along the Bezier curve path and spits out the trailing “dashes” to form the “traveling route” line?
    I have seen this done on occasions, but I’m unable to create such clip. You help is appreciated.
    I’m using Premiere 6.5 and After Effect 5.5
    You can email me at [email protected]

    I don't remember which site, but I think I have a link to a tutorial site that includes that
    Go to my Adobe notes http://www.pacifier.com/~jtsmith/ADOBE.HTM
    Click on the Tutorial section and check the various sites
    Added
    You should never post a clear email address... spammers use software to harvest such
    Put something like
    myname at partone dot com

  • I have two arrays of points, when i plot them there´s an intersection point, but this point doesn´t belong to any arrays...

    I have two arrays of points, when i plot them there´s an intersection point, but this point doesn´t belong to any arrays. I need to find the both value of this point, X and Y. I attached my problem in a very simple example. Thanks.
    Attachments:
    arrays_plot.vi ‏25 KB

    Although this doesn't directly answer your question , I've attached a VI that will hopefully give you a start and point you in the right direction. It generates a Boolean array that indicates between which indecies an intersection has taken place. Then, all you need to do is use triganometry to work out exactly what the intersection point is.
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
    Attachments:
    2x1D_Array_Intersections.vi ‏36 KB

  • How to convert non-fillable forms in words and PDF into fillable forms?

    Hai,
    How to convert non-fillable forms in words and PDF into fillable forms?

    Hi Mahalcs
    Please See the below link for reference : http://www.adobe.com/in/products/acrobat/convert-existing-forms-to-fillable-pdfs.html
    Also See , http://www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe-acrobat-xi-convert-f orms-into-fillable-pdf-tutorial_ue.pdf

  • What is the utility of watch point and break point in ABAP DEBUGGING !

    What is the utility of watch point and break point in ABAP DEBUGGING !
    PLEASE TELL ME IN DETAILS AND IF POSSIBLE WITH SCREEN SHOTS !

    Hi,
    Breakpoints, Watchpoints, and Checkpoints
    Summary
    The standard Breakpoints tool is always located on the Breakpoints desktop. With this tool, you can manage breakpoints, watchpoints and checkpoints. In addition, you can monitor the current status of the different breakpoint types.
    Detailed Description
    Breakpoints
    In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, …) is displayed for each breakpoint.
    If you double click the Navigation() column, the system will display the breakpoint in the respective source code.
    The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.
    You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-> Save Debugger BPs as -> ....
    In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.
    Watchpoints
    In the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.
    For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)
    In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton „Compare Variables“( ) and choose the Diff tool to compare the old and new variable values.
    In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.
    Checkpoints
    In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.
    Pls refer to :
    http://help.sap.com/saphelp_nw70/helpdata/en/e2/5f5a42ed221253e10000000a155106/frameset.htm
    Regards,
    Renjith Michael.

  • What is utility of watch points and break point  in ABAp debugging !

    What is utility of watch points and break point  in ABAp debugging !

    Hi,
    Breakpoints, Watchpoints, and Checkpoints
    Summary
    The standard Breakpoints tool is always located on the Breakpoints desktop. With this tool, you can manage breakpoints, watchpoints and checkpoints. In addition, you can monitor the current status of the different breakpoint types.
    Detailed Description
    Breakpoints
    In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, …) is displayed for each breakpoint.
    If you double click the Navigation() column, the system will display the breakpoint in the respective source code.
    The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.
    You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-> Save Debugger BPs as -> ....
    In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.
    Watchpoints
    In the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.
    For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)
    In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton „Compare Variables“( ) and choose the Diff tool to compare the old and new variable values.
    In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.
    Checkpoints
    In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.
    Regards,
    Renjith Michael.

  • How to delete the line between the last point and first point?

    How to delete the line between the last point and first point? 
    I want to draw a curve many times, from first point to the end point. and redraw from first point to the end point.But I hope update point by point. but between the end point and the first point,  there is a line. How to delete the line?
    the code is:
    CNiReal64Vector plotData(50);
    m_graph.ChartLength = 50;
    //m_graph.ClearData();
    for (int j = 0; j < 2; j++)
           for (int i=0; i<50; i++)
                   plotData[i] = ((double)rand()/(double)RAND_MAX)*6 + 4;
                   m_graph.GetPlots().Item("Plot-1").ChartXY(i, plotData[i]);
                   Sleep(100);
    Attachments:
    20150605142608.png ‏31 KB

    Hi Kumar,
    I think you can just delete it in the sales order directly, if you are using make-to-order scenario, then there will be special stock left for the sales order as the production has been goods receipt, you need to use MM transaction move the stock to unrestricted use stock. If you are using make-to-stock scenario, there should be no further problem. If you are using assembly order, please try to reject the sales order item to see if it could fullfill your requirement.
    Regards,
    Rachel

  • Convert non-partition table to partition table

    Hello Everybody
    I am just want to ask about how to Convert non-partition table to partition table ?
    Thanks
    Ramez S. Sawires

    Dear ARF
    First of all thank you for replying me , second do u have any links talking about dbms_redefinition package
    I am using Database Oracle 10g
    Thanks
    Ramez S. Sawires
    Message was edited by:
    Ramez S. Sawires

  • Generating intermediate points between two points

    hi,
    i want to generate the intermediate points between two specified points,is there any functionality in java that generates the intermediate points similiar to the LINEDDA in VC++/SDK.or else please to suggest a better idea of how to get this done..
    thanx

    I'm not aware of any Java method. Here's an algorithm that I think will work for you:
    Point start = new Point(...);
    Point end = new Point(...);
    int xDelta = (int)(start.getX() - end.getX());
    int yDelta = (int)(start.getY() - end.getY());
    int delta = Math.max(Math.abs(xDelta), Math.abs(yDelta));
    double xIncrement = xDelta / delta;
    double yIncrement = yDelta / delta;
    double x = start.getX();
    double y = start.getY();
    for (int i = 0; i < delta; i++)
         drawImage( x, y, ....);
         x += xIncrement;
         y += yIncrement;
    }

  • Setting  a White Point and Black Point

    I would like to suggest for future versions of lIghtroom to have an ability to set the white point and black points similar to levels and curves in Photoshop. This would be in addition to setting middle grey in the white balance settings currently in Lightroom.  I find that the method of using Threshold to find the closest white and black pixels and then using these points to set the black and white points in curves or levels provides a better way to fix a color cast than the methods available in Lightroom.

    MB,
    There is no real need for Black and White point eyedropper type tools in Lightroom.  By holding down the Alt key while changing the Blacks or Exposure sliders the display will show the areas that are being clipped.  This is much faster than looking around for the darkest and lightest areas manually.  If you just like to click to taste (like using the White balance dropper) then forget the Alt key and just move the sliders until you get the desired look.
    Remember that the problem with Photoshop is that there are so many ways to do the same thing that it has become difficult and bloated.  Lightroom strives to keep the interface as clear as possible.

Maybe you are looking for

  • Newbie Here - How to Create a Slide Show in CS5?

    I am using Windows 7 and I am familiar with PSElements 8 where creating a slide show is easy.  I just want to create a slide show in CS5 (in Bridge??  View>Slideshow Options?) using vacation photos from several folders, and I want to order them manua

  • Is there imessage available for mac 10.6.8?

    Is there imessage for my mac OSX 10.6.8?

  • Port Allocation error installing oracle 10g enterprise manager on OEL 4.0

    Dear All... This is urgent requirement...plz any one help me .......i have install oracle 10g on OEL 4.0. after some time i need to install a EM but i am starting to install em it rais error run this command: emca -config dbcontrol db after press int

  • SAP Business one for GAS Industry

    Dear Experts, My client is in GAS Manufacturing Industry. We calibrated multiple gases as per client requirement. we sale the gases sometimes with cylinder, some time cylinder on rentle besis and refilling the cylinder. Pls tell me how to manage the

  • Error in all dashboard in RPM

    Hi there; In RPM I created user TEST and assigned ABAP roles SAP_XRPM_ADMINISTRATOR and SAP_XRPM_USER by transaction SU01. After that I go in portal (USER ADMINISTRATION > IDENTITY MANAGEMENT TAB) and link standard portal role PORTFOLIO MANAGEMENT wi