Create SDO_GEOMETRY of SRID adding existing

Hello

I have a SDO_GEOMETRY without an SRID in there, and I have to call as in the following statement:

SELECT A.G3E_FID, SDO_UTIL. TO_WKTGEOMETRY (SDO_LRS. CONVERT_TO_STD_GEOM (SDO_CS.transform (a.g3e_geometry, 28992))) g3e_geometry, 28992 srid FROM las_pt;

If the g3e_geometry column has a defined SRID that works, but if it isn't I get the following error:

ORA-13029: not valid SRID in the SDO_GEOMETRY object

What would be the best way to add the SRID in order for this statement to work? It should be 200015.

BTW. This statement is executed in the context of Microsoft SQL-server and the output of g3e_geometry alias is entered for SQL-server

Geometry::STGeomFromText to create geometry of SQL-server. If there is another way to do this, I'd be happy to. @

How about you, replacing the name of the table with a subquery using NVL, something like below (not tested because of no data on sample)?

SELECT A.G3E_FID,

SDO_UTIL. TO_WKTGEOMETRY

(SDO_LRS. CONVERT_TO_STD_GEOM

(SDO_CS.transform

(a.g3e_geometry, 28992))) g3e_geometry,

SRID 28992

OF (SELECT g3e_fid, )

MDSYS. SDO_GEOMETRY

(a.g3e_geometry.sdo_gtype,

NVL (a.g3e_geometry.sdo_srid, 20015),.

a.g3e_geometry. SDO_POINT,

a.g3e_geometry.sdo_elem_info,

g3e_geometry of a.g3e_geometry.sdo_ordinates)

OF las_pt one) one

/

Tags: Database

Similar Questions

  • Unable to create placeholder virtual machine already exists

    We try to change a test of Protection Group to a new group of Production and I get the following error on some of our virtual machines that are not protected.

    Protect the VM cannot create the VM space reserved on the recovering site: machine virtual recovery could not be created: the

    name ' already exists.

    It's VShere 4.1 reproducing with recover Point separator 3.2

    Any enlightenment is appreciated.

    I have (had) the same problem. It seems that there is a bug in the system. When you delete an old or protection group test it does remove all the place SRM LUN support files.

    My fix, browse the place holder SRM datastore, after the withdrawal of your protection group, remove while flying over the records in the data store. After that, check the inventory of the VM, if all protected servers are still right click on each one and select Remove from the inventory.

    Once all the old data is deleted you can re - create your protection group and all servers must be added without problem. If you still have trouble to re-post here and I'll try to help.

    Thank you

    Graham

  • Change of SRID of existing data SRID in user-defined tables

    Hello

    I used a converter to load spatial data in Oracle spatial. The converter could not map the projection with SRID and the left field null SRID system in the geometry column. I created a new SRID for my projection system.
    I've also updated the SRID that is new to the SDO_GEOM_METADATA.

    How can I update the SRID of existing data.

    Is there for example any type of update the query that performs the foll task

    Update Geometry_column set srid = "" so that all records of my planned new table SRID. "

    Concerning
    Nidhi

    Hello Nidhi,

    Use this option.
    setting a day t set t.geom.sdo_srid =

    example:
    update set r.geom.sdo_srid = 32643 r roads

    Kind regards
    Sujnan

  • create the setup of the existing installed program file / software

    I want to create the setup of an existing installed program file / software, while I can install it on another PC.

    No, this is not possible, you will need to have the installation files that the program has been installed, if you need to install it on another computer.

  • Failed to create or open the new (existing) file

    I can't create or open the new (existing) file or new model is just do ' t do anything. I have to stop using the Task Manager.

    Microwoft WIndows 10 x 64 Insider Preview Build 14361, 6 GB RAM, Intel Core i3.

    I tried to restart my laptop, reinstall Illustrator, run as administrator, that it helped me. Adobe Illustrator CC 2015 19.0.0 (64-bit). I don't know what's happened, he worked several times before, but now... Help, please!

    Disable the GPU performance helped me, now I can open or create new files, but now my computer is incredibly slow opening Illustrator.

    P.S. Oh my... I just activate Windows Defender and now everything works normally

  • Is the field Date added exist on E10 shared list?

    I can see there is a date stamp field (Date added) exists in the groups of contacts E9 (when we look at the contacts in the contact group), which indicates when making a contact added to the contact group.

    Is there a similar feature of E10 shared list?. If so where I see?.

    Thank you

    Ashok.

    Here's the answer to your questiony at - it a way to see the date has been added as a member of the shared list?.

    Thank you

    Amit Pandya

  • I have used Muse on a 30 trial and created a site and added my own domain name and it is now online. I now want to muse and edit and add a few things, but I don't know how to do it? I opened the software, go file and tried to open the is

    I have used Muse on a 30 trial and created a site and added my own domain name and it is now online. I now want to muse and edit and add a few things, but I don't know how to do it? I open the software, go file and tried to open the site, but there is nothing there?

    Please provide a screenshot of the design view after opening the file, also the url of the site online.

    In case the trial is expired, you need to upgrade your membership/registration.

    Thank you

    Sanjit

  • Creating the file must already exist

    The problem that I am struggling with, is that when you create an Excel file, the user is prompted for the file name. They can search for the file by clicking the folder icon, but once they arrive at the directory they want, if they type in a file that does not exist, LabVIEW says that the file is not found. So the user has to click on a file that already exists, and then change just the end of the file name for what they want, it's more work, I want the user to do. Any suggestions?

    Thank you

    GJ

    Check in options for any function you use pop open the file dialog box.  I bet that you have defined for existing files when it should be defined for new or existing files.

    If it is a file IO path control, right click on the Browse button and choose Properties.

  • Cannot create a Microsoft account (already exists) and cannot use it (does not exist or is not available)

    Hello
    I need help - I installed Windows 8 Pro and I create a Microsoft account using my personal address (not a Windows Live) everything was fine and then I had a problem with the approval of the account and I made the decision to reinstall everything.

    When installing Windows 8 Pro back, I'm not able to create a Microsoft account because it says already exist and when I try to connect using it does not exist or not available, I used a local account and it works very well and also a new account from Microsoft and it works fine.

    The problem is that I am not able to use my official address as a Microsoft Account

    Could you please help me.

    Thank you
    Chicago

    What is the name of the mental illness?

    Duh!

    An account will be considered as inactive if you don't sign not for 270 days or within the first 10 days after registering. The account will be deleted if it has been inactive for 365 days. When the account is deleted, the user name is immediately available for registration.

    Try this status Checker-

    Status Checker

    When you went through the previously mentioned account recovery process link, do you have provided an alternate email address and you will be notified that you would like to be contacted?

    Try to re-create the account as a new account, if it is still available.

    Windows 8: use a Local instead of Microsoft Live account account to connect

    http://www.tech-recipes.com/Rx/22437/Windows-8-use-local-account-instead-Microsoft-account-login/

    How do to return to the account of Local Microsoft Account, sign in on Windows 8

    http://www.thewindowsclub.com/switch-local-account-log-Live-ID-Log-Windows-8

  • Creating Local index on an existing partitioned table

    I have an existing table partitioned by list. I'm supposed to create local indexes on this subject.

    I'm using Oracle 11 g.

    I have an existing table partitioned by list. I'm supposed to create local indexes on this subject.

    I'm using Oracle 11 g.

    The skill the MOST IMPORTANT you can learn, is at present, how to find information.

    A search on the SIMPLE web for 'local index of oracle 11g' returns this as the FIRST link

    https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_5011.htm

    The "local_partitioned_index" section has all the information you need and it has code example showing you how do it.

  • Creating a new document from existing pages

    It must be a feature in InDesign that allows you to create a new document using the selected pages in an existing document without having to remove unwanted, pages as when you create a document "save under".  And also the possibility to create existing master pages.

    It is already there. At least somehow.

    Create a new document of the same dimensions of the former, with a blank page. Then, in the old document, select them pages you want and in the Pages menu, choose move Pages.  You can then select the new document to move pages to and make sure to remove Pages after that moving is not selected.

  • newbie question: adding existing virtual computer hard drive problem

    I'm under esxi, 5.0.  I've created a 1 TB LUN in my san using unisphere.  I see the data store in vsphere.  I tried to add it as another drive on my windows 2003 server.  He would drive G.  but it never shows in "disk Management".  I've done it before on my 2008 servers.  not sure why its not showing in 2003.

    Thank you

    Hello and welcome to the communities.

    You add it as a virtual disk or a RDM?

    Virtual machine properties reflect the drive being there?

    Rescan you the storage in Windows, after adding?

  • Cannot create the p12 certificate with existing certificate of distribution

    Hello

    I published apps before using my employers apple developer account that is simple enough forward if you follow the instructions. Asked me to create an application for distribution with the apple store using the developer account. I need to create the final application .zip and pass it to the customer who shall submit the actual application is.

    My problem is that I can't create a p12 certificate to attach to the DPS App Builder app. The customer has three certificates of distribution in their account, but had third party create them on their behalf. To my knowledge, the best way to handle this would be to revoke old certificates three distribution in their apple developer account and create a new linked to my machine that would allow me to create all the necessary certificates. It seems that 3 certificates of distribution is the limit they may have at any given time.

    My questions are:

    1. is my solution, right?

    2. If so, revoke a certificate of distribution would cause problems for one of their other applications that are published or in progress?

    The only other option that I could see was the creator of one of the certificates in distribution create a p12 certificate that I relate to the DPS App Builder app.

    Any help, advice or pointing me in the right direction would be greatly appreciated. I've never had a problem of edition following the directions, so it is a new issue for me.

    Kind regards

    C

    If you have access to your Apple dev account, you can create certificates on your machine, but if they have existing certificates in their account, could cause confusion and don't want to mess with their existing certificates.

    You advise to ask your client to create and pass the CERT, create the app with their certificates and pass back the zip for them to download

  • PRE9: Creating new project, or open existing, shows empty window Editor (well enough)

    Hello

    I used PRE8 (elements of Prime Minister) and PSE 8.  Was never really able to Pre8 to work. (I'm happy with Elements 8).  I decided to bite the bullet and buy the items 9/PRE9 together (good deal on Amazon).  I removed 8 elements, PRE8, and a brand new installed v9 for both software (may have been waste of money!)

    Scenario 1:

    I can't get PRE9 to create a project that I can change.  (to be honest, I had a similar problem with PRE8, but it I could create, but it wouldn't let me open it).  It creates the project that seems and then comes the Editor window, but just about everything in the editor PRE9 menu are grayed out.  The 'new' and 'Open (existing project)' with the exception of the menu items.  No way for me to add video clips to the project, etc..  So useless!

    Scenario 2:

    I enter in elements Organizer, select a video, and then in the "Fix" menu, choose "edit video".  Editor of PRE9 rises, again as before, only 'new' and 'Open' menu items available.  Then he said to me 'corrupt project, cannot open file' (or something close to it)

    Any suggestions?   This seems very essential and fundamental, I am amazed, I have problems in the right basic tasks after a cleaning installed.

    Setup: Dell computer Inspiron 17 laptop, processor Intel i7, 4 GB of RAM.  PRIOR to version 9.0.3 elements 9.0.1,. Windows 7, 64 bit.  I have the installation carried out by Dell out of the box. I pretty much only use this PC for items and PRE (and web browsing - which can cause of course who knows what is downloaded on your PC).  I use the MacAfee virus checker.  I have it turned off during the PRE9 installation (not during the installation of items 9 However, forgot to turn off)

    Thanks a lot for any advice.  I'm new to this forum, my apologies if I posted in the wrong place (let me know where to post if I did)

    Stephen

    Stephen JSp wrote:

    I have the installation carried out by Dell out of the box. I pretty much only use this PC for items and PRE (and web browsing - which can cause of course who knows what is downloaded on your PC).  I use the MacAfee virus checker.

    Reference Dell 'out of the box' would mean that most of your drivers are up-to-date. Update video and audio from the web sites of the manufacturers. Your symptoms are very similar to those of the other users here and disabling McAfee during the PRE9 solved their problem and can heal yours.

    You also need to work your way through the tips here: pre hung, or overwhelming - some tips

    See you soon,.
    --
    Neale
    Insanity is hereditary, get you your children

  • steps to create the new table using existing metadata

    Hi all


    That's what I want to achieve,

    I want to create a procedure that will take an input parameter as a table name lets say 'EMP ',.
    This procedure checks if this table exists or not?
    If they don't exist
    It will create a new table with the name _dummy join the existing table name (ex: new table will be EMP_DUMMY).
    and new table should have the same structure of the table, indexes, and constraints on the EMP table.


    NB: It should not be created using select as create table EMP_DUMMY select * from EMP where = condition false;



    Can someone help me please how to achieve this?

    Please, don't post duplicate discussions.

    Check your thread previous stored procedure to create a new table with the existing table structure to further discussions

Maybe you are looking for

  • How I change my home page?

    I want my portfolio on yahoo/finance as my home page. How can I created this?

  • How to upgrade drivers in 1154 HP Pavillion Desktop.

    Y at - it a HP site I use for drivers in our office pavillion from 1154 with windows 7 need update.  If not, what Web site that offers this support should go to be updated?

  • Aceeca drivers always available?

    After being forced to 64-bit windows at work, I was happy to find the news here on the drivers of Aceeca, which apparently did not have a month or two ago. But, the links seem to now is no longer working, and I can find no trace of them on the site o

  • XPS 17 (L702x) Touchpad problems

    Since I had to factory reset my computer, my scrolling was not the same, I was wondering if there is a driver like Dell Touchpad for the XPS 17 with two finger roll, who still works as I've had before.

  • No video - boot loop

    With the help of Windows 8 Pro(not 8.1), McAfee suite, open an email from a known consignor with a Thanksgiving E-card. The next time you start, no video signal in cycles just monitor and computer by means of boot devices and does not start. The mate