Viewing raster data in mapviewer

I'm having some trouble with viewing raster data through oracle mapviewer.
The raster data is already in the database, I have not loaded it in with mapbuilder, and don't want to have to load it in again.
I've following the step suggested which were:
- georeference the data
-create the spatial extent
- created a row in the user_sdo_geom_metadata table
- created a spatial index on the spatial extent of the georaster table.
I have created a theme for it in mapbuilder, but get the error below when I try to preview it. Anyone any ideas?
java.sql.SQLException: ORA-22925: operation would exceed maximum size allowed for a LOB
value
ORA-06512: at "MDSYS.SDO_GEOR_INT", line 2764
ORA-06512: at "MDSYS.SDO_GEOR", line 805
ORA-06512: at "MDSYS.SDO_GEOR", line 2764
ORA-06512: at line 9
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.j
ava:944)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:
1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStat
ement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.ja
va:3482)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.ja
va:3839)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedState
mentWrapper.java:1085)
at oracle.spatial.georaster.JRaster.getRasterSubset(JRaster.java:635)
at oracle.spatial.georaster.image.GeoRasterImage.getRasterImage(GeoRasterImage.j
ava:605)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer
.java:1039)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
java.lang.NullPointerException
at oracle.spatial.georaster.JRaster.getRasterSubset(JRaster.java:718)
at oracle.spatial.georaster.image.GeoRasterImage.getRasterImage(GeoRasterImage.j
ava:605)
at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer
.java:1039)
at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)

Did you create pyramids for your GeoRaster? You may be exceeding some limits for the LOB, and you should create the pyramids. Returning a huge block image to display may not be appropriate and is not effective in terms of performance and memory use.
Joao

Similar Messages

  • Must I put the raster data in Oracle if I want to use them with MapViewer?

    I want to publish some raster data with MapViewer, must i put them in oracle, can I could put them in folder?

    you must store the images in oracle database. GeoRaster is recommended for the storage. Please post your MapViewer specific questions to the MapViewer forum:
    MapViewer

  • Importing raster data

    Hi
    I am having problems importing a 50MB TIFF file.
    Background:
    My table containing Georaster Object:
    SQL> desc mm_loch_image;
    Name Null? Type
    IMAGE_NAME VARCHAR2(24)
    GEOR SDO_GEORASTER
    I have initialised the Georaster object - insert into mm_loch_image values( 'loch_mm', mdsys.sdo_geor.init('rdt_1') );
    SQL> select * from mm_loch_image;
    IMAGE_NAME
    GEOR(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM
    loch_mm
    SDO_GEORASTER(NULL, NULL, 'RDT_1', 6, NULL)
    I have created the required trigger:
    SQL> select trigger_name from user_triggers where table_name = 'MM_LOCH_IMAGE';
    TRIGGER_NAME
    GRDMLTR_50895_2
    Yet I am having problems running the following:
    declare
    image MDSYS.SDO_GEORASTER;
    begin
    SELECT geor INTO image FROM mm_loch_image WHERE image_name = 'loch_mm' FOR UPDATE;
    MDSYS.sdo_geor.importFrom(image, '', 'TIFF', 'file', 'D:\PCI_EVAL\OSIM_TIFF.tiff');
    UPDATE mm_loch_image SET geor = image WHERE image_name = 'loch_mm';
    commit;
    end;
    declare
    ERROR at line 1:
    ORA-13464: error loading GeoRaster data: ORA-06550: line 2, column 14:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 2, column 2:
    PL/SQL: SQL Statement ignored
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_GEOR", line 2889
    ORA-06512: at line 11
    Any Ideas, as the table mm_loch_image does exist, or am I missing something else?
    Thanks

    did you create the raster data table using a command similar to the following:
    CREATE TABLE rdt_1 OF SDO_RASTER
    (PRIMARY KEY (rasterID, pyramidLevel, bandBlockNumber,
    rowBlockNumber, columnBlockNumber))
    TABLESPACE geor_tbs NOLOGGING
    LOB(rasterBlock) STORE AS rdt_1_rbseg
    (TABLESPACE geor_tbs_2
    CHUNK 8192
    CACHE READS
    NOLOGGING
    PCTVERSION 0
    STORAGE (PCTINCREASE 0)
    If not, then that may be your problem

  • How to view SDO data graphically?

    I have a functioning spatial database, but now I want to view the data to make sure it looks like what I think it should be. I do not want to use any middleware like ArcSDE etc. Is there any alternatives besides MapViewer? If not, is there any easy step by step instructions to get it working somewhere on the web?
    Thanks in advance-M.

    Because Geometry is a local company who
    I use a lot for external Oracle Spatial application
    development. A number of us have been wanting a
    good tool from a while to allow us to view and test
    Oracle Spatial shapes and queries. Geometry had built
    their own viewer until I found out JUMP and sent them
    the links. Before Christmas they had built a beta of
    a viewer plugin for JUMP. However, when they release
    it is entirely up to them.
    Contact Andrew Betlehem at Geometry: [email protected] (though he is on r/l for the
    next three weeks).
    BTW They have lots of experience with Oracle Spatial
    and have built some good tools (their
    Spatial Loader Advanced and Spatial Extractor are
    excellent) and software (eg WMS, WFS, 3D web servers over Oracle Spatial) for OS.
    S.

  • How to load the big raster data in georaster?

    Hi anyone,
    I have 1024G raster data ,I just ask how can I load the data, let it's performance so that it will not be affected by the large data?

    you can choose one of many third-party ETL tools for GeoRaster to load the data. They all support TIFF, multi-band and big sizes. for example:
    you can use commercial products Safe FME Oracle Edition, PCI GeoRaster ETL Tools, ERDAS enterprise loader, Manifold Enterprise edition, etc. (for a complete list, visit http://www.oracle.com/technology/products/spatial/spatial_partners_isv.htm http://www.oracle.com/technology/products/spatial/htdocs/spatial_partners_downloads.html)
    there are also free products or open source supporting GeoRaster. PCI provides a FREE loader and viewer for GeoRaster (http://www.pcigeomatics.com/index.php?option=com_content&view=article&id=77&Itemid=4#GeoRaster). GDAL is fully integrated with GeoRaster. It can load and export tens of raster data formats for GeoRaster. (http://www.gdal.org/frmt_georaster.html http://www.geosofti.com/ http://www.oracle.com/technology/products/spatial/htdocs/spatial_opensource.html)
    Due to the large volume of the raster data set you have, please always consider concurrent loading and avoid loading from remote network (copy data to the server and then load).
    hope this helps,
    jeffrey

  • Adding a watermark  to raster maps before  MapView displays users requests

    Dear everyone
    Is it possible to create a transparent watermark overlay that Oracle can then place on top of any raster maps just before they are served via MapViewer to web browsers.
    I have some large raster maps which users will be able pan and zoom in and out of. It would be extremely helpful if every time they recentre or zoom the map, the same copyright image was displayed over the map image. I know this can be done as text but I would prefer to have a transparent image displayed across the whole screen so that a user cannot copy parts of the image so easily. I also do not want non transparent text obscuring any of the raster data.
    I can do this on the original data but that is time consuming and means I would have to keep copies of both the modified and unmodified data.
    I am working in Oracle 10.2 using PL/SQL and the PL/SQL API, which replicates the Java API, in order to sent scripts to MapViewer.
    Kind regards
    Tim

    Hi
    This is an old question but I since found the answer so thought I would post it. The answer is in the MapViewer manual.
    In 10.1.2 it is located from page 1-23 (it's in section 1.5.5.). It's known as adding your own logo as opposed to watermark.
    The code required is added to the MapViewer configuration file and therefore as such I believe, would apply to every map request, regardless of user. It also means it wouldn't have been of use in my case because I do not have the correct permission to edit this file and nor should I, given many other people besides myself use MapViewer.
    Regards
    Tim

  • Raster data

    how to view the raster data from Arcsde to oracle spatial .please give suitable example

    As Ivan advised, you might want to post this question to the ESRI support and forums.
    As far as I know, GeoRaster is not supported in ArcSDE 9.1. However, GeoRaster has been supported by ESRI since ArcGIS 9.2.
    With ArcGIS 9.1 or old versions, you might want to use Oracle's WMS to serve GeoRaster data to ArcGIS clients. There is an example posted here:
    How to Mosaic 167,958 georasters?
    regards,
    jeffrey

  • Visualizing map data with mapviewer

    Hello. I have successfully deployed mapviewer using oc4j standalone. What I want to do now is to visualize maps based on data from tables I have in my database. I have successfully added a datasource using the admin tools on the http://localhost:8888/mapviewer/ site as I am getting the following response:
    <?xml version="1.0" ?>
    - <non_map_response>
    <add_data_source succeed="true" />
    </non_map_response>
    How can I visualize this data in a map format? Is mapviewer simply a middle tier application or is there some way I can view the data like in an applet?

    This also relates to your subsequent post on visualizing data with the Map Definition Tool.
    As Justin suggested, use the 9.0.4 preview version if you're getting started with MapViewer. And use the demo JSPs to do some basic visualization.
    Assuming your database version is 9.2.x.x do the following (if the database version is 8i or 9.0.1.x then you need to install some views. See section 1.4.2.3 in the doc for the steps and where to locate the sql scripts):
    1. Install the demo data (in mvdemo.dmp), and
    2. Use the demo JSPs mapinit.jsp or mapclient.jsp to view the demo data as a map.
    The doc (section 1.6) explains how to do this.
    Now for the map def tool.
    That is only for setting up symbology, styling rules, and specifying which themes make up a map. It does not render the maps.
    To simply view your spatial data without any fancy styling and symbology (e.g. to test that Mapviewer works and your data is valid) use the jview demo jsp.
    Hope this helps. If it does not, complain.

  • Getting an error while viewing a data in owb

    Hi,
    I created an External table based on a flat file. But I am not able to view the data in the external table while the flat file has the data.
    I am using this external table as a source in my mapping but no data is getting loaded even after the successful execution of the mapping.I am getting the following error while viewing the data
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04040: file ATLAS in ATLAS_LOCATION1 not found
    Please help me regarding this. I am new to the owb 11g.

    Thanks for you reply. Still I can't view the data. Actually what i did is imported a .csv file using files then created a external table configured , validated and deployed.In next step created a mapping with this excel this using table operator validated and genrated code. In next step using the control center manager i deployed it. But i can't view the data still in the external table.
    Is this procedure is correct for loading the excel sheet in to databse. My client environment is on windows xp and database is on linux environment.
    Please help me regarding this.I am new to owb.

  • Can't view my data on my table in EM

    Can anyone tell me why I am getting the error below after executing my control file and also why I can't view that data which was loaded.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 12 16:28:57 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: workattribute2.ctl
    Data File: workattribute.dat
    Bad File: workattribute.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table WORKATTRIBUTE, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    RESUMEID FIRST * CHARACTER
    Terminator string : 'x'09''
    WORKID NEXT * CHARACTER
    Terminator string : 'x'09''
    ID NEXT * CHARACTER
    Terminator string : 'x'09''
    TYPE NEXT * CHARACTER
    Terminator string : 'x'09''
    Record 1: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 2: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 3: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 4: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 5: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 6: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 7: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 8: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 9: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 10: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 11: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 12: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 13: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 14: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 15: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 16: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 17: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 18: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 19: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 20: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 21: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 22: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 23: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 24: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 25: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 26: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 27: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 28: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 29: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 30: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 31: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 32: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 33: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 34: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 35: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 36: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 37: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 38: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 39: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 40: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 41: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 42: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 43: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 44: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 45: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 46: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 47: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 48: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 49: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 50: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    Record 51: Rejected - Error on table WORKATTRIBUTE, column RESUMEID.
    Field in data file exceeds maximum length
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table WORKATTRIBUTE:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 66048 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 51
    Total logical records rejected: 51
    Total logical records discarded: 0
    Run began on Thu Jul 12 16:28:57 2007
    Run ended on Thu Jul 12 16:29:05 2007
    Elapsed time was: 00:00:08.09
    CPU time was: 00:00:00.12
    thank you in advance

    Hi User572297,
    This is the wrong forum for a SQL Loader Q, not a bad thing, you just won't get as many responses.
    That said, it seems either your terminator string is not present, incorrect or you are simply trying to load to many characters into a column that is too small. For ex: trying to load 50 characters into a Varchar2(40). You get this error for every row, hence you can not see any of the data, becuase none of the rows loaded. See below:
    0 Rows successfully loaded.
    51 Rows not loaded due to data errors.
    What would help is to know the datatype and size of the RESUMEID column AND to see the first lines of your workattribute.dat file.

  • Can't view changed data in journal data

    Hi,
    I have implemented JKM Oracle 10g Consistent Logminer on Oracle 10g with the following option.
    - Asynchronous_mode : yes
    - Auto_configuration : yes
    1. Change Data Capture -> Add to CDC, 2.Subscriber->subscribe (sunopsis),
    3. Start Journal
    The journal has been started correctly wothout errors. The journalized table has always the symbol "green clock". All is gook working.
    And then i inserted 1 record in source table, but i can't view changed data in journal data. I can't understand why journal data was generated.
    There are no errors.
    Help me !!!

    Did your designer was on the good context ?
    Look the list box at the top right of the Designer interface.
    You must have the same as the one where you define your journalization.

  • I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    I was told of an application that will allow the use of a second screen to view my data and files, but I forgot its name. I'd like to make the connection because my LCD is broken.

    You don't need an application, just plug a compaitble monitor into the display port of your MacBook Pro, set the screen up in System Preferences>Displays

  • When attempting to view the date track history for one employee, errors out

    Hi All
    When I attempt to view the date track history for one employee, it gives errors.
    To get the details, the navigation is :
    1. Search for employee xxxxxx
    2. click on Assignment button
    3. click on Date Track History.
    4. Receive error APP-DT-52554.
    5. Click OK on error message
    6. click on Full History button.
    7. Receive error APP-PAY-06153
    What could be the problem and how to solve this?
    Regards
    Rahman

    Sounds as if there is an inconsistency with the date tracked records. Can you check the records through TOAD or SQL Plus?
    Have alook at MetaLInk article 343070.1 which refers to the second error message.
    Regards
    Tim

  • Not able to view XML data

    Hello All,
    I want to generate xml data file from sql query.So i created a new report and new data model whose type is SQL query and following is the query
    select p.name as name,s.size_desc as sizes,sum(f.quantity) as quantity
    from s_article_poc14073 p,s_size_poc14073 s,s_factsize_poc14073 f
    where p.id = f.prod_id and s.size_id = f.size_id and p.id > 4
    group by p.name,s.size_desc
    order by 1
    I have not given any Layout and when i view the data ,i get only the folowing
    <?xml version="1.0" encoding="UTF-8" ?>
    <ROWSET />
    Therez no error with the sql query ,any help on this please
    Thanks in advance
    Sulakshana

    Hi,
    Yes my query returns rows when i run directly from the backend.
    I have not defined any layout,because i just want the data to be generated as a xml file.
    Thanks
    Sulakshana

  • Unable to  view the data in infoobject

    Hi all,
    I am loading the data to info-obj this is the first time i am working on BI 7. everything is successfull. i had created the transformation and dtp successfully n in monitor screen its showing that the data has been loaded sucessfully. the thing is i didnt maintain a infosource as i am loading the data from the only one DS to one info obj. i am able to view the data in the psa but when i try to view the data in the infoobject its not der.
    plz help me out
    Thank & Regards
    KK

    Since you are using BI 7 for the first time., I hope you have executed the DTP after executing the infopackage.
    In BW 3.5 we can load date from data source to Infoobject via PSA in one shot.
    But In BI 7, we have to execute the infopackage first . This loads data from Datasource to PSA. Then you need to execute the DTP. Just double click on the DTP. You can see the execute in the third tab. When you execute the DTP, data will be further loaded from PSA to Infoobject.

Maybe you are looking for