Georaster mapviewer help

Hi, everyone,
I have installed a Oracle Database in my computer and I am trying to load a tiff image in the sdo_georaster.
I want to see this loaded image, so I installed the mapviewer, but I am with a lot of doubts.
1. is it possible? (see the image through the mapviewer)
2. is there some documentation about it? I download the Oracle® Spatial
GeoRaster documentation but I still have lots of douts.
3 - I can't acess the demos avalaible after mapviewer is installed (georaster.jsp, mapclient.jsp)
4 - are ther another way to see the image? (Geomedia?)
thaks for any help
Olga

Hi Olga,
yes, it is possible to display the tiff image in MapViewer. There are different ways to do that in MapViewer: using Image themes in which you can store the original image in a BLOB column, or using GeoRaster themes in which a SDO_GEORASTER object is created. The GeoRaster theme option is recommended, and
you can create a GeoRaster object using Oracle MapBuilder or some script that imports your tiiff image into a GeoRaster object. Besides the Oracle GeoRaster documentation, I suggest you to take a look at Oracle MapViewer Users Guide for additional information about GeoRaster themes. Also you can run the standalone Oracle MapBuilder application and see its help information.
About the demo data, you need to have the demo data installed and MapViewer running. Assuming you have downloaded the demo kit, first install the demo data, and then run the standalone OC4J to start MapViewer. Then you should have access to MapViewer's web page, where you can add data sources and can access the demo pages.
Joao

Similar Messages

  • SOS! Please help me about GeoRaster Mapviewer problem!!

    Hi!
    I am very miserable. I want to see GeoRaster Data with MapViewer 10. I have finished all guides but No result. The following details:
    - I load image into Georaster successfully and estable extentspatial, metadata,etc.. as Mapviewer guide for Georaster theme at location 2.3.6.
    - After that, I copy jai_core.jar and jai_codec.jar into ../web/Web-Inf/lib.
    - Then repair MapviewerConfig.xml to respone to my Database.
    - Then at window of Mapviewer, I paste my Map request following:
    xml_request=<?xml version="1.0" standalone="yes" ?>
    <map_request
    title=""
    datasource="ThoaGlobName"
    width="288"
    height="192"
    format="GIF_URL" >
    <themes>
    <theme name="geor_theme" >
    <jdbc_georaster_query
    jdbc_srid="82216"
    datasource="ThoaGlobName"
    georaster_table="ThoaImage"
    georaster_column="Image"
    raster_id="1"
    raster_table="ThoaImageRDT"
    asis="false">
    </jdbc_georaster_query>
    </theme>
    </themes>
    </map_request>
    Then click Submit button.
    I see MapViewer give errors following:
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[oms] error parsing given xml map request. Fri Sep 29 22:56:18 PDT 2006 Severity: 0 Description: oracle.xml.parser.v2.XMLParseException: Start of root element expected. at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:205) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:305) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:253) at oracle.lbs.mapserver.oms.parse(oms.java:606) at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:864) at oracle.lbs.mapserver.oms.doPost(oms.java:303) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Unknown Source)</oms_error>
    PLEASE HELP ME! I do not know where I wrong. It is time for me to post my final test. I am very worried! I am regard high your help.Thank you so much!

    If you take a look in this category of different forums, you will find one that discusses e.g. GeoRaster.

  • Using MapViewer to view a georaster: blue display

    Hi,
    I uploaded a tiff file into a georaster table. I followed all the steps to georeference the raster, generate the spatial extent, create the pyramids, etc.
    Then I executed the steps to make my raster ready for viewing:
    - Insert a row into the USER_SDO_GEOM_METADATA
    - Create a spatial index on the spatial extent of the GeoRaster table
    Once I use 'MapViewer' all I see is a blue screen. I'm using the 'georaster.jsp' that come up with 'MapViewer' installation to view my raster. Any ideas of what could be wrong ?
    Any help is appreciated
    Jeff

    Joao,
    The log file under "c:\mypath\MapViewer\mvqs10_1_2_0_2\oc4j\j2ee\home\applications\mapviewer\web\WEB-INF\log\mapviewer.log' is indedd empty.
    1)
    To georeference the tiff, I used a .tfw file, set the SRID and generate the spatial extent:
    DECLARE
    geo SDO_GEORASTER;
    BEGIN
    SELECT GEORASTER INTO geo FROM Raster1 WHERE ID=1 FOR UPDATE;
    SDO_GEOR.IMPORTFROM(geo,'blocksize=(512,512)','TIFF','file','/export/home/oracle/large.TIFF',
    'WORLDFILE','file','/export/home/oracle/large.tfw');
    UPDATE Raster1 SET GEORASTER = geo WHERE ID=1;
    COMMIT;
    END;
    DECLARE
    geo sdo_georaster;
    BEGIN
    SELECT georaster INTO geo FROM Raster1 WHERE id=1 FOR UPDATE;
    sdo_geor.setModelSRID(geo, 32611);
    UPDATE Raster1 SET georaster = geo WHERE id=1;
    END;
    UPDATE Raster1 c
    SET c.georaster.spatialExtent = sdo_geor.generateSpatialExtent(georaster)
    WHERE c.id = 1;
    COMMIT;
    2) Here is the result of the metadata query:
    GEORASTER.METADATA
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>20001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>1</defaultGreen>
    <defaultBlue>1</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>2</totalDimensions>
    <dimensionSize type="ROW">
    <size>14241</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>16201</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>28</totalRowBlocks>
    <totalColumnBlocks>32</totalColumnBlocks>
    <rowBlockSize>512</rowBlockSize>
    <columnBlockSize>512</columnBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>5</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>32611</SRID>
    <spatialResolution dimensionType="X">
    <resolution>15.0</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>15.0</resolution>
    </spatialResolution>
    <modelCoordinateLocation>CENTER</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0.0" columnOff="0.0" xOff="0.0" yOff="0.0" zOff="0.
    0" rowScale="1.0" columnScale="1.0" xScale="1.0" yScale="1.0" zScale="1.0">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>251920.0 0.0 -0.06666666666666667</polynomialCoe
    fficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1.0</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>-34120.0 0.06666666666666667 0.0</polynomialCoef
    ficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1.0</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    </layerInfo>
    </georasterMetadata>

  • Problem with rendering GeoRaster in MapViewer...

    Hi,
    I am using the MapBuilder (10.1.3.1), and I import a georaster for an Oracle Spatial 10g Database. I created a GeoRaster Theme and a Base Map including GeoRaster Theme created. In preview mode of Map Builder, the GeoRaster is displayed correctly. In MapViewer (Ver 10131_B061023) this GeoRaster does not appear... A cyan rectangle appears, apparently with the size of GeoRaster...
    I have copied the Java Advanced Imaging (JAI) library files (jai_core.jar and jai_codec.jar) to the OracleAS MapViewer library path (\mapviewer\web\WEB-INF\lib), and restart mapviewer...
    Does anyone have any idea of what may be happening wrong?
    Thanks

    There may be a problem with the map request sent to MapViewer. Please post the map request and the log information (you can get from the log file - set the log level to "finest").

  • Best practice GeoRaster and MapViewer?

    Hi,
    I want to see rasterfiles with using Oracle GeoRaster and MapViewer. I've bineary rasterfiles and aerial photographs(24 BIT).
    Until now I put the data with following parameters into the database:
    -     Oracle_inverleaving_type: BSQ
    -     Oracle_raster_tile_size_x und -y: 2048
    -     Oracle_compression: DEFLATE
    -     Oracle_pyramid_max: null
    -     Oracle_raster_pyramid_resampling: NN for bineary data and CUBIC for aerial photograph
    The bineary rasterfiles could have about 15000x15000 pixels and the aerial photographs about 4000x4000 pixels.
    For the MapViewer configuration of a GeoRaster-Theme I use pyramid-level NULL for aerial photographs and 1 for bineary pictures.
    The MapViewer BaseMaps has a tilesize of 256x256 pixels and as format png.
    Has anybody experience to get the best performance and best quality to show rasterfiles?
    Regards,
    Sebastian

    Hi Jeffrey,
    further I have the problem that the MapViewer (Ver1033p5_B081010) doesn't render maptiles for all zoom-levels with my posted settings. Before the MapViewer P5 exists an I use this version, I rendered the maptiles witch MapViewer of version P3.
    With the latest version of mapviewer it is only possible to rendere maptiles up to zoom-level 3 and then (level zwo, one or zero) it doesn't render this tiles. The mapviewer shows the following error:
    WARNUNG: Failed to fetch tile image.
    Message:Failed to fetch tile image.
    Mon Feb 17 19:39:19 CET 2009
    Severity: 0
    Description:
    at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:209)
    at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:357)
    at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:338)
    at oracle.lbs.mapcache.cache.MapCache.getTile(MapCache.java:217)
    at oracle.lbs.mapcache.MapCacheServer.getMapImageStream(MapCacheServer.java:161)
    at oracle.lbs.mapcache.MCSServlet.doPost(MCSServlet.java:254)
    at oracle.lbs.mapcache.MCSServlet.doGet(MCSServlet.java:209)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    17.02.2009 19:39:19 oracle.lbs.mapcache.cache.Tile getOffLineTileImagePath
    FEINER: Waiting for blank tile.
    17.02.2009 19:39:20 oracle.lbs.mapcache.MCSServlet doPost
    SCHWERWIEGEND: LUT has improper length!
    Do you know why the MapViewer shows this message?
    When I used the MapViewer P3 I didn't have any problems with generating maptiles.
    Regards,
    Sebastian

  • Georaster NODATA in Mapviewer

    Hi,
    I have a table with few georasters inside and I try to display them on a map in mapviewer.
    Everything works fine except one detail: the georasters have some NODATA value. And this NODATA is shown in black on the map (actually it overlaps some data from the other images).
    The NODATA attibute is correctly set in my georaster xml.
    Does somebody knows a way to avoid displaying the NODATA?
    I had a look at the mapviewer documentation and the only work around I found is to define a georaster theme for each individual image and set a polygon_mask in each theme. But it's not convenient at all!
    Thanks in advance...
    Ganael

    Hi Ganael,
    you may try to create a colormap for your GeoRaster and assign the alpha value to 0 (which means transparency) for the black pixel. A GeoRaster may have a colormap on the metadata such as:
         <layerID>subLayer1</layerID>
         <colorMap>
           <colors>
             <cell value="0" blue="0" red="0" green="0" alpha="255"/>
             <cell value="1" blue="255" red="255" green="255" alpha="255"/>
             <cell value="2" blue="164" red="0" green="151" alpha="255"/>
        ...Lets say, that the cell value="0" corresponds to your NODATA (black), then you need to make the alpha value = "0". On the GeoRaster documentation you may find some examples of how to set and to get colormap values.
    Joao

  • Georaster metadata in Mapviewer

    I've loaded a grayscale tif into Georaster and can view in Mapviewer (10.1.2). I'm manipulating the Georaster appearance by updating its metadata through SDO_GEOR.setGrayScale. I can see the change when viewed in the standalone GeorasterViewer, but Mapviewer doesn't reflect the change. Does Mapviewer read all of the Georaster metadata?
    In case it hasn't been pointed out, I'll also mention that the Georaster documentation has a
    typo in the example code for SDO_GEOR.setGrayScale: sdo_grayscale should be sdo_geor_grayscale.
    Cheers,
    David Lapp
    Farallon Geographics, Inc.

    number of bands = 1
    pixel values range = 0-255
    map request =
    "<?xml version=\"1.0\" standalone=\"yes\" ?>\n"+
    "<map_request \n"+
    " width=\"600\" height=\"400\"\n"+
    " basemap=\"" + baseMap + "\"\n"+
    " datasource=\"" + dataSource + "\"\n"+
    " bgcolor=\"#CCFFFF\"\n"+
    " format=\"GIF_URL\" >\n"+
    " <center size=\"" + size + "\">\n"+
    " <geoFeature>\n"+
    " <geometricProperty typeName=\"center\">\n"+
    " <Point>\n"+
    " <coordinates>\n"+
    " " + cx + ", " + cy + "\n"+
    " </coordinates>\n"+
    " </Point>\n"+
    " </geometricProperty>\n"+
    " </geoFeature>\n"+
    " </center>\n"+
    " <themes>\n"+
    " <theme name=\"themeG200\">\n"+
    " <jdbc_query spatial_column=\"geometry\"\n"+
    " jdbc_srid=\"40977\"\n"+
    " render_style=\"L.BLACK OUTLINE\"\n"+
    " jdbc_host=\"localhost\"\n"+
    " jdbc_sid=\"oradbl10\"\n"+
    " jdbc_port=\"1521\"\n"+
    " jdbc_user=\"mvdemo\"\n"+
    " jdbc_password=\"pwd\"\n"+
    " jdbc_mode=\"thin\"\n"+
    " > select geometry from smc_ortho \n"+
    " </jdbc_query>\n"+
    " </theme>\n"+
    " <theme name=\"themeSt\">\n"+
    " <jdbc_query spatial_column=\"geometry\"\n"+
    " jdbc_srid=\"40977\"\n"+
    " render_style=\"L.YELLOW\"\n"+
    " jdbc_host=\"localhost\"\n"+
    " jdbc_sid=\"oradbl10\"\n"+
    " jdbc_port=\"1521\"\n"+
    " jdbc_user=\"mvdemo\"\n"+
    " jdbc_password=\"pwd\"\n"+
    " jdbc_mode=\"thin\"\n"+
    " > select geometry from SMC_ST \n"+
    " </jdbc_query>\n"+
    " </theme>\n"+
    " <theme name=\"themeGeoraster\">\n"+
    " <jdbc_georaster_query\n"+
    " georaster_table=\"smc_georaster\"\n"+
    " georaster_column=\"georaster\"\n"+
    " raster_bands=\"0,1,2\"\n"+
    " jdbc_srid=\"40977\"\n"+
    " datasource=\"mvdemo\"\n"+
    " asis=\"false\"> select georaster from smc_georaster where georaster_id=1\n"+
    " </jdbc_georaster_query>\n"+
    " </theme>\n"+
    " </themes>\n"+
    "</map_request>\n";

  • MapViewer Dynamic Theme help

    I am using MapViewer 10g to create a JSP map, using JSP Tags as in the TagMap example. All works well, however, in building the page in question, beside creating and printing the map, I also use a within_distance query to print out a list of values. Now, on the map, I would like to be able to draw or add a dynamic theme which would be a semi-transparent raster circle, with a varying radius (dependent on the within_distance size) at the center of the map (X,Y). Any help would be greatly appreciated.

    there is a bug in the addJDBCTheme tag where the asis attribute is ignored; normally if you set asis="true" then it should work (no spatial filter will be applied to your dynamic theme since it has no spatial index anyway). But somehow the asis attribute is ignored by the taglib.
    The work around is to use the client api itself, as show below:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ordim/mvtaglib.tld" prefix="mapviewer"%>
    <P>Testing a point</P>
    <P>
    <mapviewer:init datasource="mvdemo"
    url="http://localhost:8888/mapviewer/omserver"
    id="mvhandle" />
    <mapviewer:importBaseMap name="demo_map" />
    <%
    mvhandle.addJDBCTheme("mvdemo", "centerPoint",
    "SELECT mdsys.sdo_geometry(2001, null, mdsys.sdo_point_type(-83, 39, null), null, null) geom FROM dual",
    "geom", null, "M.CIRCLE", null, null, true); %>
    <mapviewer:setParam centerX="-83" centerY="39" size="2" />
    <mapviewer:run />
    showing the map: <p>
    <img src = "<mapviewer:getMapURL />" align=left />
    </P>

  • Mapviewer and georaster...

    Using MapViewer_10(georaster.jsp), I am trying to display a georaster map...
    1. PL/SQL
    create table GEORASTER_TABLE
    (georid number primary key,
    type varchar2(32),
    GEORASTER sdo_georaster);
    call sdo_geor_utl.createDMLTrigger('GEORASTER_TABLE', 'GEORASTER');
    create table RDT_GEOR of sdo_raster
    (primary key (rasterid, pyramidLevel, bandBlockNumber,
    rowBlockNumber, columnBlockNumber))
    lob(rasterblock) store as (nocache nologging);
    commit;
    declare
    geor SDO_GEORASTER;
    begin
    delete from georaster_table where georid = 1;
    insert into georaster_table
    values( 1, 'TIFF', sdo_geor.init('RDT_GEOR', 1) );
    select georaster into geor
    from georaster_table where georid = 1 for update;
    sdo_geor.importFrom(geor, '', 'TIFF', 'file',
    '/u00/SFTP_USER_DIR/img1.tif');
    update georaster_table set georaster = geor where georid = 1;
    commit;
    end;
    declare
    gr1 sdo_georaster;
    begin
    select GEORASTER into gr1
    from GEORASTER_TABLE where georid = 1;
    sdo_geor.changeFormat(gr1, 'blocksize=(256,256,3) interleaving=BIP');
    update GEORASTER_TABLE set GEORASTER = gr1 where georid = 1;
    commit;
    end;
    declare
    gr sdo_georaster;
    begin
    select georaster into gr
    from GEORASTER_TABLE where georid = 1 for update;
    sdo_geor.generatePyramid(gr, 'resampling=NN');
    update GEORASTER_TABLE set georaster = gr where georid = 1;
    commit;
    end;
    DECLARE
    gr sdo_georaster;
    BEGIN
    SELECT georaster INTO gr FROM GEORASTER_TABLE WHERE georid = 1 FOR UPDATE;
    sdo_geor.georeference(gr, 262148, 1,
    sdo_number_array(1,0,1),
    sdo_number_array(0,-1,1));
    UPDATE GEORASTER_TABLE SET georaster = gr WHERE georid = 1;
    COMMIT;
    END;
    /DECLARE
    sptext sdo_geometry;
    BEGIN
    SELECT sdo_geor.generateSpatialExtent(a.georaster) INTO sptext
    FROM GEORASTER_TABLE a WHERE a.georid=1 FOR UPDATE;
    UPDATE GEORASTER_TABLE a SET a.georaster.spatialextent = sptext WHERE
    a.georid=1;
    COMMIT;
    END;
    commit;
    INSERT INTO user_sdo_themes VALUES (
    'GEORASTER_TABLE',
    'GeoTiff image',
    'GEORASTER_TABLE',
    'GEORASTER',
    '<?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="georaster" raster_table="RDT_GEOR"
    raster_id="1" raster_bands="0,1,2">
    </styling_rules>' );
    commit;
    select v.georid, sdo_geor.validateGeoraster(v.georaster) isvalid from georaster_table v
    -- TRUE --
    select v.georid, sdo_geor.schemavalidate(v.georaster) isvalid from georaster_table v
    -- TRUE --
    2. MapViewer
    Data Sourse: mvdemo
    SRID: 262148
    X center: 0
    Y center: 0
    Map Size: 10
    Request Mode: rasterid
    GeoRaster Table: GEORASTER_TABLE
    GeoRaster Column: GEORASTER
    Raster ID: 1
    Raster Table: RDT_GEOR
    Pyramid Level:
    Bands: 0,1,2
    Query Condition:
    3. Click Submit and see the blue square..........
    What i'm doing wrong?

    Hi Maxim,
    some comments:
    1) To use the georaster.jsp page you don't need to create the predefined theme.
    2) You should register the GeoRaster spatial extent on the metadata view, and also create a spatial index. Something like (the dimension element values are just sample, you should use values that refer to your data):
    INSERT INTO USER_SDO_GEOM_METADATA VALUES
    ( 'georaster_table',
      'georaster.spatialextent',
      SDO_DIM_ARRAY(
        SDO_DIM_ELEMENT('X', 496602.844, 695562.844, 0.000005),
        SDO_DIM_ELEMENT('Y',8788409.499,8973749.499, 0.000005)
      262148 -- SRID
    CREATE INDEX geor_idx ON georaster_table(georaster.spatialextent)
      INDEXTYPE IS MDSYS.SPATIAL_INDEX;3) I think you should review your georeference parameters. I'm seeing resolution equal 1 and the top corner as 1,1. Look the Tiff parameters (resolution and coordinates) and use them.

  • How to open a GeoRaster Theme on Mapviewer?

    Hello,
    I would like to open a Georaster theme on DEMO map. I'm using MVDEMO datasource, so all settings are set to default values.
    In MapBuilder, "Themes > GeoRaster Themes > WORLD_RASTER" is defined as demo data and I can preview it too.
    The XML is like below,
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="georaster" raster_id="1" raster_table="RDT_WORLD_RASTER">
    </styling_rules>
    I have tried to open this Raster Theme like standart Geometry theme and also as JDBC theme , but it didnt work.
    So, I need your assistance to open GeoRaster theme on the map.
    Thanks,
    MK

    Hi,
    Thanks for your help but I do not want to create a basemap, isnt it possible to make a theme with GeoRaster data?
    I want to show the GeoRaster theme on my basemap as theme.
    Thanks,
    MK

  • Need Help about Spatial Data Load - Mapviewer

    Hello everybody,
    I need an immediate help about spatial data load. I installed Oracle mapviwer quick start and try to work on it. However, I could not pass the load step. My questions are;
    1- Where can I find and download my country's data set (spatial data)
    2- With mapviwer, how can I load spatial data to my tables on database (Oracle). Those tables have sdo_geometry columns and I want to query location data, but could not load
    Regards,
    Dilek

    For Mapviewer questions, please post in the following forum:
    MapViewer
    Thanks

  • Please Help; MAPVIEWER-05501 Map tile layer not found error

    Hi, I am just a newbie to oracle mapviewer; I installed mv 11.x. on Xe 11g with mvdemo dataset as mentioned in demo setup instructions.
    It seems everything went fine including mvdemo data import and oc4j instance.
    Only thing if i am missing is when I goto create "Create a map tile layer" in "Manage MapViewer" of "Admin" page; I can find datasource but do not find anything in "base map" combo. Thus i can't create Any Map tile.
    Now, when I click on a demo example I get following error:
    *[MVglobalvariables.getmap.cacheconfig]mapviewer-05501:maptile layer not found.check map tile layer name and/or data source name(mvdemo.demo_map)*
    When i check the user_sdo_cached_maps view return "no rows selected ".
    I have tried many restarts, re-import of mvdemo data but nothing worked.
    please help me.
    Regards

    Thanks Anyway I have found the solution, indeed I was missing the metadata script using @mvdemo.SQL.
    I Followed the instructions on the sites given below:
    http://gerardnico.com/wiki/spatial/mapviewer/mapviewer_demo_installation
    http://www.dbuggr.com/smallwei/step-step-instruction-install-oracle-mapviewer-10g-10-1-3-1/

  • Mapviewer / GeoRaster / WMS tie?

    I am unable to determine from the white papers if it is possible to server up a GeoRaster image via WMS through the Mapviewer?
    Thank you.
    Peter

    Hi Peter,
    if you have not looked yet, at the end of MapViewer's documentation there is a section on WMS.You can use the GeoRaster as a WMS theme. The following is a map request example with a GeoRaster WMS theme.
    <?xml version="1.0" standalone="yes"?>
    <map_request
      title="tilsmq311: WMS GeoRaster Theme"
      datasource="mvdemo"
      srid="0"
      width="500"
      height="375"
      bgcolor="#a6caf0"
      antialiase="true"
      mapfilename="wmsgeoraster"
      format="PNG_URL">
      <center size="185340.0">
        <geoFeature>
          <geometricProperty typeName="center">
            <Point>
              <coordinates>596082.0,8881079.0</coordinates>
            </Point>
          </geometricProperty>
        </geoFeature>
      </center>
      <themes>
        <theme name="WMS_GEORASTER" user_clickable="false"  >
            <wms_getmap_request isBackgroundTheme="true">
               <service_url> http://localhost:7777/mapviewer/wms </service_url>
               <layers> GEORASTERTHEME </layers>
               <srs> SDO:82279 </srs>
               <format> image/png </format>
               <bgcolor> 0xa6caf0 </bgcolor>
               <transparent> true </transparent>
               <vendor_specific_parameters>
                 <vsp>
                    <name> datasource </name>
                    <value> mvdemo </value>
                 </vsp>
               </vendor_specific_parameters>
            </wms_getmap_request>
        </theme>
      </themes>
    </map_request>You can use Mapviewer's Java API to add a WMS theme to you request.
    Joao

  • [Help] Cannot create datasource in Mapviewer

    Hello. When I deploy MapViewer in OC4J standalone and log as oc4jadmin, i cannot create datasource for it. I edited mapViewerConfig.xml like this:
    <map_data_source name="kuba"
    jdbc_host="localhost"
    jdbc_sid="orcl"
    jdbc_port="1521"
    jdbc_user="kuba"
    jdbc_password="!BazaOracle1"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="true"
    />
    After saving and restarting MapViewer, in datasource table there's no items. Any idea, what's wrong? Here's the log:
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig destroy
    FINER: destroying MapperConfig: connection manager, mapper pool and janitor t
    ad.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
    WARNING: destroying ALL mapmaker instances.
    2010-12-02 12:05:19 oracle.lbs.mapserver.oms destroyMV
    WARNING: Oracle MapViewer shut down.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig readVersion
    INFO: MapViewer server version: Ver11_B091229
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: using default config file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\ho
    applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
    WARNING: dcsf:true
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.Dimmer startElement
    FINEST: found a datasource: kuba
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig scrambleConfigFile
    INFO: Passwords in the config file has been encrypted.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    FINER: Loading configuration file: D:\app\Kubix\product\11.2.0\dbhome_1\j2ee\
    e\applications\Map Viewer\web\WEB-INF\conf\mapViewerConfig.xml
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperPool destroyAll
    WARNING: destroying ALL mapmaker instances.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig checkSecuritySetti
    WARNING: dcsf:true
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
    INFO: Setting logging options for MapViewer
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
    INFO: setting logging level to finest
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    FINEST:
    Allowed IPs:
    Excluded IPs:
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerNSDataProv
    rs
    FINEST: Non-Spatial Data Provider registered: defaultNSDP
    2010-12-02 12:05:19 oracle.sdovis.SDataProviderMgr registerProvider
    WARNING: Spatial Provider shapefileSDP is already registered.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig registerSDataProvi
    s
    FINEST: Spatial Data Provider registered: shapefileSDP
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    FINEST: Data source kuba will get web user name from: J2EE_USER
    2010-12-02 12:05:19 oracle.sdovis.ds.NativeOracleDataSource <init>
    SEVERE: Connection Cache with this Cache Name already exists
    java.sql.SQLException: Connection Cache with this Cache Name already exists
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :138)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :175)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.j
    :240)
    at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleCo
    ctionCacheManager.java:188)
    at oracle.jdbc.pool.OracleDataSource.cacheInitialize(OracleDataSource
    va:301)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :284)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :179)
    at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.j
    :159)
    at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSou
    .java:233)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.
    a:797)
    at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperC
    ig.java:1572)
    at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig
    va:609)
    at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:36
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
    at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
    at java.lang.Thread.run(Thread.java:662)
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig createMappers
    SEVERE: Error creating NativeOracleDataSource.
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfi
    WARNING: MAPVIEWER-00011: Error creating a map data source.(kuba)
    2010-12-02 12:05:19 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    2010-12-02 12:05:19 oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    2010-12-02 12:05:20 oracle.lbs.mapcache.MapCacheServer restart
    INFO: Map cache server is restarted!
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recycle thread interrupted.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recyle thread terminated.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recycle thread interrupted.
    2010-12-02 12:05:20 oracle.lbs.foi.FOIImageRecycleThread run
    FINE: FOI image recyle thread terminated.
    10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:20 CET 2010
    Severity: 0
    Description:
    10/12/02 12:05:20 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:20 CET 2010
    Severity: 0
    Description:
    10/12/02 12:05:21 Message:MAPVIEWER-00019: Specified data source does not exist.
    Thu Dec 02 12:05:21 CET 2010
    Severity: 0
    Description:

    Does restarting oc4j make any difference?

  • Plz help to deploy mapviewer on glass fish server

    hey all
    wll am in need of assistance for the below following configaration/deployment of mapviewer on (Oracle GlassFish Server 3.1.2.2 (build 5)).
    waht is the default userid and the password for the mapviewer i download this from otn and deployed on the above glass fish server.
    admin page is open through :4848/console and 8080/mapviewer
    plz advice.

    It's in the password.txt file and welcome1.txt
    change the passwords using resetPassword
    User is admin

Maybe you are looking for

  • Dadenie virtual machine based on Linux 5.7

    Linux Operating System is installed on a virtual machine that is deployed on VSphere 4.0. On the virtual machine deployed database Oracle 11.2.0.1. The other day there was the fall of the virtual machine with the database. First, the process was kill

  • Report layout in the run time

    i have bilingual system i want to change the layout of report from right to left or opposite as my language for example : if my language = English layout = left to right if my language=Arabic layout = right to left during the run time thanks in advan

  • HELP! Newbie: Unable to update fields

    Hello. I am teacher of a Java course and I am teaching Kodo JDO to my students. But I am unable to update my persistent fields to the DB. I have a persistent class Employee with two fields: name and wage. I have the following code: PersistenceManager

  • Connecting 2nd Ipod to Itunes

    I have purchased an Ipod mini for my other half and already have Itunes on my windows based PC linked up to my Ipod. Does anyone have any ideas on how I can link the new Ipod mini to my Itunes without losing the link to my Ipod? Any help gratefully r

  • Another User Modified Table Error.

    Dear All,         My Client is using SAP B1 2007 B PL 11, When he is updating the Freight Amount in the Freight Window at that time he is getting the Error of Another User Modified Table Error.        Plz guide me solving this issues.   Regards Hites