Unclear display in mapviewer

Can someone help me with this:
I imported a tiff file as a blob in the georaster table, and can show it with mapviewer. But the image is in fact 12000 x 7500 pixels. Map is 8000 x 5000 m. While in mapviewer it can only be shown in maximum 933 x 583
In that case I tell mapviewer to show me the map on differnet sizes, with a width=933 and a height=583.
Size 500 gives me a very precise and clear image.
But when I ask for example size 1500 or higher, so I zoom out, the lines are interrupted more and more, and the labels on the map are harder or impossible to read.
What is the cause of this problem?
I tried the different possibilities of resampling attributes in the generate_pyramid parameters, and that didn't seem to resolve the problem.
Is it possible that I MUST do the sdo_geor.change_format?
Until now I left the change_format away, because I couldn't give the bands in the blocksize attribute.
Without the bands, I have a color image, while if I use bands, I get a grayscale image.
Did anyone have the same problem when importing TIF files as BLOBs in a georaster table, and showing them in Mapviewer?
PS: I use Oracle 10g.

Hi Catherine,
you don't need to use the sdo_geor.change_format for MapViewer. You use this procedure in case you want to change your current GeoRaster data format.
What is important for MapViewer, is to have your GeoRaster georeferenced and also have the spatial extent for the georaster column updated and indexed.
It is also recommended that you build pyramid levels. In the case where you don't specify the pyramid level on your request, MapViewer will choose the best level based on your query window and device window. With pyramid levels, you will have different levels of representation for your GeoRaster, varying from a more detailed to a less detailed representation.
So when you zoom out (increase the map size), MapViewer may get a less detailed representation of your map, unless you specify on your map request the pyramid level that you want. If you built pyramid levels for your GeoRaster, and assuming that the image has lines and labels, the lines and labels on your lower level representations may not be well defined.
Joao

Similar Messages

  • Image displayed with MapViewer , need to control

    Hi we have a Image ( a Map of Network) displayed on the browser with the help of MapViewer .
    Now we have a requirement of controlling it .(Means upon left click and Right click of Mouse we need our functionality to get executed) .
    How can this be done ??
    Please help .
    Edited by: Jai7881 on Jun 12, 2009 11:43 AM

    Hi
    you can use mapviewer's oraclemaps.js to add this functionality.
    there are some examlpes you can find at http://yourmapviewerhost:port/mapviewer/fsmc/tutorial/demos.html
    also, try accessing API doc for mapviewer http://yourmapviewerhost:port/mapviewer/fsmc/apidoc/index.html
    Michael

  • Scale bar not displaying on MapViewer

    ScaleBarDef myScaleBar = new ScaleBarDef();
    myScaleBar.setPosition("NORTH_WEST");
    myScaleBar.setMode("METRIC_MODE"); // display in both Metric and US units
    //now we enable the scale bar
    mv.setScaleBar(myScaleBar);

    call the method getMapRequestString() content :-
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=" "
    datasource="mvdemo"
    width="982"
    height="465"
    bgcolor="#ffffff"
    transparent="true"
    antialiase="true"
    format="PNG_URL">
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" position="NORTH_EAST">
    <column>
    <entry text="Map Legend" is_title="true" />
    <entry style="gvis_#000000_#660000128" text="FREE AREA" />
    <entry style="gvis_#000000_#FF0000128" text="CURRENT APPLICATION" />
    <entry style="gvis_#000000_#CCE6FF128" text="EXISTING LEASES" />
    <entry style="gvis_#000000_#FFFF33128" text="PRIOR APPLICATIONS" />
    <entry style="gvis_#660000_#00FF00128" text="FOREST AREA" />
    <entry style="gvis_#660000_#660066128" text="RESERVED AREA" />
    <entry />
    </column>
    </legend>
    <themes>
    <theme name="theme1" label_always_on="true">
    <jdbc_query
    label_column="L_A_NO"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#000000_#FF0000128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT lag.mine,laav.L_A_NO L_A_NO FROM LEASE_APPL_GEOMS lag,LEASE_APPL_ANNOT_V laav WHERE lag.application_id = 434 and lag.ver = 'R0' and laav.LEASE_ID = lag.APPLICATION_ID and laav.TYPE = 'A'
    </jdbc_query>
    </theme>
    <theme name="theme2">
    <jdbc_query
    label_column="L_A_NO"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#000000_#CCE6FF128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT g.mine_auto,laav.L_A_NO L_A_NO FROM lease_basic_info bi, lease_extra_info c,LEASE_APPL_ANNOT_V laav, (SELECT b.lease_id,b.GEOM_ID, sdo_geom.sdo_area (sdo_geom.sdo_intersection (a.mine, b.mine_auto, .0005 ), .005 ) overlap_sqm, b.mine_auto mine_auto FROM lease_appl_geoms a, lease_geoms b,lease_basic_info lbi WHERE a.application_id = '434' AND a.ver = 'R0' AND b.lease_id = lbi.lease_id AND lbi.status NOT IN (393, 394, 475) AND sdo_relate (b.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' AND sdo_geom.sdo_intersection (a.mine, b.mine_auto, .0005) IS NOT NULL AND sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,b.mine_auto,.0005),.05) %26gt; 0 AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('L',b.lease_id,'No')) a) Union All SELECT b.lease_id,b.GEOM_ID, sdo_geom.sdo_area (sdo_geom.sdo_intersection (a.mine, b.mine_auto, .005 ), .005 ) overlap_sqm, b.mine_auto mine_auto FROM lease_appl_geoms a, CLOSING_ERROR_REMOVE_LEASE b,lease_basic_info lbi WHERE a.application_id = '434' AND a.ver = 'R0' AND b.lease_id = lbi.lease_id AND lbi.status NOT IN (393, 394, 475) AND sdo_relate (b.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' AND sdo_geom.sdo_intersection (a.mine, b.mine_auto, .05) IS NOT NULL AND sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,b.mine_auto,.05),.05) %26gt; 0 AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('L',b.lease_id,'Yes')) a) ) g WHERE bi.lease_id = g.lease_id AND bi.lease_id = c.lease_id AND overlap_sqm IS NOT NULL AND laav.LEASE_ID = bi.LEASE_ID AND laav.TYPE = 'L' AND laav.geom_id = g.geom_id
    </jdbc_query>
    </theme>
    <theme name="theme3">
    <jdbc_query
    label_column="L_A_NO"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#000000_#FFFF33128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT g.mine_auto,laav.L_A_NO L_A_NO FROM lease_application bi, LEASE_APPL_ANNOT_V laav, (SELECT b.application_id, sdo_geom.sdo_area (sdo_geom.sdo_intersection (a.mine, b.mine, .005), .005 ) overlap_sqm, b.mine mine_auto FROM lease_appl_geoms a, lease_appl_geoms b WHERE a.application_id = '434' AND b.application_id != '434' AND a.ver = 'R0' AND sdo_relate (b.mine, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('A',b.application_id,'No')) a) ) g WHERE bi.application_id = g.application_id and bi.status in (436,438) and bi.transfer_flag NOT IN ('Y') AND bi.application_date %26lt;= (SELECT application_date FROM lease_application WHERE application_id = '434') AND overlap_sqm IS NOT NULL AND overlap_sqm %26gt; 0 AND laav.LEASE_ID = bi.APPLICATION_ID AND laav.TYPE = 'A'
    </jdbc_query>
    </theme>
    <theme name="theme4" label_always_on="true">
    <jdbc_query
    label_column="Free_Area"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#000000_#660000128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT 'Free Area (Block-' || ROWNUM || ')' free_area, (sdo_util.EXTRACT (c.diff, ROWNUM)) FROM (SELECT sdo_geom.sdo_difference ( app.mine , (SELECT sdo_aggr_union (sdoaggrtype (ovlap.overlap, .05) ) overlap_tot FROM (SELECT b.lease_id, sdo_geom.sdo_intersection (a.mine, b.mine_auto, .05 ) overlap FROM lease_appl_geoms a, lease_geoms b,lease_basic_info lbi WHERE a.application_id = '434' AND a.ver = 'R0' AND b.lease_id = lbi.lease_id AND lbi.status NOT IN (393, 394, 475) AND sdo_relate (b.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' AND sdo_geom.sdo_intersection (a.mine, b.mine_auto, .0005 ) IS NOT NULL and sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,b.mine_auto,.0005),.05) %26gt;0 AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('L',b.lease_id,'No')) a) Union all SELECT b.lease_id, sdo_geom.sdo_intersection (a.mine, b.mine_auto, .05 ) overlap FROM lease_appl_geoms a, CLOSING_ERROR_REMOVE_LEASE b,lease_basic_info lbi WHERE a.application_id = '434' AND a.ver = 'R0' AND b.lease_id = lbi.lease_id AND lbi.status NOT IN (393, 394, 475) AND sdo_relate (b.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' AND sdo_geom.sdo_intersection (a.mine, b.mine_auto, .0005 ) IS NOT NULL and sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,b.mine_auto,.0005),.05) %26gt;0 AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('L',b.lease_id,'Yes')) a) UNION ALL SELECT b.application_id, sdo_geom.sdo_intersection (a.mine, b.mine, .05 ) overlap FROM lease_appl_geoms a, lease_appl_geoms b, lease_application la WHERE a.application_id = '434' AND b.application_id != a.application_id AND b.application_id = la.application_id AND a.ver = 'R0' AND sdo_relate (b.mine, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' and la.status in (436,438) and la.transfer_flag NOT IN ('Y') and sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,b.mine,.05),.05) %26gt;0 AND la.application_date %26lt;= (SELECT application_date FROM lease_application WHERE application_id = a.application_id) AND b.GEOM_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('A',b.application_id,'No')) a) UNION ALL SELECT a.application_id, sdo_geom.sdo_intersection (a.mine, rag.mine_auto, .005 ) overlap FROM lease_appl_geoms a, reserved_area_geoms rag, reserved_area ra WHERE a.application_id = '434' AND a.ver = 'R0' AND rag.ra_id = ra.ra_id AND ra.status = 588 AND sdo_relate (rag.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' and sdo_geom.sdo_area(sdo_geom.sdo_intersection (a.mine,rag.mine_auto,.05),.05) %26gt;0 and rag.AREA_GEOMS_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('R',ra.ra_id,'No')) a) UNION ALL SELECT a.application_id, sdo_geom.sdo_intersection (a.mine, f.forest, .005 ) overlap FROM lease_appl_geoms a, forest f WHERE a.application_id = '434' AND a.ver = 'R0' AND sdo_relate (f.forest, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' ) ovlap), .05 ) diff FROM lease_appl_geoms app WHERE application_id = '434' AND app.ver = 'R0' )c , dba_tables WHERE ROWNUM %26lt;= sdo_util.getnumelem (c.diff)
    </jdbc_query>
    </theme>
    <theme name="theme5" label_always_on="true">
    <jdbc_query
    label_column="Forest"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#660000_#00FF00128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT sdo_geom.sdo_intersection (appl.mine,aggr.aggr,.05), 'Forest' Forest FROM (SELECT sdo_aggr_union (sdoaggrtype (c.mine, .05)) aggr FROM ( SELECT f.forest mine FROM lease_appl_geoms a, forest f WHERE a.application_id = '434' AND a.ver = 'R0' AND sdo_relate (f.forest, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE') c) aggr, lease_appl_geoms appl WHERE appl.application_id = '434' AND appl.ver = 'R0'
    </jdbc_query>
    </theme>
    <theme name="theme6" label_always_on="true">
    <jdbc_query
    label_column="Reserved_Area"
    spatial_column="null"
    label_style="_gvis_style_text_"
    render_style="gvis_#660000_#660066128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">SELECT sdo_geom.sdo_intersection (appl.mine,aggr.aggr,.05), nvl(aggr.area_name,'Reserved Area') Reserved_Area FROM (SELECT sdo_aggr_union (sdoaggrtype (c.mine, .05)) aggr,c.area_name area_name FROM ( SELECT rag.mine_auto mine,ra.area_name FROM lease_appl_geoms a, reserved_area_geoms rag, reserved_area ra WHERE a.application_id = '434' AND a.ver = 'R0' AND rag.ra_id = ra.ra_id AND ra.status = 588 AND sdo_relate (rag.mine_auto, a.mine, 'mask=inside%2bOVERLAPBDYINTERSECT%2bEQUAL%2bANYINTERACT' ) = 'TRUE' and rag.AREA_GEOMS_ID in (SELECT a.* FROM TABLE (getlease_appl_geomid_1 ('R',ra.ra_id,'No')) a) ) c group by c.area_name ) aggr, lease_appl_geoms appl WHERE appl.application_id = '434' AND appl.ver = 'R0'
    </jdbc_query>
    </theme>
    <theme name="theme7">
    <jdbc_query
    label_column="ID"
    spatial_column="null"
    label_style="_gvis_style_free_area_text_"
    render_style="gvis_#000000_#660000128"
    jdbc_srid="0"
    datasource="mvdemo"
    asis="true">select POINT_GEOM, ID from FREE_AREA_ML_PL_VERTEX_V where application_id = '434'
    </jdbc_query>
    </theme>
    </themes>
    <styles>
    <style name="gvis_#660000_#660066128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#660000;stroke-opacity:128;fill:#660066;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="gvis_#000000_#CCE6FF128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#000000;stroke-opacity:128;fill:#CCE6FF;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="_gvis_style_free_area_text_">
    <svg width="1in" height="1in" >
    <g class="text" float-width="1.0" style="font-style:PLAIN; font-family:Serif; font-size:12; font-weight:PLAIN; fill:#000000">
    </g>
    </svg>
    </style>
    <style name="gvis_#000000_#FF0000128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#000000;stroke-opacity:128;fill:#FF0000;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="gvis_#660000_#00FF00128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#660000;stroke-opacity:128;fill:#00FF00;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="gvis_#000000_#660000128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#000000;stroke-opacity:128;fill:#660000;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="gvis_#000000_#FFFF33128">
    <svg width="1in" height="1in" >
    <g class="color" style="stroke:#000000;stroke-opacity:128;fill:#FFFF33;fill-opacity:128" >
    <rect width="50" height="50"/>
    </g>
    </svg>
    </style>
    <style name="_gvis_style_text_">
    <svg width="1in" height="1in" >
    <g class="text" float-width="1.0" style="font-style:PLAIN; font-family:Serif; font-size:12; font-weight:PLAIN; fill:#0000ff">
    </g>
    </svg>
    </style>
    </styles>
    </map_request>

  • Checkboxes: How do you use them to select geometries for display, MapViewer

    Dear all
    I am working in Oracle 10.2 and using PL/SQL. I am trying to create a procedure that generates a list of spatial layers, based on those currently contained in the database, which uses checkboxes, so that users can select which layers to display.
    Once the user has made his choices and the results are submitted, the chosen layers are displayed through MapViewer. Currently the procedure, which is still being developed, is as follows:
    PROCEDURE MAPLIST AS
    CURSOR curmaplist IS
      SELECT spatial_map_name
             spatial_map_id
             geom
       FROM spatial_map_table;
      varmaplist curmaplist%ROWTYPE;
       varchecked VARCHAR2(32767);
    BEGIN
    FOR varmaplist in curmaplist LOOP
      htp.print('<FORM>
                  <UL>
                   <LI>
                    <LABEL FOR="SM_ID||
                                curmaplist.spatial_map_id||">
                     <INPUT type="checkbox"
                            id="SM_ID||
                                curmaplist.spatial_map_id||"
                            name="SM_ID||
                                  curmaplist.spatial_map_id||"
                            value="MAP TITLE: ||
                                   curmaplist.spatial_map_name" />
                    </LABEL>
                   </LI>
                  </UL>
                 </FORM>'
      EXIT WHEN curmaplist%NOTFOUND;
       END LOOP;
    END;I am not sure how to incorporate the checked element and then make use of it. Regarding subsequent use, I wondered if an IF statement could be used.
    IF VARCHECKED = 'CHECKED' THEN...after this MapViewer XML is added, with the select statement making use of the cursor. For example:
    select curmaplist.geom
    from geg50160.spatial_map_tableFor the checked part itself, I have found the following Oracle code in Chapter 11 of Oracle Database Application Developer’s Guide - Fundamentals 10.2.
    CREATE OR REPLACE PROCEDURE handle_checkboxes ( checkboxes owa_util.ident_arr )
    AS
    BEGIN
    FOR i IN 1..checkboxes.count
    LOOP
    htp.print('<p>Checkbox value: ' || checkboxes(i));
    END LOOP;
    END;
    /However I am not certain how I would incorporate that into my code. I take it i refers to the checkbox value. I've read that .ident_arr is an array which can hold multiple values but if so I am also not sure why checkboxes are counted.
    Kind regards
    Tim

    Hi GKaiseril,
    Thanks for your reply.  That's what I'm attempting to do, but I'm largely trying to "borrow" on-line JavaScript (see below) & modify for my PDF Form, w/ rudimentary knowledge gained while surfing the web.  The Form has 30 checkboxes that I want to limit users to a max. of 4.
    So any add'l scripting tips would be most appreciated.
    Thanks!
    var NewCount = 0
    getField("Check_Box1").value === "Yes"
    {NewCount = NewCount + 1}
    getField("Check_Box2").value === "Yes"
    {NewCount = NewCount + 1}
    getField("Check_Box3").value === "Yes"
    {NewCount = NewCount + 1}
    getField("Check_Box4").value === "Yes"
    {NewCount = NewCount + 1}
    getField("Check_Box5").value === "Yes"
      {NewCount = NewCount + 1}
    if (NewCount == 4)
    app.alert(“Pick Just Four Please”); return false;

  • How to display 4Gb ECW file in mapviewer?

    Hi,
    I have a 4Gb ECW format file which i want to display in mapviewer. I do not know how to start, i read the chapter 'Creating and Registering a Custom Image Renderer' from the Oracle Application Server MapViewer User's Guide but in my understanding it gives two problems for my situation:
    - the example has ecw files in the database, i have a 4Gb file which probably will not be very wise to put in a blob column?
    - we run on linux and ECW SDK which is used by the example only runs on Sun and Windows?
    So basically, what options do i have to render a 4Gb ECW format arial foto with Oracle Mapviewer?
    Kind Regards,
    Andre Jochems

    Hi Andre,
    to render images with a specific format (GIF, JPEG, ...) in MapViewer you need to store the images using a BLOB column. The example with the ECW is just to show how to implement a custom rendering for a specific image format. This post has some additonal implementations for the ECW case:
    Re: Mapviewer ECWRenderer Help!!
    About the SDK, you will need to investigate if there is any available for linux.
    Joao

  • Mapviewer 12c Generates Error When Displaying a Pre-Defined Vector Layer

    I have a predefined vector layer which I want to display using Mapviewer 12c. However, when I try to display the vector layer, I get an Java Null Pointer error. If I run the exact same code using a Mapviewer 11g (v11.1.1.7.3) environment, the map displays correctly with no errors.
    Is anyone experiencing similar problems with Mapviewer 12c?
    My environment consists of the following:
    1) Server OS: Linux x86_64 (RedHat Enterprise 5.11)
    2) Oracle Weblogic Server 12c
    3) I Manually Deployed an Exploded MapViewer EAR Folder in WebLogic Server
    http://[host]:[port]/mapviewer/omserver?getv=t
    Accessing this URL immediately resulted in the expected response text string:
    Ver12.1.3_B140430.1010
    4) I can successfully access the Weblogic Admin Console (http://[host]:[port]/console) and confirm the Weblogic is running, and that Mapviewer has been successfully deployed and running as well. I can also access the Mapviewer Admin Console (http://[host]:[port]/mapviewer)
    5) Mapviewer 12c has been configured to use the latest Java 7 JDK (i.e. Java 7 Update 75).
    The error I receive when attempting to display the predefined vector layer is:
    [2015-02-17T11:52:40.294-05:00] [AdminServer] [WARNING] [] [oracle.mapviewer.ws] [host: icdevapp004.info-control.com]
                [nwaddr: 192.168.157.210] [tid: 34] [userId: ] [ecid: 6f92f10c-b237-4f4d-b683-3d7ae3f903f3-0000001c,0] [APP: mapviewer] java.lang.NullPointerException[[
         at oracle.lbs.dataserver.MapDataServlet.doPost(MapDataServlet.java:235)
         at oracle.lbs.dataserver.MapDataServlet.doGet(MapDataServlet.java:155)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
         at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
         at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    Here is a sample of the code I am using to display the map.
    test12c_2.html
    yard1_12c.js
    var baseURL = "http://192.168.157.210:7003/mapviewer";
    var vDataSource = 'logitdv1';
    var map = {};
    var vlayer = {};
    function showMap(){
        OM.gv.setResourcePath(baseURL+"/jslib/v2");           
        map = new OM.Map(
            document.getElementById('map'),
                mapviewerURL: baseURL,
                universe: new OM.universe.ElocationUniverse()
    // OpenStreet Maps
        var tileLayer = new OM.layer.OSMTileLayer("OSMLayer1");
        map.addLayer(tileLayer);
        vlayer = new OM.layer.VectorLayer("UserGeo",
                infoWindow: false,
                def:{
                    type: OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource: vDataSource,
                    theme: 'damco_perimeter',
                    loadOnDemand: false,
                    url: baseURL
        map.addLayer(vlayer);
        vlayer.zoomToTheme();
        map.init();
    Message was edited by: Wayne Blumstengel
    - Added attachment test12c_2.html

    I installed the Latest OracleMaps HTML5 (V2) API Update - March 2015 (http://download.oracle.com/otn/other/mapviewer/11g_ps6_3/oraclemapsv2_11_1_1_7_3_1.zip) and the issue seems to have been resolved with this update.
    I deployed the 11.1.1.7.3.1 update against my v12.1.3 mapviewer installation (as per the instructions in the readme file), and the prefined vector layer now displays correctly using Mapviewer 12c.

  • Is MapViewer 10.1.2 able to display 16bit grey scale images?

    I can see the image fine in mapbuilder, but when I view it in mapviewer its very dark and I'm unable to make out the raster's features.
    I've look in the tech articles and don't see any info stating Mapviewer's limitations for raster display.
    Anybody have any info?
    Thanks,
    Paula

    Joao,
    Sorry it took so long to post, but I wanted to double check and start from scratch again to make sure it wasn't a user error (which it still could be but I don't know what I'm doing wrong)
    **Note: The 16 bit image shows up in MapViewer, but its too dark to see anything. I normalized the image in MapBuilder and that would work fine if I could get that normalized image to display in MapViewer **
    This is a version of the MapViewer log output turned on to the finest log level. I had to edit this because we have hundreds of themes and the log would have been overwhelming
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 FINEST [oracle.sdovis.theme.pgtp, ,#Thread-4110] [ BAIN@0 ]: SELECT ROWID, GEORASTER.SPATIALEXTENT,
    '', null, 'null', -1 FROM RASTER_BAIN_JUN06 WHERE MDSYS.SDO_FILTER(GEORASTER.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 82364, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,
    1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 DEBUG [oracle.sdovis.theme.grtp, ,#Thread-4111] [Master scale] 0.02548622222222169 [Scale
    factor for theme BAIN] 111142.28470028371
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 FINEST [oracle.sdovis.theme.pgtp, ,#Thread-4110] Changed Query: SELECT ROWID, sdo_cs.transform(GEORASTER.SPATIALEXTENT,8307)
    GEORASTER.SPATIALEXTENT, '', null, 'null', -1 FROM RASTER_BAIN_JUN06 WHERE MDSYS.SDO_FILTER(GEORASTER.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003,
    82364, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 DEBUG [oracle.sdovis.theme.grtp, ,#Thread-4111] [Query] select grt.GEORASTER from RASTER_BAIN_JUN06
    grt where grt.GEORASTER.rasterid = 61 and grt.GEORASTER.rasterdatatable = 'RDT_BAIN_JUN06'
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 FINEST [oracle.sdovis.util.Util, ,#Thread-4124] [Util.convertMBR SRID query] select sdo_cs.transform(MDSYS.SDO_GEOMETRY(
    2003,8307, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),MDSYS.SDO_ORDINATE_ARRAY(50.545879703703704,26.12611081481481,50.71047822222222,26.245577481481472)),82362)
    from dual
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 DEBUG [oracle.sdovis.theme.pgtp, ,#Thread-4110] [ BAIN@0 ] sql exec time: -1189697058859ms,
    total time loading 0 features: 62ms.
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 ERROR [oracle.sdovis.theme.pgtp, ,#Thread-4110] *** Exception while querying theme: BAIN@0
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 ERROR [oracle.sdovis.theme.pgtp, ,#Thread-4110] java.sql.SQLException: ORA-00923: FROM
    keyword not found where expected
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:184)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:502)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1028)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:534)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1125)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3000)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3042)
    at oracle.sdovis.theme.PredGeomThemeProducer.loadFeaturesInWindow(PredGeomThemeProducer.java:498)
    at oracle.sdovis.theme.PredGeomThemeProducer.prepareData(PredGeomThemeProducer.java:229)
    at oracle.sdovis.Theme.prepareData(Theme.java:174)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    07/09/13 15:24:18 Thu Sep 13 15:24:18 GMT 2007 ERROR [oracle.sdovis.DBMapMaker, ,#Thread-4110] Message:Exception while querying theme:
    BAIN@0
    Description: Nested exception is:
    java.sql.SQLException: ORA-00923: FROM keyword not found where expected
    java.sql.SQLException: ORA-00923: FROM keyword not found where expected
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:281)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:638)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:184)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:502)
    at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:1028)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:534)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1125)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3000)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3042)
    at oracle.sdovis.theme.PredGeomThemeProducer.loadFeaturesInWindow(PredGeomThemeProducer.java:498)
    at oracle.sdovis.theme.PredGeomThemeProducer.prepareData(PredGeomThemeProducer.java:229)
    at oracle.sdovis.Theme.prepareData(Theme.java:174)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 DEBUG [oracle.sdovis.theme.grtp, ,#Thread-4111] [DimX] 787[DimY] 809
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtd, ,#Thread-4111] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,5,sdo_geometry(2001,82364,sdo_point_type(452973.5,2902504.5,null),
    null,null)) coord FROM RASTER_BAIN_JUN06 grt WHERE grt.GEORASTER.rasterid = 61 and grt.GEORASTER.rasterdatatable = 'RDT_BAIN_JUN06'
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtd, ,#Thread-4111] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,5,sdo_geometry(2001,82364,sdo_point_type(454601.04128539,2902959.93630577,null),
    null,null)) coord FROM RASTER_BAIN_JUN06 grt WHERE grt.GEORASTER.rasterid = 61 and grt.GEORASTER.rasterdatatable = 'RDT_BAIN_JUN06'
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtd, ,#Thread-4111] Row:-21 Column: 72
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtd, ,#Thread-4111] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,5,sdo_geometry(2001,82364,sdo_point_type(471085.769048854,2889682.13802691,null),
    null,null)) coord FROM RASTER_BAIN_JUN06 grt WHERE grt.GEORASTER.rasterid = 61 and grt.GEORASTER.rasterdatatable = 'RDT_BAIN_JUN06'
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtd, ,#Thread-4111] Row:572 Column: 808
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 DEBUG [oracle.sdovis.theme.grtp, ,#Thread-4111] Calling JGeoRaster.getRasterImage - area:
    73 , 0 , , 787 , 572
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 DEBUG [oracle.sdovis.theme.grtp, ,#Thread-4111] End of JGeoRaster.getRasterImage call.
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.util.Util, ,#Thread-4111] [Util.convertMBR SRID query] select sdo_cs.transform(MDSYS.SDO_GEOMETRY(
    2003,82364, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),MDSYS.SDO_ORDINATE_ARRAY(454608.7,2889669.3,470624.7,2902504.5)),8307) from dual
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.theme.grtp, ,#Thread-4111] # image loaded: 1
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 INFO [oracle.sdovis.DBMapMaker, ,#AJPRequestHandler-ApplicationServerThread-7] **** time
    spent on loading features: 1141ms.
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.RE, ,#AJPRequestHandler-ApplicationServerThread-7] xfm: 3766.7410714286107
    0.0 0.0 -3766.7410714286107 -190393.24107143056 98860.29464285815
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.RE, ,#AJPRequestHandler-ApplicationServerThread-7] rendering image
    theme: BAIN
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.ImageRenderer, ,#AJPRequestHandler-ApplicationServerThread-7] image
    ground mbr=50.5455090253688,26.1255705377205 50.7061616340954,26.2418817391599
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.ImageRenderer, ,#AJPRequestHandler-ApplicationServerThread-7] image
    width: 715, height:573
    07/09/13 15:24:19 Thu Sep 13 15:24:19 GMT 2007 FINEST [oracle.sdovis.ImageRenderer, ,#AJPRequestHandler-ApplicationServerThread-7] rendering
    image at: -1, 13
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.sdovis.VectorRenderer, ,#AJPRequestHandler-ApplicationServerThread-7] time
    to render theme BAIN@0 with 0 styled features: 0ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.sdovis.VectorRenderer, ,#AJPRequestHandler-ApplicationServerThread-7] time
    to label theme BAIN@0 with 0 styled features: 0ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 INFO [oracle.sdovis.DBMapMaker, ,#AJPRequestHandler-ApplicationServerThread-7] **** time
    spent on rendering: 140ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.lbs.mapserver.core.MapperPool, ,#AJPRequestHandler-ApplicationServerThread-7]
    freeMapper() begins...
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.lbs.mapserver.core.RealWorker, ,#AJPRequestHandler-ApplicationServerThread-7]
    [RealWorker] preparation time: 31ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.lbs.mapserver.core.RealWorker, ,#AJPRequestHandler-ApplicationServerThread-7]
    [RealWorker] querying/rendering time: 1297ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.lbs.mapserver.core.RealWorker, ,#AJPRequestHandler-ApplicationServerThread-7]
    [RealWorker] packing time: 63ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 DEBUG [oracle.lbs.mapserver.core.RealWorker, ,#AJPRequestHandler-ApplicationServerThread-7]
    [RealWorker] --------------- total time: 1391ms
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 FINEST [oracle.lbs.mapserver.oms, ,#AJPRequestHandler-ApplicationServerThread-9] request.getRemoteUser
    = null
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 FINEST [oracle.lbs.mapserver.oms, ,#AJPRequestHandler-ApplicationServerThread-9] request=
    <?xml version="1.0" standalone="yes" ?><info_request datasource="REGION" format="strict" >
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 FINEST [oracle.lbs.mapserver.core.InfoWorker, ,#AJPRequestHandler-ApplicationServerThread-9]
    Processing <info_request> :
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 FINEST [oracle.lbs.mapserver.oms, ,#AJPRequestHandler-ApplicationServerThread-9] request.getRemoteUser
    = null
    07/09/13 15:24:20 Thu Sep 13 15:24:20 GMT 2007 FINEST [oracle.lbs.mapserver.oms, ,#AJPRequestHandler-ApplicationServerThread-9] request=
    <?xml version="1.0" standalone="yes" ?><info_request datasource="REGION" format="strict" >
    Any help you can provide will be greatly appreciated,
    Paula

  • MapViewer fails to display lines when use NavigationPanel

    I am using MapViewer version 10131-B061023 (i.e. 10.1.3), and am attempting to plot state secondary roads (lines) for the state of Montana. These lines display in MapBuilder, and also display in MapViewer when the first 'zoomed in' map is displayed. That is, I can see the roads for the part of the state I am zoomed into, and when I pan around the state the roads also display, but when I use the NavigationPanel to zoom out, the roads disappear. Has anyone had this problem? Any suggestions on how to fix this would be greatly appreciated. Thanks in advance.

    I failed to mention that the secondary routes were in a foi rather than a base map. When I added them to the base map and removed the foi they appeared when I zoomed out. Am I missing some basic difference between the base map and a foi?

  • Load maps in database - oracle map viewer

    Hi,
    In my project we are trying to use maps to display it on webpage for this we are using oracle map viewer. We’ve got maps from third party in the form of tif format. Could you please tell me how to load these maps in databse table? I’m newbie to oracle map viewer, your help will be deeply valued.

    Hi Paul, you said "We’ve got maps from third party in the form of tif format." they must be rasters. The best approach is to use MapBuilder to load such data into Spatial as GeoRaster objects and then define them as themes to display in MapViewer. All can be done using MapBuilder. you can also use the client-side java GeoRasterTools (a viewer) to load, display and export those tiff files. For that you can start with the GeoRaster user's guide.
    regards,
    Jeffrey

  • Color Fill Google Map in OBIEE

    Hi all,
    I have a requirement to display a MapView in a OBIEE analysis with the states areas colored. I've already configured Google Maps in MapViewer and I'm able to display a single map in a analysis. The problem is: how am I going to set the borders of each state and fill the inside area and plot it over the map? Anyone have some ideia or suggestion that can help me?
    TIA
    William

    Do you have data for boundaries in db?
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/configmap.htm#CIHJCGDI
    Check this
    http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-map-views-integration-with-mapviewer/
    Pls mark if helps

  • Application Server cannot render arrow line style?

    I am using MapBuilder(10.1.3.1) to create a line style with arrow. It rended perfect in MapBuilder.
    The xml style is below:
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc/>
    <g class="line" style="fill:#000000;stroke-width:2.0;marker-name:M.LEFTARROW;marker-position:0.0;marker-size:15">
    <line class="base"/>
    </g>
    </svg>
    Then I apply this style to my themeBasedFOI, add to MapView and then deploy to Application Server(10.1.3).
    var mapView;
    function showMap() {
    mapView = new MVMapView(document.getElementById("map"), baseURL);
    var basemap = new MVBaseMap("bbui.CENTRAL");
    //Add a base map layer as background.
    mapView.addBaseMapLayer(basemap);
    //Set the initial map center and zoom level
    mapView.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307));
    mapView.setZoomLevel(mapZoomLevel);
    //Add a scale bar
    mapView.addScaleBar();
    //Add a navigation panel on the top-left side of the map
    mapView.addNavigationPanel('west',true,false,false);
    //Add a copy right
    mapView.addCopyRightNote("@2008 powered by Delcan");
    //Add an overview map as a collapsible element inside the main map
    ovcontainer = new MVMapDecoration(null,null,null,200,150) ;
    ovcontainer.setCollapsible(true);
    mapView.addMapDecoration(ovcontainer);
    var over=new MVOverviewMap(ovcontainer.getContainerDiv(),3);
    mapView.addOverviewMap(over);
    //Add theme base FOIs
    addThemeBasedFOIs();
    //Display map
    mapView.display();
    //Add Map Viewer Event Listener
    mapView.addEventListener("mouse_click", mouseClick);
    mapView.addEventListener("nouse_right_click", rightClick);
    function addThemeBasedFOIs(){
    var travelTimeFOI = new MVThemeBasedFOI("travelTimeFOI","bbui.TRAVEL_TIME");
    travelTimeFOI.enableInfoTip(true);
    mapView.addThemeBasedFOI(travelTimeFOI);
    when I browser my map, I got a popup error:
    Cannot process the following responde from FOI server:
    <?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server]foi process error: null</oms_error>
    Then I am going to Application Server Log, and find the following exception:
    08/11/11 10:45:58 INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_spatial_jdbc:oracle:thin:@10.10.10.9:1521:bbui : TRAVEL_TIME_GEOMETRY_PDT_GEOM.
    08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] java.lang.NegativeArraySizeException
         at oracle.lbs.foi.foiUtil.calculateHtmlLineArea(foiUtil.java:306)
         at oracle.lbs.foi.foiUtil.getLineStringAreaStr(foiUtil.java:1096)
         at oracle.lbs.foi.FOIServer.getHTMLMapString(FOIServer.java:855)
         at oracle.lbs.foi.FOIServer.renderFOILayer(FOIServer.java:555)
         at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:178)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi process error.
    I will appreciate if you figure out what's wrong?
    Best Regards,
    Joyce

    I am using MapBuilder(10.1.3.1) to create a line style with arrow. It rended perfect in MapBuilder.
    The xml style is below:
    <?xml version="1.0" standalone="yes"?>
    <svg width="1in" height="1in">
    <desc/>
    <g class="line" style="fill:#000000;stroke-width:2.0;marker-name:M.LEFTARROW;marker-position:0.0;marker-size:15">
    <line class="base"/>
    </g>
    </svg>
    Then I apply this style to my themeBasedFOI, add to MapView and then deploy to Application Server(10.1.3).
    var mapView;
    function showMap() {
    mapView = new MVMapView(document.getElementById("map"), baseURL);
    var basemap = new MVBaseMap("bbui.CENTRAL");
    //Add a base map layer as background.
    mapView.addBaseMapLayer(basemap);
    //Set the initial map center and zoom level
    mapView.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307));
    mapView.setZoomLevel(mapZoomLevel);
    //Add a scale bar
    mapView.addScaleBar();
    //Add a navigation panel on the top-left side of the map
    mapView.addNavigationPanel('west',true,false,false);
    //Add a copy right
    mapView.addCopyRightNote("@2008 powered by Delcan");
    //Add an overview map as a collapsible element inside the main map
    ovcontainer = new MVMapDecoration(null,null,null,200,150) ;
    ovcontainer.setCollapsible(true);
    mapView.addMapDecoration(ovcontainer);
    var over=new MVOverviewMap(ovcontainer.getContainerDiv(),3);
    mapView.addOverviewMap(over);
    //Add theme base FOIs
    addThemeBasedFOIs();
    //Display map
    mapView.display();
    //Add Map Viewer Event Listener
    mapView.addEventListener("mouse_click", mouseClick);
    mapView.addEventListener("nouse_right_click", rightClick);
    function addThemeBasedFOIs(){
    var travelTimeFOI = new MVThemeBasedFOI("travelTimeFOI","bbui.TRAVEL_TIME");
    travelTimeFOI.enableInfoTip(true);
    mapView.addThemeBasedFOI(travelTimeFOI);
    when I browser my map, I got a popup error:
    Cannot process the following responde from FOI server:
    <?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server]foi process error: null</oms_error>
    Then I am going to Application Server Log, and find the following exception:
    08/11/11 10:45:58 INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_spatial_jdbc:oracle:thin:@10.10.10.9:1521:bbui : TRAVEL_TIME_GEOMETRY_PDT_GEOM.
    08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] java.lang.NegativeArraySizeException
         at oracle.lbs.foi.foiUtil.calculateHtmlLineArea(foiUtil.java:306)
         at oracle.lbs.foi.foiUtil.getLineStringAreaStr(foiUtil.java:1096)
         at oracle.lbs.foi.FOIServer.getHTMLMapString(FOIServer.java:855)
         at oracle.lbs.foi.FOIServer.renderFOILayer(FOIServer.java:555)
         at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:178)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    08/11/11 10:45:58 ERROR [oracle.lbs.foi.FOIServlet] [Foi Server] foi process error.
    I will appreciate if you figure out what's wrong?
    Best Regards,
    Joyce

  • Topology Theme / Advanced Styling - Errors

    Hello
    We're undertaking some evaluation / proof of concept activities with mapviewer connected to fusion middleware 11g / 11g2 database
    Our application would require a topological data model and we have successfully created a small topological testbed.
    The topological model can be successfully interrogated in mapbuilder and displays in mapviewer when simple line styles are applied.
    There are two problems:
    1) when displayed as a themeBasedFOI in mapviewer the topological theme is not clickable so cannot be interrogated (yes all the obvious settings have been tried)
    2) the topology theme cannot be combined with an advanced Style (to enable lines to have different styles according to a attribute columns in the topology table)
    The styling problem manifests itself as a dialogue box displaying "Error 0" when using mapbuilder and an error "SEVERE: Error rendering FOI image java.lang.ArrayIndexOutOfBoundsException: 0" on the mapviewer console.
    As these problems do not manifest themselves when using geometry themes and the topological data seems otherwise to work correctly I'm inclined to think this is a bug in the topology code but would be interested to know if anyone else has experienced / resolved this?
    Mal
    Edited by: user5883580 on 28-Oct-2010 08:53
    Edited by: user5883580 on 28-Oct-2010 08:53

    The processing of geometry themes and topology themes are different. The attribute 'rule#0' that you see on the query for geometry themes is something internal of MapViewer that is added on the query. This does not apply for topology themes. You can use advanced style with topology themes. The idea is similar to geometry themes, where you add some attribute to be used by the advanced style. Post the advanced style definition and the topology theme definition that you were trying to use.
    Joao

  • Wrong Map View - Width Stretching

    Hi, all!
    It seems like mapviewer doesn't consider longitude while displaying GIS objects.
    I have two GIS-objects with SRID = 8307:
    The first one has coordinates:
    minX = 0,
    minY = 0,
    maxX = 1,
    maxY = 1.
    The second one:
    minX = 89,
    minY = 89,
    maxX = 90,
    maxY = 90.
    But when they are displayed by mapviewer they look identically.
    MapViewer JView Demo displays them in similar way.
    But "a degree of longitude corresponds to a distance that varies from 0 to 111 km" ((c) Wikipedia) and
    "one degree of longitude = (111.320 + 0.373sin²φ)cosφ km, where φ is latitude"
    Please, help to find out the problem or the way to display GIS objects correctly.
    Afina

    Your Home page should be your index page.   The domain name page (index.htm)
    is the single most valuable piece of real estate on your site.  Sadly, you've wasted yours by making it into a splash or intro page with virtually no text and no substantive info about your site/business.  Splash pages are rarely ever used by professionals because SEs ignore them.
    The index page should be informative, compelling, and heavy on keyword rich content in good semantic markup. Your index page should summarize the who, what, when, where and why of your site.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Oracle maps : setHomeMap

    Hi,
    I am trying to use the
    setHomeMap(mpoint, nZoom) function:
    " .. When the home map location and zoom level is set, the user can click on the center button of the navigation panel to bring the map back .."
    but the center button of the navigation panel does not exist in my navigation panel .
    Many thanks,
    Friedhold

    Sure:
    function loadMapView() {
    //The MapView URL...
    var URL="http://xxxx/mapviewer";
    //Create a new MVMapView Object, using the 'map-handle' <div> and the MapViewer URL...
    mapview=new MVMapView(document.getElementById("map-handle"), URL);
    //Custom 'addBaseMaps function...
    addBaseMaps();
    //Set the MapView Center and ZoomLevel, using the default x, y, and z parameters...
    //Create a 'center', using the 'MVSDOGeometry.createPoint' function, the default x and y parameters, and the BNG36 SRID (81989)...
    var center=new MVSdoGeometry.createPoint(parseFloat(x), parseFloat(y), 81989);
    //Create a 'zoomLevel' using the default z parameter...
    var zoomLevel=parseInt(z, 10);
    //For some reason, the combined 'setCenterAndZoomLevel' function doesn't work if the ZoomLevel is 0...
    mapview.setCenterAndZoomLevel(center, zoomLevel);
    //Display the MapView, using the 'display' function...
    mapview.display();
    Something to do with the different SRID's maybe?

  • Nodes and links are not displaying in IE10 browser - mapviewer ps6

    Hi,
    Node and link are not visible on the IE10 browser where as in IE9 they are displaying properly.
    In IE10 browser ,
    when we set compatibility settings - Display All websites in compatibility view --> node are displaying properly.
    when we deselect this node are not displaying properly
    Is there any existing bug on mapviewer?
    Thanks in Advance
    Aruna

    DRK Montreal,
    try opening Terminal, and running the following command in the Terminal window:
    nslookup www.pinatize.me
    If you still have access to some of those other Mac computers, try running the same command on them also for comparison.
    Please include in your reply the full output from that command.

Maybe you are looking for