GeoRasterException: -13463 .. even after creating DML trigger

Hi all
i am getting the following exception :
oracle.spatial.georaster.GeoRasterException: -13463;GeoRaster object with rasterId = 281, rdt = null not found in system data view.
Please create DML trigger for its table and column. Do:
sdo_geor_utl.createDMLTrigger('tableName','columnName')
at oracle.spatial.georaster.JGeoRaster.getRasterSubset_NoComp(JGeoRaster.java:1001)
at oracle.spatial.georaster.JGeoRaster.getRasterSubset(JGeoRaster.java:798)
at oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2510)
at oracle.spatial.georaster.JGeoRaster.getRasterImage(JGeoRaster.java:2038)
at spdb.SpatialQuery.getRaster(SpatialQuery.java:68)
at spdb.SpatialQuery.main(SpatialQuery.java:91)
I have created the DML trigger using
sdo_geor_utl.createDMLTrigger('IMGTABLE','RASTER');
but still i keep getting the same error
what am i doing wrong
THanks

AB,
about your application, please consider these:
If your original images are seamlessly mosaickable, it's better to mosaick them into one large image and then query. Note, the requirement from the oracle 10g sdo_geor.mosaic is very strict.
But I guess, in most apps, this is not practical. So, you have to query multiple images and do some work in your app. The approach could be:
1. Since your images are all georeferenced, call sdo_geor.generateSpatialExtent and populate the spatial extent for all images. Then build a spatial index (RTree) on the georaster table based on the spatial extents. Note, If the georaster objects have different model spaces, you need call sdo_cs.transform to convert the extents to the same SRID. You can also directly update the spatial extents using a right/appropriate geometry.
2. Spatially query the GeoRaster table using your area-of-interest geometry in a single sql stmt to filter out all the georaster objects which overlap or partially overlap your AOI.
3. call getRasterSubset on each georaster object of the above result set with a proper window.
4. the BLOBs returned by getrastersubset don't have any metadata inside them, but you can easily and precisely figure out their dimension sizes, cell depth, interleaving etc based on the metadata of the georaster objects as well as your query criteria (i.e., band numbers, window sizes and pyramid levels).
5. get all blobs into your app. then you can either directly work on them, such as mosaick them into one image for display, OR you can generate RenderedImages (very easy to do thru JAI) and directly display them into one image (ie, simply render the images in a window) or call JAI rotate/tranform/mosaic to create a single image.
The above approach has been done in many of our partner products, such as PCI FOCUS and Geomatica, Leica ERDAS Imagine and LPS.
In addition, Oracle Applicattion Server MapViewer has this capability as well, which you might consider to use.
Hope this helps.
Best Regards,
Jeffrey

Similar Messages

  • Error inserting data after creating a trigger (caused by commit)

    Hi,
    I have registered a schema so that XML files are stored in a table XMLREADINGS. I create an AFTER INSERT tigger on this table. The trigger is very basic (inserting the system date into a test table). I discovered that it works fine so long as there is no COMMIT statement in the trigger (an implicit commit is carried out). However if I have a COMMIT then creation of the trigger is fine, but when I try to drop new XML files into the repository (using WebDav) I get a file copy error.
    For this simple case the lack of an explicit COMMIT statement is okay, but I want to increase the logic of the trigger and I can imagine that there will be COMMIT and ROLLBACK statements required.
    Has anyone experienced this before ?
    regards
    Stephen

    I've just discovered that you aren't supposed to use commit or rollback in triggers anyway!
    A possible solution (found on this forum) is to declare the trigger as a autonomous transaction:
    If you are using Oracle 8i, you can use an autonomous transaction:
    CREATE OR REPLACE TRIGGER trg
    DECLARE
    Pragma Autonomous_Transaction
    BEGIN
    I'll give that a try

  • Firefox doesn't open with profile even after creating a profile through Profile Manager.

    I created a profile of Firefox yesterday using Profile Manager. And placed it in a virtual encrypted drive created by TrueCrypt. But Firefox didn't open with the profile. Instead it opened in default setting that Firefox usually gets when newly installed. I tried to select the profile through Profile Manager and open Firefox but to no avail. Even tried placing the profile in the Profile folder in Firefox pathway in AppData. Still same thing. At last reset Firefox and the profile was deleted. Now I'm with newly default setting. Luckily I had saved my bookmarks from Bookmark Manager.
    I just wanted to save a profile so that only I can only access my profile and any other person would just had to use default setting. Also to restore my settings in case I install a fresh Firefox or reset Firefox to solve a problem.
    Please help me fulfill my wants as stated above and why did it not work yesterday with the Profile Manager?

    Hello ams963, i think the problem is with TrueCrypt because it is not support your win 8 yet. see: http://www.truecrypt.org/
    http://www.truecrypt.org/docs/version-history
    see if can find a method in the next link, not too useful i think for your win 8 : [http://kb.mozillazine.org/Protect_the_profiles_contents Protecting the contents of the profile]
    thank you

  • Unable to access table even after creating Database link

    Hi
    I have created a data base link.It was created properly.
    The Syantax that I have used is follows:
    create database link X_link connect to User1 identified by User1 using 'Other_Database'
    And on running the query:
    select count(*) from table1@X_link
    I am getting the error as follows:
    TNS could not resolve the connect identifier specified... TNS: could not resolve the connect identifier specified.
    Please tell me where is the problem?
    Thanks in Advance

    Your database link does not work because the entry you used does not exist in the tnsnames.ora in the database $ORACLE_HOME.
    Login to the database server, set the environment, and try to tnsping the entry you used for the database link, then fix the tnsnames.ora file (probably in $ORACLE_HOME/network/admin)
    You can test a database link using :-
    select sysdate from dual@link;

  • Is it possible to create a trigger with a trigger?

    Hi,
    I'd like to create an AFTER CREATE system trigger that will create a BEFORE INSERT trigger on a certain table once it is created.
    Is this possible, or is there a better way? The problem I am having is that I'm getting an error when I put a trigger body inside a trigger body; the "/" is causing problems.

    You could create a prcoedure that is responsible for building the trigger body in a varchar2 and then issue an execute immediate on the string....and call it from your trigger.

  • Create a trigger file after successfully processing of a regular file?

    Hi,
    I have 10 differet proxy-tofile scenario interfaces going to one target system (10 different transcational data sets). For each interafce after creating the file (fixed file name file1.txt), PI has to create/append a file called "trigger file" which has different structure with fine name, file creation date/time etc. and kind of file (all or delta) which comes from proxy.
    So if file1.txt (all) has created, after that PI has to create "trigger file" with:
    file1.txt 20110106 all
    So if file2.txt (changes), another interface with different transaction, is created, we need to append "trigger file" with:
    file1.txt 20110106 all
    file2.txt 20110106 delta
    Can I do this scenario without BPM, in Integrated Configiration, we are in PI 7.1 EHP1.
    Regards,
    N@v!n

    Hi All,
    Let me try to put the question differently for the same scenario. I have completed dev with two message mappings, two operation mappings (one for regular file and one for tigger file). In ID, I am using the Integrated Configuration (with multiple receivers; here I created 2 communication components, one for regular file, another one for trigger file). This scenario works fine, creates regular file and trigger file. Only thing is it creates trigger file even regular file fails, we dont want to create a trigger file when the regular file creation fails..... since we have lof of scenario like this, we want to use integrated configuration only......I have tried to use one operation mapping (with multiple message mappings with in it), but looks like Integrated Configuration doesn't support this.
    So if I have one operation mapping with 2 message mappings in it, does operation mapping fail when one of the message mapping fails? At the end all we wanted to do create a file when ever the regular creats successfully. Pleae help me with the design. Let me know if you need more info.
    Thank You,
    N@v!n

  • Use of "DBA_OBJECTS" in "AFTER CREATE" Trigger

    Hi,
    We would like to store some extra information about our objects we have in the database. To do so we tought of the idea of creating a 'documenting' table containing an object_id that references to the object_id from the view dba_views.
    Now we want to automatically create a new record in our documenting table when a new object is created, in the first stage this should only contain the object_id
    To accomplish this we are using an 'AFTER CREATE' trigger, but when this trigger fires and the code searches for the new object_id in dba_objects, it does not return any records and generates an error. Likely because when the trigger is executed, the view is not yet updated?
    create or replace
    TRIGGER TRG_TEST
    AFTER CREATE ON SCOTT.SCHEMA
    DECLARE
    tmp VARCHAR2(50);
    BEGIN
    dbms_output.put_line(ora_dict_obj_name);
    select object_id
    into tmp
    from dba_objects
    where object_name = ora_dict_obj_name;
    dbms_output.put_line(tmp);
    END;
    Error report:
    ORA-04088: Fout bij uitvoering van trigger 'SCOTT.TRG_TEST'.
    ORA-01403: Geen gegevens gevonden.
    ORA-06512: in regel 6
    04088. 00000 - "error during execution of trigger '%s.%s'"
    *Cause:    A runtime error occurred during execution of a trigger.
    *Action:   Check the triggers which were involved in the operation.
    It's in dutch, so I'll have a go at translating:
    Error report:
    ORA-04088: Exception while executing trigger 'SCOTT.TRG_TEST'.
    ORA-01403: No data found
    ORA-06512: in rule 6
    04088. 00000 - "error during execution of trigger '%s.%s'"
    *Cause:    A runtime error occurred during execution of a trigger.
    *Action:   Check the triggers which were involved in the operation.
    Does anyone have an idea of how I can accomplish what I'm trying to do here.. Or maybe something I'm doing wrong?
    Thanks in advance!
    Davy

    What is "ora_dict_obj_name" defined as?
    Another option might be to setup a DBMS_SCHEDULER job to run the following insert
    firstly though, create the following table ;
    create document_table as (select * from dba_objects where rownum < 1)and then setup a DBMS_SCHEDULER job to run the following:
    begin
      insert into document_table
      (select dbo.*
       from   dba_objects    dbo
             ,document_Table dtb
       where  dbo.Object_ID = dtb.Object_ID(+)
       and    dtb.Object_ID is null);
       commit;
       exception
        when others then
          rollback;
          -- log a message somewhere with the error, i.e. SQLERRM
    end;
    /Note, I specified all columns, but you'll probably specify explicitly which column you require, in which case the CREATE table would change as well.
    Then you won't have a need for any trigger, and can better manage when you want your documentation to be updated.
    Another option might be to use COMMENT, which can be used on tables, views, materialized views, but won't cover all objects
    to the extent you might want.
    SQL> desc emp2
    Name                                                                                                  
    EMPNO                                                                                                 
    JOB                                                                                                   
    START_DATE                                                                                            
    SAL                                                                                                   
    DEPT                                                                                                  
    END_DATE                                                                                              
    SQL> comment on column emp2.sal is 'Existing Salary of employee as paid at most recent month end';

  • Create a trigger to check inserted date is before or after SYSDATE

    Hi,
    I am trying to create a trigger that will check an inserted date against SYSDATE and alter the value (i.e. make it SYSDATE) when the entered date is incorrect.
    For example, I have a Customer table with a record named MemberDate which, when a date is entered to it, will be checked by the trigger to ensure it is not before the current date.
    My code so far;
    CREATE OR REPLACE TRIGGER Customer
    BEFORE INSERT ON
    Customer
    FOR EACH ROW
    DECLARE
    e_invaliddate_ud EXCEPTION;
    BEGIN
    IF :NEW.MemberDate < SYSDATE THEN
    RAISE e_invaliddate_ud;
    END IF;
    EXCEPTION
    WHEN e_invaliddate_ud THEN
    DBMS_OUTPUT.PUT_LINE('The date entered for MemberDate is invalid. The
    MemberDate has been set to the current date');
    END;
    So far, this trigger only returns an error message but allows the date to be entered even if it is incorrect. I have tried a few ways of altering the entered date to SYSDATE but to no avail.
    I am running scripts using SQL PLUS and inserting data using
    INSERT INTO Customer
    VALUES(CustomerID, ..., MemberDate);
    Where the values entered will be checked to ensure the MemberDate is not before SYSDATE.
    The MemberDate data-type is DATE and has a rule that it must not be before the current date. I am aware that a constraint may not be used to perform a check using SYSDATE, this is why I am trying to make a trigger.
    However, my knowledge of triggers is limited
    If anyone can help, I will be very Happy.
    Thank you in advance.

    Use this if you want an error message that halts the execution:
    create or replace trigger customer
    before insert on customer
    for each row
    begin
      if :new.memberdate < sysdate
      then
        raise_application_error(-20000,'The date entered for MemberDate is invalid.');
      end if;
    end;Use this if you want to automatically to overwrite the MemberDate with sysdate without an error message:
    create or replace trigger customer
    before insert on customer
    for each row
    begin
      :new.memberdate := greatest(sysdate,:new.memberdate);
    end;Note: untested
    Regards,
    Rob.

  • Hi  When i create the downpayment process in the invoice i get amount as value but my requirement is in percentage even after i select the percentage basis milestone billing please help what can be done

    Hi  When i create the downpayment process in the invoice i get amount as value but my requirement is in percentage even after i select the percentage basis milestone billing please help what can be done

    downpayment percentage , so if i want 50 percent of order value to be paid  and when i go to faz type the invoice is created for 0 value that 50 percent of the amount is not getting calculated , where as when i enter in order same as 50 percent in amount it gets calculated in invoice, any help ?

  • Hello I'm trying to create Apple ID without success even after checking the bank information

    Hello I'm trying to create Apple ID without success even after checking the bankinformation

    If you choose US as your country while your bank details and credit card or PayPal account are from another country, then you will get an error not related to your details, such as 'the CVV number is incorrect', although it is correct.

  • Returns PO appearing in VL10B  transaction even after delivery is created with full PO qty

    Hi All,
    Returns PO is  appearing in VL10B  transaction even after delivery is created with full PO  qty /
    Regards
    ab

    Hi Ayub,
    Please go to the Return PO item details, and check the Delivery tab and make sure the delivery completed check box is selected. If not please select the check box and save the line items.
    If there are multiple line items, then do the same for all the line items.
    Then check in VL10B and confirm me.

  • Problem in after create  trigger

    hi all,
    i tried to track the creation of all objects in scott user. so from one dba user
    i wrote a After Create trigger for scott schema(schema level trigger) like this,
    create trigger create_log after create on scott.schema
    begin
    insert into create_log_t values(login_user,sysdate,dictionary_obj_type,dictionary_obj_name);
    end;
    trigger has been successfully created.After that i tried to create some objects in scott schema,but i could not. it gives me this error,
    SQL> create table dd(d number);
    create table dd(d number)
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00984: column not allowed here
    ORA-06512: at line 2
    can anyone help me to come out from this problem.
    thanks in advance!
    kathir

    What is LOGIN_USER? Did you mean USER?
    Cheers, APC

  • Can anyone help me, I am trying to create courses using Captivate for Udemy, but even after saving the courses as pdf files, Udemy will not reconize them. NOw I am back to square one because according to Udemy techs, they do not support Captivate files.

    Trying to create my courses using Adobe Captivate, but even after saving the files as a pdf it will not upload in Udemy. What can I do?

    Yep, you lose all interactivity when publishing to video.
    Udemy, Lynda.com, Total Training and other similar models are based on simple "watch the video to learn" type of consumption. The only real interactivity you get is an ability to pause, rewind, fast forward. Basically anything you can do with a video.
    Cheers... Rick

  • Create a trigger after delete

    Hi,
    I would a distributed database with two database. I have a orders tables on both the database. I would like to create a trigger for when deleting a record from one database would delete from the other database.
    CREATE OR REPLACE TRIGGER orders_after_delete
    AFTER DELETE ON orders
    BEGIN
    -- DELETE record into orders table in Database 1 (DB1)
    END;
    Thanks.

    Your trigger is (after) STATEMENT level trigger.
    What happens if you delete two (or more) rows using one DELETE statement:
    ORA-01427: single-row subquery returns more than one row.
    Use "WHERE o_id IN (SELECT...)"
    instead of "WHERE o_id = (SELECT...)".
    Another way is to use simple ROW level trigger:
    CREATE OR REPLACE TRIGGER orders_after_delete
      AFTER DELETE ON orders
      FOR EACH ROW
    BEGIN
      DELETE orders@DB1Link
       WHERE o_id = :OLD.o_id;
    END;
    /But, with row level trigger, one local DELETE statement launches more remote DELETE statements (one for each deleted row) .
    This can cause performance and/or integrity problems (if table has self-referential integrity constraint, for example).
    Regards,
    Zlatko

  • Getting Project Site Provisioning Pop-up even after Operational Policies set as Do not create a sites in project server 2013.

    In Project server 2013, users are getting Project Site Provisioning Pop-up even after Operational Policies set as Do
    not create a sites. 
    We can use “Deny” Global Permission, “Manage SharePoint Foundation”, which controls Project site creation/ delete
    as temporary workaround however want to know is this know defect in Project server 2013? 
    Any suggestion would be highly appreciated.
    Thank you

    Hi Raushan,
    I can reproduce the same behaviour in my environment. It pops-up the dialog box when Project Site Provisioning settings set to 'Do Not Create' in the Central admin for the Project Web App.
    As you mentioned already you can control it via permissions as an work-around.
    Alternatively, you can also ask users to select the check box 'Don't show this again for this project'
    Cheers, Badal

Maybe you are looking for

  • Is there an Enterprise solution to view pdf's without downloading?

    Hello, a client I'm working for has begun a move to digitising a lot of their correspondence, and requires workers at remote locations to access and view these documents. The simplest solution of having the workers access the document in a browser, a

  • Posting the MIRO Document with reference of PO

    Hello friends while user posting the MIRO Document with reference of PO , he is getting difference in balance Total amount is 31,237.00 Posting amount is 28,320.05 Balance amount is 2,916.95 this balance amount not getting post in MIRO Before that i

  • Trading Partner Agreement Not found error in EDI EDIFACT Scenario

    Hello all, I am getting the following error in the trace file in the EDI EDIFACT over Generic Exchange Scenario,i have verified the agreement effective to date,i also have checked the enq_orders.properties & enq_ordrsp.properties on both the servers

  • How to send a mail from SAP 3.1H Ver.

    Hi,   I am working on SAP 3.1H Version. I need to send mail from one of my ABAP program. Since SAP 3.1H version does not have Standard function modules which send mails from any ABAP program so how can I achive this task in this version of SAP. The O

  • Style in portal theme for SAPBEXstdItem

    Hi, Does anybody know which style in the portal has to be modified to change the header for colums or description of rows. I tried many components but none of them seems to affect it. In 3.5 this used to be SAPBEXstdItem! Thanks, Beat