SDO_NN and SDO_WITHIN_DISTANCE return distance on road or on the straight line?

Hi all,

I want to ask if the distance between 2 points calculated with SDO_NN and SDO_WITHIN_DISTANCE is a distance on the road that connects these two points (for example 35 miles) or is a distance in a straight line that connects these two points (for example 20 miles)?

Thank you very much.

The distance is the same that you use the sdo_geom.sdo_distance function. This is the minimum distance between these two geometry objects. Wouldn't be a straight line for (circle distance) geodetic coordinate systems.

Jack

Tags: Database

Similar Questions

  • E-mails received are displayed and printed with many information of garbage after the To: line

    For example:
    X key-account-
    X - uidl
    X-Mozilla-status
    ECT

    The menu bar, select View-Headers-Normal

    No menu bar display? Press the ALT key.

  • How to draw a straight line and write on areas colored with Photoshop?

    I need to be able to draw a straight line and write about areas that I colored. I could do in PhotoStudio, but I don't know how to do in Photoshop.

    Use layers.  Text for writing on areas layers.  They can be changed.  You can change the text, font, size, color, Position, fusion and opacity and a layer style can be added.

    To draw the limes add a blank layer.  Select a brush and the color.  Left-click on one end of the line you want to draw. So without and the button to move the cursor to the other end of the line and press SHIFT + left.  Photoshop will draw the straight line between the two points that you clicked on.

  • WordPad, cursor returns in the first start, will not move to the next line when I hit enter

    I type a line and press ENTER if I can move to the next line, but the cursor jumps back to the first word I typed and I can't move to the next line

    Hello

     
    -You are aware of any changes made on the computer before this problem?
    -Respect the limit with the Wordpad?
    -Work on a laptop or desktop?

    Follow the steps mentioned below and check if the problem persists.

    System File Checker Scan (Scan SFC): Ihelp in the digitization of all immediately protected system files and it allows you to know the system files corrupted on your computer.

    (a) click on Start

    (b) choose run and type CMD

    (c) type sfc / Scannow

    For reference:

    http://support.Microsoft.com/kb/310747

    Response with more information to help you further.

  • sdo_within_distance return invalid results

    I use sdo_within_distance, and I notice that there are cases where results contain geometries that are outside the distance, I said. In the example below, the geometry is returned even if it is 4 miles from the reference geometry. If I use sdo_nn with the remote setting, the correct results are returned. DB version is 12.1.0.1.0

    Create the table testdistance

    (

    Identification number,

    geom sdo_geometry

    );

    Insert into testdistance (ID, GEOM) values (1, MDSYS. SDO_GEOMETRY (2001,4326, MDSYS. SDO_POINT_TYPE(-117.234313964844,32.7089462280273,), NULL, NULL));

    Insert into testdistance (ID, GEOM) values (477488906, MDSYS. SDO_GEOMETRY (2003,4326, NULL, MDSYS. SDO_ELEM_INFO_ARRAY (1,1003,1), MDSYS. SDO_ORDINATE_ARRAY(-117.175918579102,32.6773681640625,-117.17529296875,32.6780090332031,-117.174987792969,32.6778030395508,-117.17561340332,32.6771392822266,-117.175918579102,32.6773681640625)));

    insert into (table_name, column_name, diminfo, srid) user_sdo_geom_metadata

    values ('TESTDISTANCE', "GEOM", MDSYS. SDO_DIM_ARRAY (MDSYS. SDO_DIM_ELEMENT ('Longitude',-180, 180, 0.05), MDSYS. SDO_DIM_ELEMENT('Latitude',-90,90,0.05)), 4326);

    create index testdistance_sidx on testdistance (geom) INDEXTYPE IS MDSYS. SPATIAL_INDEX;

    -results of evil

    WITH the entry INTO

    (SELECT / * + materialize * / idgeom )

    OF testdistance

    ID WHERE = 1

    )

    SELECT / * + index (testdistance, testdistance_sidx) * / testdistance.id, testdistance.geom, sdo_geom.sdo_distance (testdistance.geom, input.geom, 0.05, ' unit = mile') dist

    Testdistance entry

    WHERE sdo_within_distance (testdistance.geom, input.geom, 'distance = 2.5 unit = mile') = 'TRUE '.

    -correct results

    WITH the entry INTO

    (SELECT / * + materialize * / idgeom )

    OF testdistance

    ID WHERE = 1

    )

    SELECT / * + index (testdistance, testdistance_sidx) * / testdistance.id, testdistance.geomSDO_NN_DISTANCE (1) dist

    Testdistance entry

    WHERE sdo_nn (testdistance.geom, input.geom, 'distance = 2.5 thousand = unit', 1) = "TRUE".

    Geometry with id = 477488906 is not valid because its outer ring is

    in a clockwise direction. You can use the following query to check them.

    Select sdo_geom.validate_geometry (geom, 0.05), id testdistance;

    Once the geometry with id = 477488906 is corrected (e.g. using sdo_util.rectify_geometry),

    the result of sdo_within_distance() should be good.

  • After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    Open Safari while holding the SHIFT key

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • HP: copy software TurboTax and tax return on a cd at the same time

    How to copy software TurboTax and tax return on a cd at the same time so I can then remove turbo tax notebook

    cole310

    Hello;

    Let me welcome you on the HP forums!

    If your intention in the copy of the turbotac 'software' on a CD so that you can later reuse - forget it.  The software consists of LOTS of files installed in several different folders.  Basically, there is no way you could find all the components, copy them to a CD and then later restore all these elements in the files correct reuse software.

    If you want to reuse, and then keep the original CD it came on or if you downloaded it instead, keep the file, you have downloaded - and then reinstall it.

    Good luck

  • My T540p turns off an AC to work on drums and never returns back

    Since the last device of management power Lenovo update (somewhere 6-13 Oct 2015), my T540p jumps out of his power and never returns back, until I have turn it off and disconnect the battery.

    When I start Windows 10 after the battery is disconnected, it loads for a few minutes and then to the battery. Whatever I do after that - Plug and unplug the power adapter, change to another adapter (I have a spare), extinction, reboot, poweroff connect AC - nothing works. When I disconnect the battery and plug back - normal behavior is restored.

    I have dual boot on my T540p with linux (Gentoo, kernel 4.2.3). Linux works OK. The problem appears only when I boot Windows 10.

    It turned out that Windows has jumped to a special power - autonomous mode. Once I turn it back into balance, the battery took over. I couldn't understand what Windows switch to the mode of independent power supply.

    It's very sad that CE supports standalone through reboots and poweroffs. It is not logical to disable the battery charge when the machine is turned off completely.

  • W540 pricing and Lenovo return policy

    I ordered a W530 9 because I wanted to take advantage of a coupon deal. I discovered the new coupon is the same price and of course this expires on 16. My guess is that the price will not mount closer to the exit of the W540, more likely it could sink.

    So now I think it would be better to wait to see the price and specifications on the W540. I hope that the price will be only a few cents higher than the W530 even with the best record, but which could be was the hope of the Earth. Today I received an email saying that my purchase was set, in a second phase where the machine is to be, as well as the options that I ordered. I was told there is no guarantee that my order would be cancelled before shipped, even if the shipping date is a few days. Maybe this isn't such a bad thing.

    Is this true if I have to cancel within 30 days that Lenovo will send pre-paid shipping boxes? 30 days begin when ordered, at the time of shipment or receipt? If I love the screen and the keyboard more than what I have on my Asus W56e so I can just keep the W530. I use an external monitor for photo editing serious. It seems to be difficult to actually get hold of this model in stores selling retail, so it would be nice to actually use Photoshop on the W530 and see how it behaves. I have the Photoshop Cloud subscription. The W540 prices should be available before my 30 days are up. I'm not optomistic everyone will have tests that soon. I am tempted to ask that some of you think that the price will be, but it would probably be a real kick in the water and don't mean much.

    I thought that I would separate keyboard on the better W530 with a numeric keypad. I am an accountant, a pad is important. My Asus laptop keys are quite small, it is a 15 "screen and the numeric keypad of the keyboard. I thought a compromise of the W540 would be more touches for the W530 cpmpared, but looks like there is some space wasted on the keyboard W530 then perhaps that the keys will feel much the same. This is where it would be nice to see a review before making my decision.

    And go with the 30 days return option, Lenovo made any price adjustment if the price drops to the breast for 30 days, since the W530 will be discontinued.

    Gary.

    gstepic wrote:

    And go with the 30 days return option, Lenovo made any price adjustment if the price drops to the breast for 30 days, since the W530 will be discontinued.

    The quick answer to this part of your post is 'no '.

  • I had to do a system restore on my PC, which reformats the hard drive and he returned to factory State, and I lost all of my emails from OE and contacts. No way to get them back?

    My computer crashed and the system recovery was the only option.  I know this reformats the hard drive and actually returned the PC to factory State, but I cannot now access all of my old emails and contacts on OE.  I managed to configure OE once again, so I can receive messages via my site, but really need to come back to the 'old'.  Any help would be greatly appreciated

    My computer crashed and the system recovery was the only option.  I know this reformats the hard drive and actually returned the PC to factory State, but I cannot now access all of my old emails and contacts on OE.  I managed to configure OE once again, so I can receive messages via my site, but really need to come back to the 'old'.  Any help would be greatly appreciated

    Two points:

    Suggestions 1. see Bruce Hagen, but it is highly unlikely that you can get everything back. When you perform a system recovery, you lose everything that was on the disc.

    2. it is late to tell you this, but like you apparenly had no backup on external media, you're playing with fire. For the future, you can read this article I wrote: "how to return your computer regularly upward and reliable" to http://www.computorcompanion.com/LPMArticle.asp?ID=314

  • Repeated message: Windows - No disk "Processing Message c0000013 parameters 75b6bf7c 4 75b6bf7c 75b6bf7c Exception", I have to reboot to remove and it returns. How can I fix it?

    I get this repeated error message: Windows - no disk "Processing Message c0000013 parameters 75b6bf7c 4 75b6bf7c 75b6bf7c Exception" I cancel and it returns immediately. I can't emove it unless I reboot.  And then he returned. How can I fix it?

    It's a shame that we don't know anything about your system, because that would of course make things easier.

    So I'll just take a stab at it and offer this idea in general use for this message:

    If you don't see a message like this:

    No disk, Exception Processing Message c0000013 parameters 75b6bf7c 475b6bf7c 75b6bf7c

    Until you can determine what the 'real' problem is with your hardware, you can disable the pop-up message by making a registry adjustment.

    Before making changes to the registry, back up your registry with this free and easy to use tool popular:

    http://www.SnapFiles.com/get/ERUNT.html

    Click Start, run and enter in the box:

    Regedit

    Click OK to open the registry editor, navigate to the following key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows

    In the right pane, check the value of the ErrorMode setting.

    If ErrorMode is set to 0, double click on ErrorMode and set the value to 2

    (2 = off).

    Click OK to save the changes, and then click file, exit to close the registry editor.

    Reboot your system and check the things now.

    2 to the parameter ErrorMode stops at pop - up message but still material error log in the Event Viewer log.

    http://support.Microsoft.com/kb/124873

  • my computer broke down and when return to the setting factory. is the same where I can get my old picture when rear, files, etc etc?

    my computer broke down and when return to the setting factory. is the same where I can get my old picture when rear, files, etc etc?

    Hello

    Recuva worked for posters that have been in your same situation here

    a clean install wipes the hard drive clean of everything

    You cannot undo what you've done

    If you have lost data, you can try this

    http://www.Piriform.com/Recuva

    Read also:

    Since we don't know exactly how you reinstalled it seek a windows.old folder

    How to restore your personal files after you perform a custom Windows Vista or Windows 7 installation

    http://support.Microsoft.com/kb/932912

    or even return to a previous operating system by using the information in file window.old at the link below

    http://support.Microsoft.com/kb/933168

    If the above does not work:

    Try the data recovery experts

    but they are very expensive

  • I tried to update to IE9 and he returned as failed with error 800F080D. Why is - this happenning

    I tried to update to IE9 and he returned as failed with error 800F080D. Why is - this happenning

    Hi Tena Guevara,

    1. did you try to install the stand-alone package of IE 9?

    I suggest you to check if you have all the prerequisites installed for internet explore 9 http://support.microsoft.com/kb/2399238

    Alternatively, you can try to install the stand-alone package of IE 9 and check: http://windows.microsoft.com/en-US/internet-explorer/downloads/ie-9/worldwide-languages

    Refer also to the links below and check if you have done all the requirements before installing internet explore 9-
    Solve the problems when you can't install Internet Explorer 9

    http://support.Microsoft.com/kb/2409098

    How to install or uninstall Internet Explorer 9?

    http://Windows.Microsoft.com/en-us/Windows7/how-do-i-install-or-uninstall-Internet-Explorer-9

    Hope this information is useful.

  • notification area: How can I get my internet connection and the life of the battery and its return in the notification area

    How can I get my internet connection and the life of the battery and its return in the notification area

    on the bottom right of my screen?

    I tried the properties and to add notifications but it net let me add them...

    Hello

    1 Please reboot nothing so interfere with this process.

    Click with the right button on Taskbar - Properties - tab Notification area - check box Volume - if it is grayed out
    Then, use this link. (The battery is the same method.)

    How to enable or disable the system tray in Vista icons (there are several methods
    and you can to use them all).
    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    If necessary: a Mr Fixit

    System icons do not appear in the notification area in Windows Vista or in Windows 7 until you
    Restart the computer
    http://support.Microsoft.com/default.aspx/KB/945011

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • RealTek HD Audio driver "stdriver64.sys" not digitally signed, and update returns the message "everything is up-to-date.

    Hello

    Recently, I checked my RealTek HD Audio drivers and found that the "stdriver64.sys" driver is not digitally signed.  It can be connected to a crash problem that I have known for two weeks now, so I try to update all the drivers and see if it will solve this problem.  When I click on update drivers for RealTek HD Audio, a message returned quickly saying that all drivers are up-to-date.  But again controlled the pilot "stdriver64.sys" shows that it is not digitally signed.  Is there another way to update this driver or another way to take with this?  Thank you for your help.

    Preston

    * original title - RealTek HD Audio driver "stdriver64.sys" not digitally signed and update returns message "everything is up-to-date. How can I solve this? *

    Go to the website of the manufacturer of your computer/laptop > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for