How to create a rectangle from a point and a distance?

first of all, sorry for my English...

I need to create rectangle/polygon from a point (coords in WGS84) and a distance in meter.

for example: point: lon: lat:48.63 2.91

distance north of 750 m

distance to South 260 m

distance is 100 m

distance to the West of 340 m

I want to create a rectangle with this tip

LON - lat 340 + 750

LON + 100 lat + 750

LON + lat 100-260

lat lon-340-260

LON - lat 340 + 750


Thanks for your help

Take a look at the SDO_UTIL. Function POINT_AT_BEARING:

http://docs.Oracle.com/CD/E11882_01/AppDev.112/e11830/sdo_util.htm#SPATL1240

You will need to do it in two steps, first from the center point to the temporary points towards the North, South, East and West. Then find the corners using offsets you have.

I would personally just make a function to do this, by the way the central point as geometry and then different offsets - returns the geometry of your polygon.

Bryan

Tags: Database

Similar Questions

  • How to create a rectangle of fixed ratio and move without cutting the image?

    I know it's a simple question with a simple answer, but I did not yet find that answer. Usually, I crop my photos in a size 2 to 1 fixed ratio for Twitter. I used to extend the fixed ratio to the size I wanted and then move the tool of selection of ants marching to the area I wanted to reframe. However, in the last few months I'm not able to move the selection without cutting the photo. I used to create my selection and move the cursor over the moving dotted line and then move the selection. This is never a problem. All the answers as to what I might hurt?

    Thanks in advance.

    Sandra

    If there is no selection and you move the selection with the "MOVE TOOL" it will reduce the image

    To move the selection without cutting image, use any 'Sélection' tool instead of the move tool.

  • How to create a DataControl from the Java file

    How to create a data from the Java file control

    Hello
    Try like that after the example, you will get the answer

    1. Create Page.java

    public class {Page}
    private String pageName;
    private String pageAction;
    public Page() {}
    Super();
    }

    public Page (pageName, pageAction String String) {}
    Super();
    this.pageName = name of the page;
    this.pageAction = pageAction;
    }

    {} public void setPageName (String pageName)
    this.pageName = name of the page;
    }

    public String getPageName() {}
    Returns the name of the page;
    }

    {} public void setPageAction (String pageAction)
    this.pageAction = pageAction;
    }

    public String getPageAction() {}
    pageAction return;
    }
    }

    2. create PageList.java

    import java.util.ArrayList;
    import java.util.List;

    public class PageList {}

    private pages = new() ArrayList list;

    public PageList() {}
    Super();
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    }

    public void setPages (list of pages ) {}
    This.pages = pages;
    }

    public {list getPages()
    return pages;
    }
    }

    3. right click in the PageList.java and choose CreateDataControl

    then refresh the DataControl and focus on which a DataControl as PAgeList will be created

    Kind regards
    Felix

  • How to create a shared library of Qt and use it on App without a head?

    Hi all

    I'm experimenting with some waterfalls headless basic application development, and I just hit another problem of blocking.

    I want to create a Qt library with some shared code between the head and user interface elements.

    That's what I did:

    1. created a new application without head the wizard project
    2. created a new library shared by using the wizard project. Adds a simple C++ (Qt not) class
    3. Set up the two parts of the Headless App to use the shared library ("Library in the workspace project" option from the "Add library...) (' Assistant).   Everything compiles and works very well so far.
    4. Now, I want to use the shared library Qt. I choose 'Library of the Standard BlackBerry platform' and ' platform > Qt Core "from the «add library...» "Wizard. Now, I had this error on the shared library project: C:\dev\bbndk\host_10_2_0_15\win32\x86\usr\bin\ntoarm-ld: could not find lQtCore.

    How to create a shared library of Qt and use it on App without a head?

    In fact, I would also use other NDK libraries on library shared as lbbdata and libbbdevice.

    I expect that workers would deal with all the problems for me. As an improvement, I suggest you add the selection screen platform library of the Wizard "Add library...". «the wizard «Shared Library Project»

    There is a model of library project

    https://github.com/BlackBerry/Cascades-community-samples/tree/master/Cascades-library-template

    Unfortunately, the library create Assistant isn't really useful #t

    There is also a great series on using headless headless library and user interface:

    http://devBlog.BlackBerry.com/2014/02/a-flexible-architecture-for-enterprise-mobile-applications-par...

  • How to transfer my photos from my ipad and iPhone to my computer?

    * Original title: photos

    How to transfer my photos from my ipad and iPhone o my computer? Help, please

    Hello

    You can find here how: http://support.apple.com/en-us/HT201302

    but you must install the software apple itunes on your PC first called.

  • Using a loop on AS3.  How to create instances of a class 1000 and put them in a vector/matrix?

    Using a loop on AS3. How to create instances of a class 1000 and put them in a vector/matrix?

    public var newArray:Array = [];

    for (var i: int = 0; i<>

    {

    var newClass:Foo = new Foo();

    newArray.push (newClass);

    }

  • creating cloud disappeared from my mac and I can not install

    creating cloud disappeared from my mac and I can not install.

    It asks me to install the Media Manager because the file is corrupted, but I can't download.

    uninstall your application client cc, clean by use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6 and then reinstall apps download Adobe Creative Cloud | CC free trial Adobe

  • 2 How to remove an element from the tree and the database block tree?

    Hello

    2 How to remove an element from the tree and the database block tree?

    Kind regards

    Abdetu...

    The problem is caused by not sending forms is not a VALIDATION of the database because he thinks that there is no changes to save.

    Forms does know that changes to the data block, he does not know the changes made by the PLSQL INSERT, UPDATE, DELETE calls and procedure.

    Try to remove the line to block, rather than using a DELETION like that...

    go_block ('INSP_EQUIPMENT_TYPE');if form_success then   do_key ('DELETE_RECORD');end if;
    
    
    

    If you wish to continue using your original DELETE instead of my change above code, you can use different techniques to force forms to issue the COMMIT to the database, including this one...

            DELETE ...        FORMS_DDL ('COMMIT');
    

    Be careful... This will be the VALIDATION of the database, but the changes to the data block will not be sent to the database!

    I posted a few other ways to issue a VALIDATION of forms here
    www.seeristic.com/Forum_Posts/Forms_COMMIT.txt

  • How to animate an element from one point to another with Create.js?

    Hello

    I want just to animate an element from one point to another.

    But the components are moving and animation, which is not much help.

    I saw this code on the page of create.js - createjs. TweenJS.get (Logo) .to ({x: 500}, 1000)

    But I can't seem to do anything to my instance of Logo.

    Any help would be appreciated!

    Kind regards and thanks in advance.

    This should be:

    createjs. Tween.get (this.) Logo) .to ({x: 500}, 1000)

  • How to create a DVD from Movie Maker?

    I have the Windows live movie maker, which came with my new PC, but I can't find any way to burn a DVD.  How can I download this ability?

    Original title: Movie maker on a DVD.

    Hello

    Please follow the steps in the link below to create a DVD from Movie Maker.

    Burn a DVD-video using Windows DVD Maker disc

    http://Windows.Microsoft.com/en-us/Windows7/burn-a-DVD-video-disc-with-Windows-DVD-Maker

    You can also go through the steps mentioned by J to volunteer for more information.

    Windows Live Movie Maker-how burning the project to DVD for playback on TV

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/Windows-Live-Movie-Maker-how-to-burn-project-to/dd8d264f-69f7-41A7-B67B-5eeeb9ad41b6

    You can also post your queries to the Windows Live support for more information.

    Movie Maker Portal

    http://windowslivehelp.com/product.aspx?ProductID=5

    Hope this information is useful.

  • How to create a widget from Adobe Acrobat Pro DC rather than use EchoSign/DC?

    How can I create a widget from Adobe Acrobat DC Pro that I use in my Web site instead of using EchoSign/DC, as I am now?

    Hello

    As the creation of widgets is an echosign feature and not an Acrobat feature, unfortunately, you wouldn't be able to create widgets with the Acrobat DC pro subscription. This is due to the reason why you get echosign pro subscription when you subscribe to DC, Acrobat pro, which does not support the widget.

    If in the case where you are on Echosign pro subscription, you wouldn't be able to do so because it does not support the creation of widgets. You will have to opt for a global echosign or the company's plan to create widgets.

    Or you can opt for one of the Acrobat business plans to perform this task.

    If you wish, you can connect with the support of Adobe for more information in this regard.

    http://helpx.Adobe.com/x-productkb/global/Service1.html

    Please click on the blue button "Still need help" to connect with one of the frames.

    Concerning

    Sukrit diallo

  • How to create a circle from the Center?

    Hello. I'm using PS CS3 and I want to create a perfect circle around the Center. How do you do that?

    I know not pressing SHIFT while dragging makes it perfectly round. I also read that pressing alt at the same time he draws in the Center, but it does not work, it just all just with the eyedropper tool. Am I missing something or is there another way to do it?

    Thank you.

    Hello

    If you click and hold the mouse pointer and press the Alt key and drag, it should work.

    In addition, once you start dragging, add the SHIFT key to constrain to a circle.

  • How to create the rectangle with rounded corners?

    How can I create a rectangle with rounded corners?

    Yes... I know x)
    but with the action script?

    I found: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html#draw RoundRect()

    Thank you

  • How to create a unique fixed break point to allow scrolling effects?

    I am creating a site that has scrolling effects. I somehow just can't understand for the life of me how to create a 'unique fixed breakpoint. I already have a fluid breakpoint, and whenever I try adding one, it does not always activate scrolling effects. I think it's something very obvious, I'm missing - any advice?

    To use the effects of roll, your site must be fixed in width, not fluid. Scroll effects are disabled when you add a second breakpoint.

    David

    Creative muse

  • How to create a pdf from a scanner when I could not find this option?

    I don't find the option to create a pdf from scanner - only of a cloud in Acrobat Standard XI - where is it?

    Use the file menu > create > PDF from Scanner

    Or did you use Adobe Reader? Adobe Reader cannot parse documents.

Maybe you are looking for