Create SDO_GEOMETRY from existing adding SRID

Hi,
I have a SDO_GEOMETRY without an SRID in it, and I need to call like 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 a;
if column g3e_geometry has an SRID defined this works, but if it doesn't I get the following error :
ORA-13029: Invalid SRID in the SDO_GEOMETRY object
What would be the best way to add the SRID so this statement works ?? It should be 200015.
BTW. This statement is executed from the context of Microsoft SQL-server and the g3e_geometry alias output is input for the SQL-server
geometry::STGeomFromText to create an SQL-server geometry. If there's any other way to do this, I'd be happy to.@

How about replacing the table name with a sub-query that uses NVL, something like below (untested due to no sample data provided)?
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   (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,
                  a.g3e_geometry.sdo_ordinates) g3e_geometry
        FROM   las_pt a) a

Similar Messages

  • How to create BP from existing vendors optionally?

    Hi,
    how can I create RE business partners from existing vendors for some optional vendors only?
    Does the vendor synchronization (Cross-Application Components - Master Data Synchronization - Customer/Vendor Integration) mean that a BP is created for each vendor in the specific account group?
    I've tried to define the configuration settings but haven't found the solution for this yet. Please advise.
    - BP grouping assigned to number range
    - one FI account group is assigned to BP grouping
    - BP role (BP role category, BP view) defined
    - in Vendor role link, is the assignment of Role category "optional"?
    Thanks!

    Hi,
    thanks for your comment.  I need to check this option too. 
    However, in this case this does not seem like the best option regarding the workload of users. If they have already xxx vendors in FICO, it does not seem like a very efficient way to create those first also as BP, and then link these records.
    It would be much easier to only create the BP based on vendor data with FLBPC1, and save the double work.
    Based on SAP documentation, I've understood that FLBPC1 Create BP from vendor is meant for this purpose, so I would like to use this option.
    Please advise. Has anyone used FLBPC1 Create BP from vendor successfully?
    Thanks!

  • Can't create EJB from existing .java AND ejb-jar.xml entries

    I've noticed that I can create the source files for an EJB outside of JDeveloper, then I can do the "Create Entity Bean" thing, and specify the path to the source files, and it will use those source files, instead of forcing me to create them again.
    However, I've noticed that if I manually add the information to the "ejb-jar.xml" file, and then try to add the bean, it won't let me. I've found I have to delete the entry from the ejb-jar.xml file and let JDeveloper control the creation of the fields, even if I know exactly what needs to be set.

    If you are adding/modifying ejb-jar.xml outside JDeveloper and trying to see the changes.
    Save the ejb-jar.xml file which is being modified externally
    Select ejb-jar.xml in JDeveloper
    and do View | Refresh
    This will load in the changes (providing the source path has been set properly)
    raghu
    JDev Team

  • Can't Create Form From Existing PDF

    I received a PDF from a woman, it is a form that I can print out and snail mail. I decided to convert it to a PDF fillable form as it would be faster and cleaner to fill out...I can't. I am getting the following error and it's not just her PDF, I get this on any file I convert to PDF and tell to create a fillable form of. I didn't have this problem until I upgraded to CC  and installed the latest Acrobat version.
    Error:
    "Acrobat was unable to make this document accessible because of the following error:
    Bad PDF; error in processing fonts. <bad Type0 font> [1]
    Please note that some pages of this document may have been changed. Because of this failure, you are advised to not save these changes."
    I don't know what font she used nor the program, I don't have control of that short of asking her to change the font so Acrobat will play with it. One could assume she used the exact same file she made the previous year and just updated the year and date on it which, using my previous version of Acrobat would work fine at creating a fillable form.
    Enquiring minds want to know.
    Thanks

    If you are adding/modifying ejb-jar.xml outside JDeveloper and trying to see the changes.
    Save the ejb-jar.xml file which is being modified externally
    Select ejb-jar.xml in JDeveloper
    and do View | Refresh
    This will load in the changes (providing the source path has been set properly)
    raghu
    JDev Team

  • GETWA_NOT_ASSIGNED DUMP while creating quotation.from existing quotation.

    hi,
    when i am creating an quotation from the existing quotation using the COPY button in the crmd_order
    i get an runtime error (DUMP)
    "GETWA_NOT_ASSIGNED" C
    "SAPLSLVC" or "LSLVCF36"
    "DATA_TABLE_FILL"
    this is happenning in production server,  but in the development and quality and maintenance servers
    we are not facing this dump.
    can you please explain,  how to proceed in fixing this dump..
    ADV. thanks
    dhineshsm.

    Try SAP Notes 431889 and 1004771. See if they help.
    Edited by: Amar Nath on Aug 28, 2008 7:27 PM

  • Create PR00 from existing Sales area to new Sales Area

    Hi.
    I have an existing sales area S001 SA.
    I wanted to copy my condition type PR00 from S001 SA to a new DC S001 SB.
    Is there a tools to mass copy the condition records?
    can someone explain how VK14 helps in this case?
    Thanks

    Hi
    The ABAPer for making a copy of reports RV45* is if you need to copy a field in the second step no covered by the standard fields. What is the tables in the determination of PR00. Please, see in V/06 the sequence access and check the tables in V/07. And do the proper customizing if you have changed the customizing.
    See the reports availables.
    If you need to copy a different field (in tables A+++), then create your own ZRV15CC* using one of the former reports as a template.
    I hope this helps you
    Regards
    eduardo

  • Getting error message when i call newly created method from existing wcf service( System.ServiceModel.ActionNotSupportedException)

    I have existing wcf service which is working fine. I have created new operational method in the one of the servicecontract and I ref that dll into my client and calling that new operational method. when I call the new operational method, I am getting the
    following error message.  old operational method is working fine when I call that.
    Since my service is already there. all the binding information is present already in the config file of service and client. I didn't touch the config file since I just added new method into the servicecontract.
    I am using Tcp connection.
    Please help me regarding this.
    Error :
    {System.ServiceModel.ActionNotSupportedException: The message with Action 'http://tempuri.org/IAccountDetailService/Test' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract
    mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver.  Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport,
    None).
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at SATT.ServiceContract.IAccountDetailService.Test()
       at SATT.Web.ServiceAgent.AccountDetails.Test() in d:\Gowsiya\Project\SATT\Dev\Src\SATT\SATT.Web\ServiceAgent\AccountDetails.cs:line 31
       at SATT.Web.Controllers.AccountDetailsController.GetPipelineDetails(Int64 mstpid, String pageNumber, String pageSize, String orderColumn, String orderType, DateTime timePeriod) in d:\Gowsiya\Project\SATT\Dev\Src\SATT\SATT.Web\Controllers\AccountDetailsController.cs:line
    57
       at lambda_method(Closure , ControllerBase , Object[] )
       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()}

    Hi Gowsiya,
    Maybe the WCF forum would be better for this issue, you know that this forum is to discuss the VS IDE.
    WCF forum link:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • User Defined field in UDT - how to create select from existing data

    Hi
    I want to create User Defined Table for purpose of storing records of sales visits made to customers.
    I want to record detail for example: Date of Visit; Sales Employee; Activity number ref (which has attached PDF visit report); Related Opps)
    I am not sure exact detail as I have never created User Defined Table before so I am not sure how best to achieve my requirement.
    But I want one of the fields to be Business Partner code.
    My question is How should I set the BP field so that available options are existing Business Partner codes?
    I would like to set field so that if I enter for example:
    "CAQ"... and I click Tab key then SAP will bring list of BP Codes which begin with CAQ (eg. CAQU001; CAQF001 etc) for my selection.
    Is this possible?
    Regards,
    Karen

    hi.
    u can create a user defined table enter your values..by creating columns like..
    Customercode, customer name, vitst time, attachnment.
    but
    "CAQ"... and I click Tab key then SAP will bring list of BP Codes which begin with CAQ (eg. CAQU001; CAQF001 etc) for my selection.
    above one u can not do it..
    all the cutomer codes will come if u use coding........are u can filter as per ur requirement
    else
    if u say i  am not using the coding..
    u can get all the  business master codes... but u have to use fms  u have to put it..otherwise u can not do it...

  • Problem creating webservice from existing code in sjse8

    I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
    // Enter web service operations here. (Popup menu: Web Service->Add Operation)
    The class is empty.
    I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
    And as you can guess it generates a wsdl file with no webservice methods info.
    I have and am checking all forums and searching different sites but haven't fond anything yet.
    I appreciate any help resolving this issue.

    Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)

  • Is newfs needed when creating mirror from existing ufs partition

    I have the root drive of my sparc solaris 10 server mirrored with SVM. In the same machine I have another single partition disk that was mounted /dev/dsk/ct0d0s6 to /home1, and I wanted to mirror it to another disk. This happened without problem.
    While the resync was happening I realized that I did not do a newfs on the target mirror disk (/dev/dsk/c1t2d0s6 partition before doing the metattach. I did not have a problem with reboots or anything after the resync was done. Will the mirror create a UFS partition on the target disk? If the source /home1 disk failed, would I be able to mount the target disk as a regular /dev/dsk partition? Or if I wanted to metaoffline the target half of the /home1 mirror to do a backup, would it recognize it as be a UFS partition?
    I'm thinking I should metadetach the mirror, do a newfs on the target S6 partition and then metattach again.
    Any ideas would be appreciated.

    Your getting a little confused about the difference between a partition/slice and a filesystem.
    Partitioning is the act of breaking the disk up into "slices". You have been referring to c0t0d0s6 which is a slice.
    Partitioning is done with the format program.
    The filesystem is the data that goes onto the slice. This is what newfs does. It creates a filesystem on a slice. So all its doing is writing a particular pattern of data onto a chunk of disk.
    So mirroring filesystems doesnt require a newfs. Since the correct pattern of data already exists. You just need to copy it onto the new slice.
    But the mirroring doesnt do partitioning ie create the slice. You have to do that with format. But it does copy the filesystem.
    So assuming you created a new slice of the correct size.
    You should be able to mirror the existing slice to the new slice. Then mount the virtual device representing the mirror.
    You do have to always use the mirror through the virtual /dev/md device, not the raw slices.
    The raw slices making up the mirror are perfectly ordinary UFS partitions. So yes they will be recognised.
    But if you modify one directly instead of through the virtual device, you changes won't be mirrored to the other.
    But yes, if a disk fails. You can use the other slice directly if necessary. But normally you would just keep using the metadevice.
    And if you metaoffline a disk. You could then back it up.
    But backups are normally more conveniently done with fssnap. That way you don't have to split mirrors and join them again.

  • Create ringtones from existing songs

    I recently converted my library from a PC to a Mac. I burned the library to the Mac and am trying to create a ringtone from music already purchased. When I attempt to do so I am asked to buy the song but I already bought it!! Any suggestions would be greatly appreciated.

    If you have GarageBand see this link about creating Ringtones ...
    http://lifehacker.com/software/how-to/create-custom-iphone-ringtones-the-free-an d-apple-way-334073.php
    Good Luck.
    Buzz

  • Creating domains from existing tables.

    I need your help.
    Consider that a table is already created. I have to create domains. Initially my domains will be all the columns in that table. Is there a easy way to dump all these columns as domains? Or do I have to re-create them as domains?
    Thanks!

    I forgot to mention that the table I am interested in is another container.

  • How to create new genius playlists from existing music in library?

    I tried the genius button for creating lists from existing music in my library. The problem is that it continues to show the first list created no matter what song I highlight then hit the genius button. Genius works fine for creating lists I can purchase online, but not new ones from my own music.

    This is the iTunes for Mac forum.
    As you are running Windows you will probably get a better response from posting in the iTunes for Windows forum:
    http://discussions.apple.com/category.jspa?categoryID=150

  • How to create ringtone from my music?

    I've been able to download some of my short music clips and use the clips as ringtones.  However, for the longer pieces of music, I want to use just 30 second of it.  I've already imported the audio file into my BB's micro SD card. 
    The BB Media Manager Help Center provides the following instructions (below), but when I try to right-click on the file, I don't get the "Edit with Quick Sound Editor" function at all.  I've tried everything to get this function with no avail.  Please help!
    You can create ringtones from existing audio clips—such as your favorite song—with the Quick Sound Editor.
    To create a ringtone:
    In Media Manager, browse to the audio file from which you want to create a ring tone.
    Right-click the audio file and choose Edit with Quick Sound Editor.
    If necessary, display the Trim & Fade view by clicking Trim Fade.
    Move the play head to the beginning of the section you want to use as your ringtone, either by clicking Preview or by clicking the waveform.
    Click Set Start.
    Move the play head to the end of the section you want to use as your ringtone.
    Click Set End.
    Click Create Ringtone.
    Specify a file name and location for the new file, and click Save.
    To exit from Quick Sound Editor, click Close.
    The ringtone is added to the All Music > Ringtone Smart View.
    Solved!
    Go to Solution.

    Hi and welcome to the forums,
    Here are some alternatives in the thread:
    http://supportforums.blackberry.com/rim/board/mess​age?board.id=8300&thread.id=10501
    Please let me know if this helps!
    Thanks!
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Error while creating subsite from site template

    Hi,
    I am getting below error while creating subsite from existing site template .
    Sachin Bhosale

    There must be a duplicate Email field created in any list/library. The cause can be identified by renaming the site template to sitename.cab > extact the cab file > open the manifest file search for email and see where it is associated. Refer
    to the following blog post for more information
    http://sharepointserved.blogspot.com/2012/11/a-duplicate-name-was-found.html
    http://sharepoint.stackexchange.com/questions/11944/error-when-creating-a-site-from-custom-template-a-duplicate-field-name-name
    Cheers,

Maybe you are looking for

  • My phone is missing

    My phone is missing & the person who found it is asking 7k from me or he will change my phone's mother board. I decided to destroy it totally so nobody can use it. What should I do? Pls help me!

  • Consumer Proxy changes in Logical Port do not work

    Hi all, i have created a consumer proxy on ce 7.11 and i want to change the url of the endpoint on my production system. as i am using nwdi i can't change the url in the wsdl. when i change the endpoint url in the single service configuration, the ch

  • Automatic directory creation and renaming when importing pictures

    Hello, I was wondering if what I'm trying to do is possible with iPhoto or anything in Leopard. When I import pictures, I want to create folders and rename the pictures based on the date. For an example, when I import pictures taken on November 10th,

  • Autofill always choosing the same songs ? (Itunes 9)

    Hi, I'm the happy owner of a 2G iPod nano (first generation) that I was given a few weeks ago. I'm using it together with iTunes 9.0.1 on my mac, and I have a question about the autofill feature. Is it normal that autofill always chooses the same son

  • Sales employee / sales person

    Hi, I want to use the sales employee , and want report on the same. As there is a option that i can use sales employee without implementing HR. Since we Are not implementing HR. Plz guide me as how i will use this function, How to maintian master dat