Projecting orthogonally a linestring 2D 2D point

Hello

Anyone know if there is a way to project a point 2D to 2D linestring orthogonally and then insert this point in the linestring?

This, together with the preservation of the relative position of all points in the lisnestring (including the one being inserted).

Thanks and greetings

Ah, you're right. I had a similar case in mind where Carrefour gave correct results, be taken and union created a compound that was not desirable. It should be union in this case (did not have my second cup of coffee still ;-))):

SQL> select 'sdo_intersection' as operation, sdo_geom.sdo_intersection(sdo_geometry(2002, null, null, sdo_elem_info_array(1,2,1), sdo_ordinate_array(10,10, 20,20, 30,30)),
  2                                                                    sdo_geometry(2001, null, sdo_point_type(25, 25, null), null, null),
  3                                                                    0.5)
  4  from dual
  5  union all
  6  select 'sdo_union' as operation, sdo_geom.sdo_union(sdo_geometry(2002, null, null, sdo_elem_info_array(1,2,1), sdo_ordinate_array(10,10, 20,20, 30,30)),
  7                                                      sdo_geometry(2001, null, sdo_point_type(25, 25, null), null, null),
  8                                                      0.5)
  9  from dual;

OPERATION
----------------
SDO_GEOM.SDO_INTERSECTION(SDO_GEOMETRY(2001,NULL,SDO_POINT_TYPE(25,25,NULL),NULL
--------------------------------------------------------------------------------
sdo_intersection
SDO_GEOMETRY(2001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1), SDO_ORDINATE_ARRAY(
25, 25))

sdo_union
SDO_GEOMETRY(2002, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
10, 10, 20, 20, 25, 25, 30, 30))

SQL>

Sorry!

BTW, you can add all in a select statement (not very readable, but it will give you your answer at once):

select sdo_geom.sdo_union([line geometry],
                          sdo_lrs.project_pt(sdo_lrs.convert_to_lrs_geom([line geometry]),
                                             [point geometry],
                                             [tolerance]),
                          [tolerance])
from [tablename]
where [where clauses];

Replace everything between [] by your column names, tolerances, etc.

See you soon,.

Stefan

Tags: Database

Similar Questions

  • LineString nearest to a point

    11g.2 EE Oracle release

    OK, so I have a chart of the having and column SDO_GEOMETRY recods and they're linestrings which represent roads. They are srid 8307.

    What I'm trying to solve is to determine what documents geometry is closest to you at a given point.

    Since linestrings maid is up several points, how should we do about it. Logically each linestring could have points that were miles away and my only point could come close to a given point, then many others in the linestring.

    Do I have to sort out the points in the linestring or y at - it a feature that will allow me to create a sdo_geometry which is of type point2D and then get the record that has the point closest to the linestring to my point2D?

    Thanks in advance.

    FlyingGuy,

    Yes. However, please note that by providing remote = 1 you limit the 1 meter away from your point the search request. If nothing is at 1 meter, you will get nothing. In your case, if the geometry were not a.45324739 meters, but had been at 1.45324739 then you would have gotten nothing.

    However, if you remove the distance = 1, you will receive the next unique geometry and sdo_nn_distance (1) will show you the actual distance. In your case, it will always be your geometry to 0.45324739 meters. If another stood at 1.45324739 meters will not be returned.

    So, Yes, now you have a 'formula' to find the object nearest to a search object.

    If you want 2 more close, then set sdo_num_res = 2. Note that if you start to want to include the attribute clauses in your search, then you should consider using sdo_batch_size.

    Check the documentation or my website for examples.

    So, your question is answered no? Points?

    concerning
    Simon

  • WARNING! : no entry point found

    I'm trying to implement another entry point to put an overview icon. I'm following exactly the steps in the developer's guide and instructions in the article (I think!).

    1. I created a 2nd project

    2. this project is defined as a "Point of entry to the CLDC replacement request.

    3. the "System Module" and 'Autorun at startup' flags are both checked.

    4. the project is set to be another point of entry for the name of my main project.

    5. my main project has a string as parameter the value for main() when you click the "gui".

    When I compile this project, I get the following (on the draft of an alternative entry point) warning:

    WARNING! : no entry point found
    WARNING! : no definition not found for static exported routine: .main (String [])

    In addition, the main() routine is never touched to auto-start. However, when I click the icon, the main() routine is hit with the setting "gui" implemented in the main project.

    No exception is thrown. I use the JDE 4.3.0.1r, but I've also tried it on others with identical results.

    Change the attributes of the entry point to be 'CLDC Application', just to smile and compiled. No change, still has the error.

    Changed to "Other entry Point" again and compiled. Problem goes away.

  • Convert project first Clip for Premiere Pro project fails... What I am doing wrong?

    I created my first video on my iPad and now want to refine the project in Premiere Pro. I looked at him "refine a Clip of first video in Premiere Pro" and followed all the steps, but something is wrong.

    Although the XML file (and Media folder) if poster in my CC property is not available for first Pro CC (2015.2) when I choose «Convert Premiere Clip project...» ».

    I was able to import a video MP4 Roughcut, but cannot change the actual project. I tried to send the bill back (whenever 'Envoys OK' confirmation appears) & reboot PP, but it does not help. I am connected to my Adobe CC account on all devices.

    Really enjoy working with Premiere Clip, but the app is of limited use to me if I can't send Premiere Pro clip projects successfully. Help appreciated.

    Thank you

    Felicia Lovelett

    Hi Felicia,

    Sorry, you have problems! You have the desktop app creative Cloud installed, with synchronization of file running? This will synchronize your projects first Clip and media locally on your computer, allowing Premiere Pro to open. (If you only synchronize your active CC Web Storage, Premiere Pro is not able to access.)

    From the desktop application creative cloud in your menu bar, click the gear icon, and then click Preferences. Click the files tab, and verify that the synchronization is on. Here is also where you can see the location of your creative cloud on your computer folder. When you choose "Convert first Clip Project" in Premiere Pro, it should point to this folder on your computer.

    Please let me know if it helps!

    Thank you

    Bronwyn

  • Y at - it a simple way to create an sdo in linestring object

    11 GR 2 EE all the bells and whistles standard.

    Dear smarter than me space Peeps!

    So is it possible to just create a linestring 2D two point 2D SDO SDO?

    I HAVE a 2D point that I use:

    P2: = SDO_UTIL. POINT_AT_BEARING (P1, 0.5, 50);

    And that puts me one point zero radians at 50 meters from P1 which is fantastic!  Is there a function that I have not discovered who will take a number of points and a linestring SDO to return?

    See you soon!

    The following function might take the coordinates of the point two, a return line. Do you think that this solves your problem now?

    FUNCTION xy2line (pi_x1, number pi_y1 number, pi_x2 number, pi_y2 number, NUMBER default null srid)

    RETURN Mdsys.Sdo_geometry

    DETERMINISTIC

    IS

    Line mdsys.sdo_geometry;

    number of var_SRID;

    Start

    Line: = Mdsys.Sdo_geometry (2002, SRID, null,)

    MDSYS. SDO_ELEM_INFO_ARRAY (1, 2, 1),

    MDSYS. SDO_ORDINATE_ARRAY (pi_y1, pi_x2, pi_x1, pi_y2));

    RETURN line;

    END;

    Best

    Frédéric

  • 16 point Garbage Matte plugin

    I just updated to the latest version of Adobe Prem Pro V9.0 CC, I am working in a project where I use the 16 - point cache plugin, after the update you will find is no longer this plug-in effect, she was replaced by another pug-in under another name so therefore I can't?

    Caches have been removed from the CC2015 - Adobe wants everyone to use integrated opacity masking instead of this function. If you have projects that rely on MSG and you can not rebuild with opacity masks, then you must stay on CC2014.

  • You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8.

    You can save a. CPTX (project) as one. CPTL (model) and convert later than for one. File CPTX? I just need a little clarification on this operation in Adobe Captivate 8. Thanks in advance!

    Sorry, but I neglected to include a bit small (but essential) information on this thing cptl.

    A file cptl is a model of Captivate. When you create one and create a new project based on a template, you point to the .cptl file. And at this time, no matter what the .cptl file has inside of it at this time is copied to a new project file. From there, you simply save the project and .cptx is assumed. The CPTL will already have the draft resolution together and many other things. The beauty is that once it is all set up correctly, it allows you to create faster training because you don't have to stop and consider things like the resolution of project, which should show the first slide, which should show the last slide, but also a host of other possibilities.

    The reactive substance, you need to ask one of the new kids on the block who is struck with it. I'm old school and have yet to fully embrace it. It's new and full of contradictions. And I really struggled with how many people ask to see training which normally runs on a large monitor displayed on their tiny phone screens where text messages are often barely legible.

    See you soon... Rick

  • How copy sequences from another project and NOT end up with entries double for source clips?

    If, like me, allowing you to work in Final Cut Pro, you know a major difference in first Pro workflow is that the two projects cannot be opened at the same time. Also, the referenced clips must be part of the project first. Firstly, it forces me to be more organized with projects/clips and avoids the situation of source clips "unregistered". On the other hand, I'm running in a challenge around copy/reuse of sequences from another project.

    We have a large group of images that is used for two different purposes. In order to keep things clear, I created two project files that contain the same elements of sources and the different sequences. (I cloned the project after importing all the clips in the source and work then from there.) Now, I need to "copy" some footage from the project A to project B, so that I can reuse the edition work on these sequences without having to replicate them on the. In FCP, I would have just two projects open and copy - paste the sequences of project A to project B. In Premiere Pro, I was happy to see that copy - paste can work through projects - i.e., I can 'copy' in the project, close the project A open project B, then "Paste". HOWEVER, bringing to all of the source clips referenced by these sequences in the project has... Even if the source clips are already in project B.

    OK, I understand why this happens, because Premiere Pro does not know (or check) the same clips already exist in project B. But I don't want to keep the two entries of the source clips in the project (in different bins too), because that becomes a source of confusion on the road. Is it possible for me to separate the news sequences of these 'new' entries in source clip and connect them with the existing entries? If I just go and delete the entries of 'new' source clip, references in these sequences don't simply go offline, they are deleted. If new sequences are empty.

    I fight to see what is the best approach in this case. Any suggestions or tips?

    I do this very similar workflow. I'll have the project 'A' where I change my sequences, etc., and then down the road, if I want to use some of these project grna 'A' in a new project 'B '.

    PP can do what you are looking for and do not create the duplicate of source even footage items.

    Do not copy and paste. Use rather import to import the discovery of the other project.

    Open your project that you want to reuse sequences. Then go to file > import and place you on the project that you want to import sequences of. Click the project file, and PP will ask you which you want to import sequences. Select the sequences (or the entire project) and PP will import the footage for you.

    Now... the media in double...

    If you clip source "00001.MTS' for example, already in the project you have open and one of the sequences that you import reference also the clip of"00001.MTS"from source, PP will not import a duplicate because it will use the clip that you have already imported.

    However, if PP is to import a copy it's probably because in each project, you have different I/O points set for the same element in source. If this is the case of the PP will import the copy of the clip so it retains every version of the video I/O points.

    If you make a test import and make sure that there is no point of I/O, or they are the same I/O points, PP will import the clip of dup.

  • Saving after effects CS 6 CS 5.5 projects

    Hi all

    I am a student of the University which has the academic version after effects CS 6 for use in my media course. It works great and has the potential to be a real time saver... I live off campus and that you can't always to the lab to work on my projects. In either case, there is a problem in the transfer of the work for the lab machines... they have Adobe CS installed 5.5, not CS 6. When I tried to work on the project of the House on the lab computer, it get a compatibility error and does not open.

    If I can't open projects at the school, then the point of using CS 6 at home is questionable. How to save projects on my machine CS 6 to be able to open on machines of CS 5.5?

    Open your project in CS6 CS6, then Save as a CS5.5 of the project.

    EZ than that. Save one version of files back has been an option since CS5.5.

  • RH7 load project but can't access all topics

    After my RH7 project manager am unable to work on project files at all. The project tree will disappear at random with a constant hourglass displayed. I have to close robohelp which will crash then it closes every time.

    I have an offline copy of exactly the same project that was lucky to a point such that it works very well. Active the version that I have problems with is the version that I use in Visual Source Safe.

    I did a check for the difference on the two books and everything is an exact match outside a VSS ( vssver2.scc) file. I coppied this file from my project that works and has replaced the version in the project who does not work but still no joy.

    I do not control of source code of robohelp. I check my source files manually though, it seems somehow that Robohelp is trying to use the source code control...

    I have check the files on my hard disk direct from a reliable Source. for example, I do not have the source code control that provides RoboHelp. Let's just that it works well for me!

    I had a degree of success although Colum. I can now access the help, and I'm not sure on how to 100%!

    I uninstalled the control of Source of HR software as you suggested and after a few get latest from a reliable Source, I could finally open the help. I can guess that somehow the source HR software (although being not used) control somehow the cause...

    Thanks again for your help!

  • Forcing in-flight instances to use the new version of the project on the Ent.

    Hi all

    We have a lot of bodies in flight on our company server.
    We deliver a bunch of bugs and improvements of the tool and when deploy us the new version, the bodies in flight not updated or in other words, they are still running on the old code.

    Is there a way to force authorities in flight to use the new version on the company?

    Thank you
    Arian

    I posted a project that takes new instances of point incoming jobs and sends them automatically to the correct activities in the latest version of the process: http://www.4shared.com/file/97049398/dec5c3b8/AutoDistributeInstances.html. This prevents you from having to pull the Begin conditional transitions in each of the different activities downstream.

    In this example of process, as new instances are created in this process, if they have anything in the instance variable "targetActivity" they are temporarily sent to the activity of "queue waiting for Distribution" (otherwise the instance is normally done to"activity" in the process). The batch feed on your existing instances would be temporarily in the queue of this activity.

    In the process, there is an Interactive global activity which automatically removes all instances of the activity of the queue and puts them directly in their respective target activities (activities A, B, c...) based on the value stored in the variable "targetActivity. The logic in this global Interactive activity could be placed in an overall automatic that can be configured to run periodically. If you're curious how this works, look at logic in this Interactive activity (called 'Auto manage the Distribution of the proceedings'). Note that this automatically forces all instances in the queue in an activity of Grab and then the logic automatically routes the instances of the clamp on the activities in the process.

    You must be careful if your new target for Oracle BPM process were divided or multiple (previously Split-N) activities. You will not be able to send that an instance directly in activities between a Split and it's respective Join. As with all flows of batch creation of instances in the Oracle BPM process, break the size of each lot less than 1000 cases being created.

    Dan

  • How to compose an e-mail message with larger fonts?

    I just sent a message starting with some information, but when I copied and pasted a line address, he stressed and when I spaced back to my default font, the message continues underlined and in much smaller font. How can I continue in my own default font and color?

    Re: but when I copied and pasted an address online, it was pointed

    by "address line", I presume that you are referring to the address of the Web page as shown in the address bar of the browser to let you know that you look at the page: for example:
    https://www.Mozilla.org/en-us/Thunderbird/all.html

    If you use "Insert" > 'Link' method then the link is added and stressed.
    Simple copy/paste or hand typed links placed directly in the editor are not highlighted in the editor, but they become auto stressed after sending or if you save it as a draft.
    If you save it as a project and then choose to edit the project, you would see the link pointed out in composition.

    However, if you did a simple copy paste, but copy a piece of text on a Web page that was a link pointed out, not copied from the address bar, then you will have copied some also good formatting.
    If I do that and then go back and then type, copied to the hidden format will be always used and are similar to a part of the link. Although if I press space the underline does not continue, but then it doesn't matter how exactly moves you make and the copied text may have included an empty space with a hidden formatting.
    If this sounds like your situation - copy text that says that it is a link try to go to the link and then copy and paste the info from the address bar and not the text link.

    You can see what is happening with the fomatting.
    Save as draft, then navigate to the project folder, select email and click on 'Other Actions' > View Source.

    I use version 31.2.0
    What version you use.

  • Edit As New has no format options

    When I use Edit AS New on an e-mail I often find that the email has no format options ("BOLD", etc.). Also the Format and Insert tabs in the menu bar went. The effect seems completely random and unpredictable - sometimes the options are not there and they are sometimes and I can continue to compose email, everything as I have a clean start. Anyone know why this happens and how to solve the problem? I use the 24.6.0 version.

    What is the use case that stops you using to forward or reply? Edit As New is somehow a little weird to generate a new message. Or maybe a model or project would be a useful starting point, instead of tweaking an old message? Or a mailing list?

    Edit As New allows you to save a lot of time to correct/change a message already sent. The other options, that everything I use, take more time to achieve the same result with the possibility of errors.

    As you say, Zenos, there doesn't seem to be a way for old messages "rep [air" but hopefully now, with the option changes send that I did, that this problem will not occur again.

    Thanks Matt for your help. I will close this topic now.

  • NB100 installation failed

    Christmas gift, first use today
    has started installation, pages completed including microsoft registration = yes, Toshiba record blue = yes then projected
    can't go beyond that point, will accept no no 'next' and if jump taken it disappears into a blackhole! Help

    Looks like you need to take this back to the provider, unless you are up to the re-installation of XP, not something you should do on a new machine so.

    Dave

  • NEITHER 9870 Serial Port Communication

    Hello

    I have the module 9870 serial rs232 on 9073 cRIO chassis. I have watched the series loopback example, added to my project, changed the entry node to point to the serial port on the right. It works fine when I use a closure connected the cable to the serial port.

    However, when I connect the port to the serial port on the back of my pc (using the cable series of woman to woman) and run the "Serial Loopback DMA Rd (host) .vi" I see no data being sent on my PC com port hyperterminal. Also if I type any character on hyper terminal I see their receipt by the LabView program.

    Why is this happening? that is, the example works well with a loopback adapter and not when it is connected to other serial port?

    Any help will be appreciated.

    concerning

    Bastien

    Hello

    You have all the details on the cable you are using? You may need a null modem cable.

    All in hyperterminal settings the cRIO? IE: Baud rate/parity/start and stop bits etc.

    Could you take a screenshot of the hyperterminal settings and the windows serial port settings? Could you attach your cRIO VI?

    Thank you very much

Maybe you are looking for

  • Satellite Pro C660 - 16 X - Internet Exlporer has stopped working

    Hello Can someone help me here please? I have a Toshiba laptop Satellite Pro C660 - 16 X, and about 5 days of internet explore has stopped working completely. I am connected to a wireless system that works well since I am on now computer it works fin

  • Try to install the Vista updates, but getting the 8024200d error code. Help, please!

    Try to install the security update KB967723 and Vista updates KB970430 and KB972145.  Constantly getting error 8024200d code.  Help, please!

  • Aspire 4250 - How can I ENABLE virtualization amd - v

    Hello How can I ENABLE virtualization AMD - V on my Aspire 4250. I can't find any advanced settings in the BIOS. Need amd - v enabled to run VirtualBox. Search for hours on the net and could not find anything usable. You guys here are my last hope ;-

  • DNS is?

    DNS server.   To resolve connectivity issues sometimes professional of computer science will be asked to change the DNS servers used by your computer. I personally do a lot here in HP Forums. the reason is that I am eliminating the likelihood that wh

  • Different on the MS recovery console administrator password

    When I was with the XP CD recovery console, he asked my password.  When I typed in it, it is incorrect.  However, once I typed in anything, it worked.  I have a single installation of windows, so the first question, which is "what Setup do you access