How Is sdo_geom.sdo_distance calculated in geodetic space?

Hi,
I'm new to oracle spatial -- but very familiar spatial SQL in Manifold GIS. In that package, there are two distance functions, a "distance", which returns the distance in native coordinates, and a "distanceEarth", which is used to return true distance (in meters) rather than degrees when working in lat/lon. When I author a basic distance query in oracle which finds the distances between all the geometries in one table and all the geometries in another table, the sgo_geom.sdo_distance will return the result in meters even when I am working in lat/lon. So when does the oracle distance function convert between degrees and meters? Is it really returning the true distance? In this clear?
thanks!

In Oracle Spatial, we always return the true distance based on the coordinate system
of the geometry.
If the geometry has lat/long values for coordinates, and appropriate SRID is set,
we compute the true earth distance.
If there is no SRID set for the geometry, the distance returned will be computed
as if the long/lat values are x,y values.
siva

Similar Messages

  • How can i get more local storage space on my iphone 4

    I want to put more song on my iphone 4 but it keeps saying i dont have enough local staorage space. How can i get more local storage space on my iphone 4?

    You don't. Delete 'stuff' you don't need or buy a phone with more storage. you can not increase or upgrade the internal storage in the iPhone.

  • How to use the Calculated attibute in view object

    Hi,
    I have a view object query with the calculated attribute name as 'TRANCODE' in the below sql.This query works for the initial page loading.
    After the page gets loaded, there is a search section in the same page at the top.
    Here i will have to build the whereclause to the same query and retrieve the values.
    i am using jDeveloper 10.1.3.1, with adf and jHeadstart.
    Can some one tell as how to use the calculated attribute TRANCODE in whereclause?
    SELECT /*+ first_rows(10) */
    BatchCntl.FILE_CNTL_ID,
    CASE WHEN chk_bit(Entry.ENTRY_FLAGS, 2)='Y' OR Entry.ENTRY_SUBSTATUS = 'D' OR Entry.ENTRY_SUBSTATUS = 'J'
    THEN
    CASE eeh.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE eeh.TRAN_CODE
    END
    ELSE
    CASE Entry.TRAN_CODE
    WHEN '21' THEN 'C'
    WHEN '22' THEN 'C'
    WHEN '31' THEN 'C'
    WHEN '32' THEN 'C'
    WHEN '26' THEN 'D'
    WHEN '27' THEN 'D'
    WHEN '36' THEN 'D'
    WHEN '37' THEN 'D'
    ELSE Entry.TRAN_CODE
    END
    END AS TRANCODE,
    FROM Batch_Cntl BatchCntl, Entry, ENTRY_EDIT_HIST eeh
    WHERE (BatchCntl.BATCH_TYPE = 'E')
    AND (BatchCntl.BATCH_STATUS in ('A','D','R','P'))
    AND entry.in_batch_cntl_id = BatchCntl.BATCH_CNTL_ID
    and Entry.fi_rt = eeh.fi_rt (+)
    and Entry.entry_id = eeh.entry_id (+)
    AND (Entry.ENTRY_STATUS in ('A','D','R','P'))
    ORDER BY BatchCntl.BATCH_CNTL_ID, Entry.entry_id
    regards
    Raj.

    Let's say your application module is com.yourcompany.someapp.services.MyService, and let's say you authored a method like the following in the MyServiceImpl.java file:
      public void doSomething(int i, String s) {
      }and you exposed this AM custom method using the AM editor.
    BC4J design time will automatically create you the com.yourcompany.someapp.services.common.MyService interface that will look like this if you go look at the source code:
    package com.yourcompany.someapp.services.common;
    import oracle.jbo.ApplicationModule;
    public interface MyService extends ApplicationModule {
      public void doSomething(int i, String s);
    }To use your custom method from a client, just cast your ApplicationModule to your custom interface like this:
    import com.yourcompany.someapp.services.common.MyService;
      MyService mySvc = (MyService)yourAM;
      mySvc.doSomething(1,"foo");

  • How can i pass calculated value to internal table

    Hi
    i have to pass calculated value into internal table
    below field are coming from database view and i' m passing view data into iznew1
    fields of iznew1
                 LIFNR  LIKE EKKO-LIFNR,
                 EBELN  LIKE EKKO-EBELN,
                 VGABE  LIKE EKBE-VGABE,
                 EBELP  LIKE EKBE-EBELP,
                 BELNR  LIKE EKBE-BELNR,
                 MATNR  LIKE EKPO-MATNR,
                 TXZ01  LIKE EKPO-TXZ01,
            PS_PSP_PNR  LIKE EKKN-PS_PSP_PNR,
                 KOSTL  LIKE EKKN-KOSTL,
                 NAME1  LIKE LFA1-NAME1,
                 NAME2  LIKE LFA1-NAME2,
                 WERKS  LIKE EKPO-WERKS,
                 NETWR  LIKE EKPO-NETWR,
                 KNUMV  LIKE EKKO-KNUMV,
                 GJAHR  LIKE EKBE-GJAHR,
    and now i want to pass
    one field ED1  which i has calculated separatly and i want to pass this value into iznew1
    but error is coming that iznew1 is a table with out header line  has no component like ED1.
    so how can i pass calculated value to internal table iznew1,

    When you declare your internal table , make an addtion occurs 0
    eg . data : begin of iznew occurs 0 ,
                    fields ...
       add the field here ed1.
               end of iznew.
    now when you are calculating the value of ed1,
    you can pass the corresponding value of  ed1 and modify table iznew.
    eg
    loop at iznew.
    iznew-ed1 = ed1.
    modify iznew.
    endloop.

  • How to do the calculations with currency fields in table control?

    Hi everybody,
    Can anyone tell me how to do the calculations (arithmetical) with the currency fields which have been assigned for a table control fields? Actually they should be fetched from the database table and need to do some calculations and after that the same should get updated at the database level.
    Here, i am getting the short dump after doing the calculations and trying to display at the table control field itself.....
    Can anyone help me in this issue........
    Thank you very much.....in advance,
    Somu.

    Hi,
    Thanks to your replies all,
    But, even though the sign check box is checked in the SAP domain WRTV7, in my program it is not showing the negative sign at all...
    I am keep trying for all the options...
    But still it is not working out...
    My requirement is after fetching the data from the database i need to do calculations and save back same to the customized table field, for which the domain i have checked the sign and have done it also...
    I'd be highly thankful to you, if you can help me out...
    Thank you,
    Somu.

  • How to get all GroupSpaces name using Spaces API, irrespective of user logged in?

    Hi
    Can anyone please tell me, how to retrieve list of all group spaces using Spaces API. I have used this method getGroupSpaces(null) to retrieve all group spaces, however it returns only the logged in members groups.
    Is there any way to get all groupspaces details?
    Regards
    Raj

    i don't think so other than admin user can get all group spaces informaiton, is it possible in webcenter portal:spaces default deployment?

  • How do I create calculations in Adobe Pro 9?

    I have a table with "quan" and "unit price" and a "total cost" column.  I created a text field in the "total cost" field and then went to the calculate tab, selected "value is the" and chose "product" and then selected the 2 items that I wanted to total, "quan" and "unit price".  When I close "form editing" and test it out, it doesn't work.  I have found many videos that show how to create calculations and I follow them exactly as they say and it still doesn't work. What am I missing?
    Thanks!

    Is you use the first option, "The field is the product of the following fields:" you should see a result. Just make sure the fields you want multiplied or selected.
    The following links show how to create calculations in various ways.
    How to use basic calculations in PDF forms
    How to do (not so simple) form calculations

  • How can i make calculation in two file using two parameter

    how can i make calculation in two file using two parameter
    Solved!
    Go to Solution.

    i am having two differnt file, both file having no and time , i want to make programme that when, number and tiome is same in both file give that index onle  in , i am going to attached the file
    Attachments:
    iisc11-jan2010extract.txt ‏1253 KB
    sp3.xlsx ‏12 KB

  • How is delivery date calculated

    How can anyone please explain how delivery date is calculated using forward and backward scheduling
    I want to have it broken down into the following steps
    for eg for delivery date calculation following dates are used
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Can some one please give me an example and explain wht these dates are
    for eg customer needs delivery date on  11/20/2008
    how would the system cacluate whether it can meet the delivery date using backward scheduling
    and if it doesnt meet how does the system do the forward scheduling
    also i am not clear with the following dates
    material avaialibilty date
    material staging date
    transportation date
    can some one please explain me all this in detail
    Also i have another question at the sales order creation when is shipping point and route determined
    coz based on the ATP check only material avaialabilty date is determined and if we have a bacjground job running every 1 hours for atp then immediately when we create a sales order is a route and shipping point determined (just before we save the sales order)
    Let me be more clear
    Suppose customer representative recevies a order on the phone
    he enters sold to party, ship to party ,PO number,delivery date and material number and then hits enter
    so at tht time the shipping point and route is determined ?
    also when an atp check runs and if the delivery date is not met then the system will propose a new delivery date but if we have a different route configured say for eg overnight so we can meet the delivery date and we want to change this route to overnight what must we do?
    should we change the shipping condition in the header?
    I am not very sure about the process can you please also explain me this in detail?
    Thanks

    Hi there,
    When a sales order is logged & the user enters the requested delivery date, system 1st does the backward scheduling date. Pla note that the factory calender mentioned in the shipping point & route plays a crutial role in defining the working days & confirmed delivery date.
    For eg:  Customer has raised an order on 11/15 & requests delivery on 11/20/2008.
    the following times are important in delivery scheduling.
    Transit time: maintained in route
    Loading time maintained in the shipping point
    Transportation planing time maintained in the transportation planning point.
    pick pack time maintained in the shipping point.
    Material availability time maintained in MM02 --> MRP screens. This is the time that the material can be manufactured (for inhouse producted items) or external processing time (for externallly procured materials like TAS items).
    From the requested delivery date 11/20 system does the backward scheduling & determines the following dates:
    Goods issue date, loading date, pick pack date, transportation planning date & material availability date.
    Time between:
    goods issue date - reqested delivery date: transit time
    Goods issue date - loading date: loading time
    transportation planning date - pick pack date: picking pack time
    Material availability date - transportation date: transportation planning time.
    Consider that the factory calender has all days of the week as working dates (to make it simple to explain). Also transit time is 3 days, loading time is 1 day,pick pack time is 1 day, material availability time is 3 days.
    From 11/20 ussing backward scheduling system determines the following dates:
    Goods issue date: 11/17
    Loading date: 11/16
    Pick pack date: 11/15
    System will check if material is available on the 11/15 to start pick / pack. If it is available then system will confirm the reqested delivery date. Else it will check when the material is available. For eg basing on the MRP settings mnaterial is available only on 11/18. So from 18th system does forward scheduling & redetermines all the dates. So pick / pack date is 11/18. Loading date is 11/19, goods issue date is 11/20 & possible delivery date is 11/23. So system will confirm the delivery date on 11/23. This is when complete delivery is required. If partial delivery is allowed, then system will check how much quantity is available on 11/15. Accordingly it will give 2 delivery dates.
    In the above example include teh factory calender which will have 5 day week with Fri & Sat as holidays. Accordingly dates will change.
    Here replenishment lead time also plays an imp role. Pls refer http://help.sap.com/erp2005_ehp_03/helpdata/EN/6b/2785347860ea35e10000009b38f83b/frameset.htm for further information
    Regards,
    Sivanand

  • How to populate the calculated value into screen field.

    I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
    The Calling screen: SAPLIQS0
    Screen Number: 7790
    Screen Area :USER0001
    Called Screen: SAPLXQQM
    Screen Number: 0101
    I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
    The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
    How to populate the calculated values in Custom screen?
    Where we wrote the code to populate the calculated values in custom screen?
    You have any idea please guide me
    Thanks & Regards,
    Samantula

    As your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)

  • How do i get rid of this space?

    okay, i'm having trouble with this method, i've tried so many ways to get rid of the single space before the "]" , if i do a "\b" anytime after the for statement is done, it just prints a small square.
       // prints out the prime numbers inside sieve
        public void printPrimeNumbers(){
            int n = 0;
            System.out.print("[");
            for(int i = 0; i < sieve.length - 1; i++){
                n++;
                if (sieve[i] == true && n != sieve.length - 1)
                    System.out.print(i + " ");
            System.out.print("]");
        }for instance if i implement the following in client code
    PrimeNumbers test = new PrimeNumbers (15);// new boolean array from 0-14
    System.out.println( test ); // prints t or f if the index is a prime number
            System.out.println("There are " + test.getNumberPrimeNumbers(15) +
                               " prime nummbers in the sieve from 1 to 15");
            System.out.println("There are " + test.getNumberPrimeNumbers(25) +
                    "  prime numbers in the resized sieve from 1 to 25"); // test is resized by a helper method
             test.printPrimeNumbers(); // prints the index of the array created inside the object if it is primehere is the output of the program:
    [F F T T F T F T F F F T F T F F]
    There are 6 prime nummbers in the sieve from 1 to 15
    There are 9 prime numbers in the resized sieve from 1 to 25
    [2 3 5 7 11 13 17 19 23 ]
    my question is how do i get rid of the space in between the 23 and the ] , i've tried so many ways that have failed to do so.
    Thanks

    my question is how do i get rid of the space in between the 23 and the ] , i've tried
    so many ways that have failed to do so.Just don't print it in the first place.public void printPrimeNumbers() {
        int n = 0;
        boolean first = true;
        System.out.print("[");
        for(int i = 0; i < sieve.length - 1; i++){
            n++;
            if(sieve[i] == true && n != sieve.length - 1) {
                if(first) first = false;
                else System.out.print(" ");
                System.out.print(i);
            System.out.print("]");
    }[Edit] Too slow!

  • How do I get rid of extra space in the toolbar section?

    There is a blank space between the Navigation Toolbar and the Tabs. It is the same height as the other Toolbars, and is very annoying. How do I get rid of this space?
    I tried pasting in a screenshot to show what I mean, but this form won't accept it.

    Sorry thought you had placed them both on the same toolbar.
    What you appear to have a a bookmarks toolbar without any bookmarks.
    Make sure that you have the check mark present for the bookmarks toolbar
    View > Toolbars
    Use "Ctrl+B" to bring up the bookmarks in the sidebar.
    You should have three major folders "Bookmarks Toolbar", "Bookmarks Menu" and "Unsorted Bookmarks".
    If you have no bookmarks or folders in the "Bookmarks Toolbar" that would be one reason for it to be blank, another and the only other one I think is currently possible through Firefox itself is that you don't have the wording "Bookmarks Toolbar Items" in the row when in customize, look for an item marked "Bookmarks" -- there are two such items you don't want the white star on a black background and drop-down, you want the the one with blue symbol on the right hand side -- drag it to the bookmarks toolbar, be careful in dragging you might drop it in the wrong toolbar.
    If that doesn't work use the "Restore Default Set" and then you have to re-customize your toolbars (but you placed a picture here that you could work toward).
    See picture at http://kb.mozillazine.org/Toolbar_customization_-_Firefox
    for during customize with "Bookmarks Toolbar Items" showing on the toolbar.]
    My own customizations seen in this picture
    * http://dmcritchie.mvps.org/icons/fx4toolbars.png
    :are described in the following
    You can make Firefox 4.0.1 and '''Firefox 5.0''' look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]
    and most of the major styling changes like color borders around tabs for status, and bookmarks bar with blue folders and red bookmarks are in the styling part items # 41 -45 (46 if you have multiple profiles).

  • How can I reduce the amount of space between paragraphs in Pages?

    How can I reduce the amount of space between paragraphs in Pages?

    Let's pretend that you told us which version of Pages you are talking about, and that you are using Pages 5:
    click in the text > Format > Spacing > click on triangle to expand options > change Before/After
    Peter

  • How is the sigma calculated in monte carlo analysis?

    Hi All,
    I wonder how the Sigma is calculated in Monte Carlo Analysis.
    I read the User Guide, it said the Sigma is related to Resistence value.
    But seems the process of calculating the Sigma in User Guide is not correct...
    Would anyone be able to provide some more details on the Sigma caculation?
    I attached the Monte Carlo Analysis' result.
    After some days' research, I can not figure out the caculation process...
    Any help would be appreciated.
    Thanks,
    Gavin.
    Attachments:
    Monte Carlo.PNG ‏36 KB

    Hi,
    Please take a look at the attached spreadsheet. This calculation is based on the sample RLC Circuit which is located in the Samples Folder >> Analysis >> Monte Carlo Analysis.
    In essense the Sigma value is based on the Output Y Value and it shows what the peak value is on a specified distance from the calculated sigma of the entire data.
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.
    Attachments:
    Monte Carlo Results.zip ‏9 KB

  • How can i clean up my disk space on my MacBook Pro

    how can i clean up my disk space on my MacBook Pro something  like a disk cleanup on a pc?

    Those things you did on your PC you need not worry about on your Mac. Most is done behind the scenes.
    Kappy's Personal Suggestions About OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. Drive Genius provides additional tools not found in Disk Warrior.  Versions 1.5.1 and later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.)
    If you are using a pre-Leopard version of OS X, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  (These utilities have limited or no functionality with Snow Leopard, Lion, or Mountain Lion and should not be installed.)
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. (There is no confirmation that this version also works with Lion or later.)
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner.
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Always have a current backup before performing any system updates or upgrades.
    Additional suggestions will be found in:    
          1. Mac Maintenance Quick Assist,
          2. Mac OS X speed FAQ,
          3. Speeding up Macs,
          4. Macintosh OS X Routine Maintenance,
          5. Essential Mac Maintenance: Get set up,
          6. Essential Mac Maintenance: Rev up your routines,
          7. Maintaining OS X, 
          8. Five Mac maintenance myths,
          9. How to Speed up Macs, and
        10. Myths of required versus not required maintenance for Mac OS X.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity or 20 GBs, whichever is greater, as free space.

Maybe you are looking for

  • ITunes overwriting my ID3 tags

    Hi all, iTunes has been playing up lately. Somehow, when I open iTunes, it seems to overwrite cover art (deletes cover art), disk # information (again deletes it), and track info (even if I have X of Y, it deletes the 'Y' data). What on earth is goin

  • Unable to launch MacHelp in OS10.3.9

    Since doing 10.3.9 Combined Update yesterday, MacHelp won't launch. The icon pops up in the Dock, Help Window opens on desktop but then disappears as does the dock alias.

  • How do I find the Adobe Acrobat Pro Trial that I have downloaded?

    I have downloaded the adobe acrobat pro trial, but I cannot find it among my downloads. I  do see the Adobe download assistant only.

  • ITunes will not open when the internet is on.

    Alright! So I'm not sure why but in April sometime, my iTunes started not to open. Every time I'd try, it forced closed and would look for a solution. It told me to update and I did but it still does nothing. It'll open without my computer being conn

  • Help w/dual OS

    I have an eMac w/a dual OS, 9 And 10.2.8 I want to know if I can upgrade the os10 w/out losing everything on the os 9. Does anyone know if this is possible? I have years of teaching (programs that won't run on os10, files, etc.)stored on the os 9 and