Map Legend

Hi All!
Is it possible to get the map legend in a separated image using the MapViewer API?
I have done it using the MapViewer tag library, with the <mv:makelegend> ...
Is it possible not use the tag library, but the API?
Thank you!
Carlos

Carlos,
It is indeed possible to send a map request, using the XML API, for a nonembedded legend (return a legend without a map). To do this, simply send a standard MapViewer request, without a basemap, using the legend tags:
<?xml version="1.0" standalone="yes"?>
<map_request
title="Oracle LBS MAP"
datasource = "mvdemo"
width="640"
height="480"
bgcolor="#a6cae0"
antialiase="false"
format="PNG_STREAM">
<legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="MEDIUM" >
<column>
<entry text="Map Legend" is_title="true" />
<entry style="M.STAR" text="center point" />
<entry style="M.CITY HALL 3" text="cities" />
<entry style="M.CITY HALL 4" text="big cities" />
<entry is_separator="true" />
<entry style="C.ROSY BROWN STROKE" text="state boundary" />
<entry style="L.PH" text="interstate highway" />
<entry text="County population:" />
<entry style="V.COUNTY_POP_DENSITY" tab="1" />
</column>
</legend>
</map_request>
Hope this helps.
-Justin

Similar Messages

  • Gis map legend missing on .pdf exporting

    Hi guys,
    i've a big problem with the WAD exporting for printing.
    I've a simple gis map template with legend visible.Template is running fine on internet explorer but when i try to print report (right clic on the map - printable version) in the output .pdf file the legend is missing.
    I try everything: with ie print, with adobe pdf ie add-on, exporting in excel format but the map legend is always missing.
    Can anyone help me?
    Thanks in advance.
    Andrea

    Hello Andrea,
    you should check the properties for the map web item in your export template.
    The content template is 0ANALYSIS_PATTERN_EXPORT for the print version.
    There might be the "display legend" flag turned off.
    Regards
    Tobias

  • Web Application Designer: Map-legend

    Hi Guys,
    i have a problem with the map legend from the WebItem: Map.
    I want to have a map legend with 3 classes :
    1. < 0
    2.    0
    3. > 0
    But i can´t find the right option to set this values to the map web item.
    Can someone give me a hint, where i can find the option?
    (i´m working with the Web Application Designer Version 7.1)
    thx

    Hello,
    Could you please share the solution for that ?
    Thanks,

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • Map Legend changes when scrolling map vertically

    With the map scrolled all the way out, when you move it vertically it, the legend changes
    With map in middle. 5000km:5000miles
    with map lying on bottom of screen 5000km:2000miles
    with half of map scrolled out of the screen 200km:100miles
    with map out of screen 10km:5 miles

    Yes. Old Mercator will mess you up everytime.
    On the maps that only cover a small area, the scale makes sense, but on the map of the whole world, the scale is non-linear and not the same in all directions, so you can't use it for much.
    Hal

  • Is there a MSE/Prime Infrastructure map legend?

    I am looking for a legend for the maps in Prime Infrastructure.  I have found one, but it only has a few items on it.  I have many showing up on my maps along with numbers on the side of them.  Any document to reference would be great. Thanks!

    Hello,
    May the link below help you out:-
    http://www.cisco.com/en/US/docs/wireless/prime_infrastructure/1.3/configuration/guide/pi_13_cg.pdf

  • Mapviewer legend and note overlap

    I am using Mapviewer 11ea and wish to place a legend above a note in the SOUTH EAST corner of my map. The note is defined in the config file and the legend is provided in the map request. The legend itself seems to create a box larger than required and overlaps the note text below. See the image at http://www.geocities.com/ozspatial/legend-note-overlap.jpg showing the overlap and the large amount of white space at the bottom of the legend.
    The legend component of the request is from the default mapviewer request and looks like:
    <legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
              <column>
                <entry text="Map Legend" is_title="true" />
                <entry style="M.STAR" text="center point" />
                <entry style="M.CITY HALL 3" text="cities" />
                <entry style="M.CITY HALL 4" text="big cities" />
                <entry is_separator="true" />
                <entry style="C.ROSY BROWN STROKE" text="state boundary" />
                <entry style="L.PH" text="interstate highway" />
                <entry text="County population:" />
                <entry style="V.COUNTY_POP_DENSITY" tab="1" />
              </column>
      </legend>Does anyone know how to reduce the white space in the legend or some other way to avoid the overlap? (whilst still placing both note and legend in the SOUTH EAST corner)
    thanks,
    Ross.

    Hi Ross,
    I don't think you will be able to reduce the white space at the bottom, but there are some parameters on the legend that you can use.
    1) In overlap situations you can set the transparency of the legend:
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
    2) For the profile value there is an internal size defined. In your figure I can note that the advanced style items are also overlapping, which means that the internal size MEDIUM seems not appropriate for this legend. You can assign a height for a legend entry:
    <entry style="V.CA INCOME 2" tab="1" height="150"/>
    3) With version 11 there are two new parameters (location_x and location_y) for the legend that can be used to put the legend in any position. In this case the position attribute is ignored if defined.
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" location_x="20" location_y="50">
    Joao

  • OBIEE 11g  Map View - Issue with Label Translation

    Hi All,
    I have a strange translation issue with the Maps in 11g.
    Created in English language to plot the Revenue for each of the Postal Codes.
    I selected Postal Code and Revenue Amount in the Criteria and created a new Map View. It had the text 'Postal Code' in the Map Legend and then the scale for revenue amount.
    Now I logged on with Chinese Language , it still appears as 'Postal Code' in English where in it was actually supposed to show it in Chinese.
    We have a translation pack to get all the column names translated. If I try creating a new table view, it shows the translated text instead of 'Postal Code', but some how this doesn't work with Maps.
    Has anyone faced similar issues ? Is there a workaround for this ?
    Thanks for any pointers.

    Hi,
    I also encounter the same issue. When I view combined layout, I get the No Results message. But when I edit the table layout, I see that there are records returned. Does anyone had any luck in resolving this issue?
    Thanks!

  • Legend in manual mode - Background color

    Hi all,
    To create legend in manual mode I am using following request URL for a style image.
    http://127.0.0.1:8988/mapviewer/omserver?sty=L.ROAD&w=20&h=20&ds=cescdatasource
    Here if the color of style is white (For example white color line style) then it won't be visible. Can I set background color?. I need different background color instead of white.
    Thanks,
    Sujnan

    Either set the background color for the MapDecoration or for the table in which you display the legend or both.
    e.g. (modification of tutorial 36 Map Legend)
    // get the container DIV and set the background color to light blue
    var legendDiv = legend.getContainerDiv();
    legendDiv.style.backgroundColor = "AliceBlue"; //color name may not work in all browsers
    function buildLegend(baseURL)
    var html = "<table *bgcolor='gray'* border=0> <tr><td><img src="+baseURL+"/omserver?sty=L.PH&w=45&h=20&ds=mvdemo></td><td> Highways </td></tr>" +
    " <tr><td><img src="+baseURL+"/omserver?sty=M.CITY+HALL+3&w=20&h=20&ds=mvdemo></td><td> Cities </td></tr>" +
    "</table>";
    return html;
    }

  • Embedded Legend in JSP file

    I would like to embed my legend within my map request. I can display the legend on my page within a Table Row, but I would prefer it located inthe Southwest corner of my map image. Can this be done? I have seen it in XML done this way.
    Here is my legend code as well as my map display code.
    Thanks!
    <tr><td><mv:makeLegend id="myLegend">
    <legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="SMALL" position="SOUTHWEST">
    <column>
    <entry text="Map Legend:" is_title="true" />
    <entry style="M.GREEN" text="No Outages Reported" />
    <entry style="M.RED" text="Outage Reported" />
    <entry style="M.AMBER" text="Degraded Status Reported" />
    </column>
    </legend>
    </mv:makeLegend>
    <IMG SRC="<%=myLegend%>"></td></tr>
    <tr align="center">
    <td valign="top" align="center">
    <input type="image"
    border="1"
    src="<mv:getMapURL />"
    name="userClick"
    alt="Click on the map for selected action">
    </td></tr>

    Hi,
    you can't use the makeLegend tag to embed it on map, but you can add an API method on your jsp code to add the legend. This is an example:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="oracle.lbs.mapclient.MapViewer" %>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <title>untitled</title>
      </head>
      <body title="MapViewer WebMap">
        <DIV align="center">
          <mapviewer:init url="http://stadb35.us.oracle.com:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
          <mapviewer:setParam basemap="density_map" width="600" height="450" antialiasing="true" title="My Web Map" centerX="-122.4" centerY="37.8" size="10"/>
        <%
          MapViewer mv = (MapViewer) session.getAttribute("mvHandle");
          mv.setMapLegend("<legend bgstyle=\"fill:#ffffff;stroke:#ff0000\" " +
                          "profile=\"MEDIUM\" position=\"SOUTHWEST\">\n" +
                          "<column>\n" +
                          "<entry text=\"Map Legend:\" is_title=\"true\" />\n " +
                          "<entry style=\"V.COUNTY_POP_DENSITY\" tab=\"1\"/>\n " +
                          "</column>\n " +
                          "</legend>");
        %>
          <mapviewer:run/>
        </DIV>
        <img src="<mapviewer:getMapURL />"/>
      </body>
    </html>

  • Legend in MapViewer

    I'm modifying the provided demo-files wich are using the MapViewer-bean. Now I want to add a legend.
    I can't find out how to do this.
    In another demo-file is an example, but is using the tags.
    Is there a way to create a legend without using the tags but with using the JavaBean?

    Although it is possible to include a map legend specification in each and every xml map request,
    currently there is no Java api that lets you do that. The JSP tag demo is simply submitting a manually created XML legend request and extracting the url to the legend image itself.
    If you dont need a legend inside each map generated by mapviewer, you can simply pre-generate the map legend through a standalone XML request using one of the forms in the mapviewer homepage. Then save the generated image and place it somewhere in your final web page.
    lj

  • MapViewer Legend

    Hallo,
    I am dealing with mapviewer and the legend.
    1: I can create a legend by defining each theme and the symbol I use for this. But is there a way that the legend is defined "automaticlly" so that I do not have to define each theme but mapviewer knows which themes are in this map and generates?
    2: I can position the legend with position="NORTH_WEST". Are there other way to position it? By using numbers?
    3: Are there code samples and where I could use?
    4: I can not change the font of the text in the legend?
    Thanks in advance Tig

    Hi Tig,
    Currently you can't generate the automatic legend based on the themes, and also you can't define a location (X,Y) to put the legend. We'll add these items on the enhancement list.
    For item 4, MapViewer parses the legend font, however the API method setMapLegend does not have this parameter. We'll also add this enhancement. If you issue a XML request directly, you can define the font as:
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000"
              position="NORTH_WEST" font="Dialog">Next, is a sample of Java code to generate the structure to pass to the API method setMapLegend:
      String [][][]legenddata = new String[1][][];  // legend with one column
      legenddata[0] = new String[8][];    // column with 8 items
      for(int i=0;i<8;i++)
        legenddata[0] = new String[5]; // description of each item
    legenddata[0][i][0] = null; // text
    legenddata[0][i][1] = null; // style
    legenddata[0][i][2] = "false"; // is title
    legenddata[0][i][3] = null; // tab
    legenddata[0][i][4] = "false"; // is separator
    // <entry text="Map Legend" is_title="true" />
    legenddata[0][0][0] = "Map Legend"; // text
    legenddata[0][0][2] = "true"; // is title
    // <entry style="M.STAR" text="center point" />
    legenddata[0][1][0] = "center point"; // text
    legenddata[0][1][1] = "M.STAR"; // style
    // <entry style="M.CITY HALL 3" text="cities" />
    legenddata[0][2][0] = "cities"; // text
    legenddata[0][2][1] = "M.CITY HALL"; // style
    // <entry is_separator="true" />
    legenddata[0][3][4] = "true"; // is separator
    // <entry style="C.ROSY BROWN STROKE" text="state boundary" />
    legenddata[0][4][0] = "state boundary"; // text
    legenddata[0][4][1] = "C.ROSY BROWN STROKE"; // style
    // <entry style="L.PH" text="interstate highway" />
    legenddata[0][5][0] = "interstate highway"; // text
    legenddata[0][5][1] = "L.PH"; // style
    // <entry text="County population:" />
    legenddata[0][6][0] = "County population:"; // text
    // <entry style="V.COUNTY_POP_DENSITY" tab="1" />
    legenddata[0][7][1] = "V.COUNTY_POP_DENSITY"; // style
    legenddata[0][7][3] = "1"; // tab
    mapViewer.setMapLegend("#ffffff","255","#ff0000","MEDIUM","NORTH_EAST",legenddata);
    Thanks for your comments.
    Joao

  • Web query using map

    Hello all,
    I would like your help on this:
    I have created a web report which has 3 fields: region, the KF's qty and FOB$. Then I added the map item in it. When i run this query template, I see the first part with all the data; then i see the map of US below (not big) divided by the states but with no data or color. I have chosen 'bar' as the info display.
    Now, how can I see the numbers(bar graphic) for each US state?
    In the map legend, i can see the 2 KF's with different colors and the total overall qty as seen in the report.
    The goal is to see the map of US and the bar graphic on top of every applicable state Please thanks for any help/tips/docs on this map creation via web.
    Cesar

    Hello John,
    please have a look at single-sign-on (SSO) using certificates. This will improve the user experience since much less logons are required and no ids and passwords have to be passed in clear text.
    Regards
    Marc
    SAP NetWeaver RIG, US BI

  • Bucketstyle questions

    Hello,
    i have some questions regarding bucket styles in Mapviewer Ver1033p5_B081010.
    I defined a collection-based bucket style with discrete values:
    <?xml version="1.0" ?>
    <AdvancedStyle>
      <BucketStyle>
        <Buckets>
          <CollectionBucket seq="0" label="text1" type="integer" style="C.STYLE1">1</CollectionBucket>
          <CollectionBucket seq="1" label="text2" type="integer" style="C.STYLE2">2</CollectionBucket>
          <CollectionBucket seq="2" label="text3" type="integer" style="C.STYLE3">3</CollectionBucket>
          <CollectionBucket seq="3" label="text4" type="integer" style="C.STYLE4">4</CollectionBucket>
          <CollectionBucket seq="4" label="text5" type="integer" style="C.STYLE5">5</CollectionBucket>
          <CollectionBucket seq="5" label="text6" type="integer" style="C.STYLE6">6</CollectionBucket>
          <CollectionBucket seq="6" label="text7" type="integer" style="C.STYLE7">7</CollectionBucket>
          <CollectionBucket seq="7" label="text8" type="integer" style="C.STYLE8">8</CollectionBucket>
          <CollectionBucket seq="8" label="text9" type="integer" style="C.STYLE9">9</CollectionBucket>
          <CollectionBucket seq="9" label="text10" type="integer" style="C.STYLE10">10</CollectionBucket>
          <CollectionBucket seq="10" label="text11" type="integer" style="C.STYLE11">11</CollectionBucket>
          <CollectionBucket seq="11" label="text12" type="integer" style="C.STYLE12">12</CollectionBucket>
          <CollectionBucket seq="12" label="text13" type="integer" style="C.STYLE13">13</CollectionBucket>
          <CollectionBucket seq="13" label="text14" type="integer" style="C.STYLE14">14</CollectionBucket>
          <CollectionBucket seq="14" label="text15" type="integer" style="C.STYLE15">15</CollectionBucket>
          <CollectionBucket seq="15" label="text16" type="integer" style="C.STYLE16">16</CollectionBucket>
          <CollectionBucket seq="16" label="text17" type="integer" style="C.STYLE17">17</CollectionBucket>
          <CollectionBucket seq="17" label="text18" type="integer" style="C.STYLE18">18</CollectionBucket>
          <CollectionBucket seq="18" label="text19" type="integer" style="C.STYLE19">19</CollectionBucket>
        </Buckets>
      </BucketStyle>
    </AdvancedStyle>and a theme that uses this style:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID">
      <hidden_info>
        <field column="INFO_COLUMN" name="Info"/>
      </hidden_info>
      <rule column="GROUP_ID">
        <features style="V.BUCKET_STYLE"> </features>
      </rule>
    </styling_rules>
    Problem 1:
    I try to get the map legend using a map_request like described in LJ.Qians excellent blog: http://oraclemaps.blogspot.com/2008/10/generating-map-legends.html (approach 1).
    The problem i have here is that i have to set a hight manually in the legend request, otherwise the text in the resulting legend image is too small to be readable. But when i change the bucket style to include more buckets (or less) i would have to change this height value to reflect that change. I would like to avoid this.
    Setting the profile to "LARGE" does solve the problem, but when the legend includes some more styles from different themes those styles are too big in the legend image, and it looks inconsotent.
    I tried the approach 3 full manual mode from the above mentioned blog, but again here i have to set the width and height of the resulting image.
    To set the height automatically i would like to get the number of the buckets in the bucket style. Is there a request that i can send to the mapviewer server to get this number, or maybe a description of the style itself?
    Problem 2:
    As you can see in my theme definition i include a INFO_COLUMN in the hidden_info section part, so that i can use the theme as a clickable foi.
    Normally i would expect that the info window that is opened upon a click on an element of this foi contains only this info column.
    But it also shows the rule column for the feature style (GROUP_ID).
    Is there a way to prevent this and only to show the INFO_COLUMN?
    Thanks for help in advance,
    Dirk

    Hi Dirk,
    1) You can send an info request and get the style definition. For example:
    <?xml version="1.0" standalone="yes"?>
    <info_request datasource="mvdemo" format="strict" >
                select definition from user_sdo_styles where name = 'V.CB1'
    </info_request>the result is something like this, and you can parse the result to get number of buckets:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ROWSET>
       <ROW num="1">
        <DEFINITION>
           <?xml version="1.0" ?>
           <AdvancedStyle>
             <BucketStyle>
                <Buckets>
                   <CollectionBucket seq="0" label="a" style="C.BLUE">1.0, 2.5</CollectionBucket>
                   <CollectionBucket seq="1" label="b" style="C.YELLOW">2</CollectionBucket>
               </Buckets>
            </BucketStyle>
          </AdvancedStyle>
        </DEFINITION>
        </ROW>
    </ROWSET>2) The default info windows shows the info columns plust any attributes in your rule. But you can overwrite the info window default code.
    Take a look at example 7 in Oracle Maps demos.
    Joao

  • Predefined network  model themes

    I am having a problem whilst trying to load one of the above into mapviewer. I have a network model that is working, valid and I can perform analysis using the SQL API. I am trying to create a theme with
    insert into user_sdo_themes values(
    'RAILNET',
    'UK Rail Network',
    'LINK',
    'L_GEOM',
    '<?xml version="1.0" standalone="yes"?>
    <styling_rules
    theme_type="network"
    network_name="RAILNET"
    network_level="1">
    <rule>
    <features>
    <link
    style="C.YELLOW"
    direction_style="M.DIRECTION"
    direction_position="0.5"
    direction_markersize="7">
    </link>
    <node
    style="M.NODE"
    markersize="5">
    </node>
    </features>
    </rule>
    </styling_rules>');
    The mapviewer returns the following (in FINEST)
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.lbs.mapserver.oms] request= <?xml version="1.0" standalone="yes"?>
    <map_request
    datasource="mvdemo"
    width="1159"
    height="793"
    bgcolor="#ffffff"
    bgimage=""
    antialiase="true"
    format="SVGZ_URL" zoomlevels="1" zoomfactor="2.0" zoomratio="1.0" infoon="true" navbar="no" onclick="shiftPressed(evt.shiftKey);svgClicked" onrectselect="shiftPressed(evt.shiftKey);svgRect">
    <center size="10.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>-1.4,53.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="SMALL" position="NORTH_EAST"><column><entry is_separator="true" /><entry text=" Map Legend " is_title="true" /><entry is_separator="true" /><entry style="L_DOWN" text="Down Track Level" /><entry style="L_UP" text="Up Track Level" /><entry style="L_BI" text="Bi-Dir Track Level" /><entry style="L_UNVAL" text="Unvalidated link" /><entry style="M.NODE" text="Track Level Node" /></column></legend>
    <themes>
    <theme name="RAILNET" min_scale="50000.0" max_scale="0.0" />
    </themes>
    </map_request>
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.JSDOGeometry] exception while getting srid from a geometry node: For input string: ""
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper(mvdemo) begins...
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper() succeeded.
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding additional themes...
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a predefined theme RAILNET
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=RAILNET]
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.SRS] got srs object for :8307
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.SRS] before adjusting: minX = -8.707692307692307, maxX=5.907692307692308 minY=48.0, maxY=58.0 w=14.615384615384615, h=10.0
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.SRS] After adjusting: minX = -8.707692307692307, maxX=5.907692307692308 minY=48.0, maxY=58.0 w=14.615384615384615, h=10.0
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-8
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.theme.ntp] [Master scale] 1.2105926860025222 [Scale factor for theme RAILNET] 1.0
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.theme.ntp] ptvpxfmfxed: xl=-9.0
    05/09/29 10:22:20 Thu Sep 29 10:22:20 BST 2005 FINEST [oracle.sdovis.theme.ntp] [Geometry Network link query]: select ROWID, L_GEOM from LINK WHERE MDSYS.SDO_FILTER(L_GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(-9.0,48.0,5.907692307692308,58.0)), 'querytype=WINDOW') = 'TRUE'
    05/09/29 10:22:21 Thu Sep 29 10:22:21 BST 2005 WARN [oracle.sdovis.theme.ntp] java.lang.NullPointerException
    at oracle.sdovis.theme.NetworkThemeProducer.processGeomLinkQuery(NetworkThemeProducer.java:2467)
    at oracle.sdovis.theme.NetworkThemeProducer.prepareData(NetworkThemeProducer.java:329)
    at oracle.sdovis.NetworkTheme.prepareData(NetworkTheme.java:64)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    05/09/29 10:22:21 Thu Sep 29 10:22:21 BST 2005 ERROR [oracle.sdovis.DBMapMaker] Message:null
    Description: Nested exception is:
    Message:null
    Description: Nested exception is:
    java.lang.NullPointerException
    Message:null
    Description: Nested exception is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at oracle.sdovis.theme.NetworkThemeProducer.processGeomLinkQuery(NetworkThemeProducer.java:2467)
    at oracle.sdovis.theme.NetworkThemeProducer.prepareData(NetworkThemeProducer.java:329)
    at oracle.sdovis.NetworkTheme.prepareData(NetworkTheme.java:64)
    at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    05/09/29 10:22:21 Thu Sep 29 10:22:21 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 202ms.
    05/09/29 10:22:21 Thu Sep 29 10:22:21 BST 2005 FINEST [oracle.sdovis.RE] xfm: 79.3 0.0 0.0 -79.3 690.5199999999999 4599.4
    05/09/29 10:22:21 Thu Sep 29 10:22:21 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme RAILNET with 0 styled features: 0ms
    If i leave the <link> tag out of the theme definition then the mapviewer loads and renders the nodes, but with the <link> included nothing is rendered.
    Help!

    That works, here is the output. I assume then that there is a bug?
    <map_request
    datasource="mvdemo"
    width="1159"
    height="793"
    bgcolor="#ffffff"
    bgimage=""
    antialiase="true"
    format="SVGZ_URL" zoomlevels="1" zoomfactor="2.0" zoomratio="1.0" infoon="true" navbar="no" onclick="shiftPressed(evt.shiftKey);svgClicked" onrectselect="shiftPressed(evt.shiftKey);svgRect">
    <center size="0.00639386189258312">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>-1.9082991021265139,51.53651515982236</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name="RAILNET" >
    <jdbc_network_query
    network_name="RAILNET"
    network_level="1"
    jdbc_srid="8307"
    datasource="mvdemo"
    link_style="C.YELLOW"
    direction_style="M.DIRECTION"
    direction_position="0.5"
    direction_markersize="10"
    node_style="M.NODE"
    node_markersize="5"
    asis="false">
    </jdbc_network_query>
    </theme>
    </themes>
    </map_request>
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.JSDOGeometry] exception while getting srid from a geometry node: For input string: ""
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper(mvdemo) begins...
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper() succeeded.
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding additional themes...
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a JDBC Network Theme:
    ThemeDescriptor=
    name=RAILNET
    type=6
    minScale=Infinity
    maxScale=-Infinity
    srid=8307
    localThem=null
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 INFO [oracle.sdovis.theme.ntd] [Network Metadata Query] select * from user_sdo_network_metadata where network = 'RAILNET'
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.SRS] got srs object for :8307
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.SRS] *** local adjustment will be performed on this req. ***
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.SRS] before adjusting: minX = -1.9158108694149043, maxX=-1.9007873348381232 minY=51.53331822887607, maxY=51.53971209076865 w=0.015023534576780994, h=0.00639386189258312
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.SRS] After adjusting: minX = -1.9158108694149043, maxX=-1.9007873348381232 minY=51.53331822887607, maxY=51.53971209076865 w=0.015023534576780994, h=0.00639386189258312
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-22
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.theme.ntp] [Master scale] 7.740362442471369E-4 [Scale factor for theme RAILNET] 1.0
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.theme.ntp] [Geometry Network link query]: select L_GEOM from LINK WHERE MDSYS.SDO_FILTER(L_GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(-1.9158108694149043,51.53331822887607,-1.9007873348381232,51.53971209076865)), 'querytype=WINDOW') = 'TRUE'
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.theme.ntp] [Network node query]: select N_GEOM from NODE WHERE MDSYS.SDO_FILTER(N_GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(-1.9158108694149043,51.53331822887607,-1.9007873348381232,51.53971209076865)), 'querytype=WINDOW') = 'TRUE'
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 50ms.
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 FINEST [oracle.sdovis.RE] xfm: 77145.62735398066 0.0 0.0 -124025.19999999895 147796.43141258793 6392223.099999947
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme RAILNET with 41 styled features: 0ms
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering SVG: 79ms
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 13ms
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 139ms
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 1ms
    05/09/29 15:52:10 Thu Sep 29 15:52:10 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 153ms
    15:52:10,319 INFO MapAction - THE ACTION IS = ZoomTo
    15:52:10,319 DEBUG MapAction - class omnieng.mapviewer.beans.PublicMapControler
    15:52:10,319 DEBUG MapAction - class omnieng.mapviewer.beans.PublicMapControler
    15:52:10,319 FATAL MapAction - NOW DOING POST PROCESS
    15:52:10,319 FATAL MapAction - NOW DONE POST PROCESS
    15:52:10,321 DEBUG HttpRequestControllerFactory - Getting controller
    15:52:10,322 DEBUG ControllerFactory - MAP_CONTROLLER
    15:52:10,322 INFO ControllerFactory - Current type is 5
    15:52:10,322 DEBUG ControllerFactory - current type is 5
    15:52:10,322 DEBUG HttpRequestControllerFactory - setting the controller omnieng.mapviewer.beans.PublicMapControler
    15:52:10,322 DEBUG HttpRequestControllerFactory - done

Maybe you are looking for

  • Is there a way to programati​cally call the LabVIEW "find" function?

    Hi, My situation is this. I've inherited a LabVIEW program with about 375 vi's. Now when I build this into an executable, for memory reasons, I only want the "remove panel" feature set to no for vi's that are dynamically loaded. But I don't know exac

  • I cant seem to get my cursor in my text message box so i can text

    When i put a number or find a name , my finger or pen wont allow my cursor to go into the text box so i can start typing. Is this a hardware issue or something that i can fix

  • Plug My Mbp Into A Screen

    Hello, i have been using mac for a long time and bought a Mbp 1 year ago, but i am facing a big probleme atm and hope some of you could help me. To make a long story short i like gaming and want to plug my macbook pro into a screen i had a look at th

  • IPhone photo library shows black, but it shows the number of pics in it

    Hello, I have a problem with Photo Library on my iphone4. It shows the number of photos contained in the Library, but when I choose the folder, it shows black. This happened after iTunes automatically synced with my iPhone without my wish or knowledg

  • ASM and Dataguard

    Hi, can we make asm database (i.e. database is managing by asm disk groups) as primary database in one server and configure secondary database in another server.