Double attributes in info window with advanced style

Hi,
I have a MapViewer theme with an advanced style and several attributes to display. The attribute column to render the advanced style should be displayed in the info window, too.
Its working so far but this attribute is displayed twice!
I only have this problem with advanced styles.
My MapViewer version: Ver1033p5_B081010
Does anybody know this problem?
Regards,
Cord

Hi Joao,
my theme XML definition:
<?xml version="1.0" standalone="yes"?>
<styling_rules key_column="SP_KEY">
<hidden_info>
<field column="SP_ROUTENR" name="Routennr"/>
<field column="SP_STARTDATUM" name="Startdatum"/>
<field column="SP_STARTZEIT" name="Startzeit"/>
<field column="SP_ENDZEIT" name="Endzeit"/>
<field column="SP_BC" name="Bordcomputer"/>
<field column="SP_VEHICLE" name="Fahrzeug"/>
<field column="*SP_MENGEINKG*" name="Menge (kg)"/>
<field column="SP_KEY" name="SP_KEY"/>
</hidden_info>
<rule column="*SP_MENGEINKG*">
<features style="V.FAHRTEN"> (SP_STARTDATUM = :1) AND
(SP_STARTZEIT BETWEEN :2 AND :3) AND
(SP_VEHICLE = :4) </features>
<label column="SP_ROUTENR" style="T.TEXT"> 1 </label>
</rule>
</styling_rules>
The column value "Menge (kg)" (node SP_MENGEINKG) is displayed twice.
Cord

Similar Messages

  • ThemeBasedFoi Not rendering with advanced style

    Hello,
    I have defined an advanced variable ranged bucket as:
    <?xml version="1.0" ?>
    <AdvancedStyle>
         <BucketStyle>
            <Buckets>
                <RangedBucket seq="0" label="Muito Pouco" low="0.0" high="19915.0" style="C.RED5" label_style="T.RIO"/>
                <RangedBucket seq="1" label="Pouco" low="19915.0" high="218128.12" style="C.RED4" label_style="T.RIO"/>
                <RangedBucket seq="2" label="Normal" low="218128.12" high="1992239.79" style="C.RED3" label_style="T.RIO"/>
                <RangedBucket seq="3" label="Muito" low="1992239.79" high="1.91553676E7" style="C.RED2" label_style="T.RIO"/>
                <RangedBucket seq="4" label="Elevado" low="1.91553676E7" high="1.1386E14" style="C.RED1" label_style="T.RIO"/>
        </Buckets>
       </BucketStyle>
    </AdvancedStyle>And the following theme, that makes use of the above style.
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
        <rule column="agg">
            <features style="V.VR_RED5">SELECT pk_instalacao, agg, geom
        FROM TABLE_I_GF_SQE </features>
      </rule>
    </styling_rules>When i render it in Oracle Maps all geometric elements are displayed in white color, not the color i specified in the advanced style.
    Any thoughts ...

    Hi J. Sharma, thank you for your response, sorry for my delay.
    This was just a test to see if i could specify, queries in the theme definition.
    I'm building a Spatial OLAP Server, and i need to define the themes dynamically, based on the spatial attributes, semantic attributes, and aggregated measures specified by the Spatial OLAP client.
    At the time i wrote my first post, i was realizing that mapviewer does not handle well the SDO_AGGR_UNION, so i decided to create a table with the result of a more complex query and render it with an advanced style.
    But the style failed, nevertheless i found a solution for the problem, as soon as i have some time i will post my results in the forum.

  • Advanced Styles with JDBC Themes

    Hi,
    I am trying to use the Java API to add a JDBC theme to a map request (no problem we have been doing this for some time). However, I now want to apply a predefined Advanced style to that theme but am struggling to do so. If I predefine a theme and use the predefined advanced style them it works fine. When I user the .addJDBCTheme call with the advanced style as the style parameter it does not work. I am guessing I have to use the setThemeRenderingRules to get this to work but the documentation is not great and I can't find any examples. Has anyone applied an advanced theme to JDBC layers and if so how did you do it, any help much appreciated.
    Chris

    Hi Chris,
    when using a predefined theme the attribute column (or columns) to be used by the advanced style are defined on the theme definition.
    For dynamic themes, you need to select the attribute on the dynamic SQL expression. On the following example, the column TOTPOP is used for the render style.
      <themes>
        <theme name="states" >
           <jdbc_query
             spatial_column="GEOM"
             render_style="V.USSTATES TOTPOP"
             jdbc_srid="8265"
             datasource="mvdemo"
             asis="false">select GEOM, TOTPOP from STATES
           </jdbc_query>
         </theme>
      </themes>Joao

  • 13.02 info window not working with layer groups?

    Normally when you have an adjustment layer selected the "info" window will display the before and after color values for the point under the cursor as well as any color samplers.
    Since upgrading to 13.02 when the selected adjustment layer is inside of a layer group it will display the values as after/after instead of before/after.
    Is this a common issue or is it just me?
    OS Version: mac os x 10.6.8 (tried with "Use Graphics Processor" both on and off)

    In your XML theme definition, you need to add a <hidden_info> tag to tell Oracle Maps which attributes from the select list you want to display in the info window.
    var theme = "<theme name='JDBC_THEME' fetch_size='200'>" +
    "<jdbc_query spatial_column='geom' jdbc_srid='8307' " +
    "render_style='m.star' datasource='mvdemo'>select geom, id, name, phone, city from customers" +
    "<hidden_info>"+
    " <field column=\"NAME\" name=\"Customer\"/>"+
    " <field column=\"PHONE\" name=\"Phone number\"/>"+
    " <field column=\"CITY\" name=\"City\"/>"+
    "</hidden_info>"+
    "</jdbc_query></theme>" ;

  • Help with Info Window (Hacker Challenge)

    OK, I'm cool with GB3 even though I don't podcast. Editing to a QT video is an absolutely great feature worth the admission itself, but...
    I really liked the floating info window. Others apparently also. Who's gonna write a script or find a way to either separate the window or have it open to the left?
    --Scott

    Create the popup in the usual way and then modify the
    javascript by adding
    whatever parameters are needed to call a recordset in the
    popup which the
    correct information, and the particulr field holding the key
    value.
    for example the simple popup creates a line like this
    <a href="#"
    onclick="MM_openBrWindow('Test.asp','','width=400,height=400')">Link</a>
    if auto_id holds the value then the line would be modified to
    <a href="#"
    onclick="MM_openBrWindow('Test.asp?ID=<%recordset.fields.item("auto_ID").value%>','','wid th=400,height=400')">Link</a>
    Then on the page being called simple create a recordset that
    will display
    the information using a querystring as the filter.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "David Wright 61" <[email protected]> wrote
    in message
    news:en0ne7$j9e$[email protected]..
    > Hi I am working on a Shopping cart web site I have set
    up my database and
    > I
    > have created my page to display items from the database
    the fields in my
    > database table are auto_id, category, sub_catagory,
    manufacture, style,
    > descripition, descripition2, price, image, image2,
    fc_id, link_id
    > What I am trying to do is to display this part of the
    info in one record
    > set
    > manufacture,style,descripition , image and price there
    will be a link from
    > this
    > page to display a popup and in that pop up I want to
    display
    > manufacture,style,descripition2,Image2
    > basicly I want to now how to put a link in database so
    when all of the
    > data is
    > displayed on the page I want to click on a link from any
    record that opens
    > a
    > popup to display a larger image and a longer
    descripition of the product.
    > and
    > anything else I may need from that record
    >
    > I hope this makes sense
    > Thanks for any help
    > Cheers
    > Dave
    >

  • Freezinng with document info window

    I have a problem with all of the programs in my Master Collection CS5. When I open the document info window it comes up blank and then freezes the program. Mouse clicks don't work and the blank window won't close. The only way to exit is to force quit. I'm on Macbook with 10.6.8 OS. This happens iwth all progrms, Illi, Indesign, Dreamweave ect. Is there a setting I could have worng?

    Looks like someone was kind enough to move this to the InDesign forum.
    Please run InDesign and get it to hang, and then open Activity Monitor.
    In Activity Monitor, select InDesign and choose Sample Process. Save the output, upload to http://pastebin.com/, and post a link here.
    Next, still in Activity Monitor, run View > Send Signal: Abort (ABRT). You will get a crash report. Upload that to pastebin.com (and post the link here).
    We should be able to tell you why your software is freezing.
    Though a good bet often is 3rd party plugins, or Adobe's SING component.

  • AGPM 4.0 SP2 Editors cannot open "Windows Firewall with Advanced Security" area of a GPO

    When attempting to Edit a checked-out GPO in AGPM, & navigating to "Computer Configuration\Policies\Windows Settings\Security Settings\Windows Firewall with Advanced Security\Windows Firewall with Advanced Security - LDAP://CN...." Editors
    get:
    "There was an error opening the Windows Firewall with Advanced Security snap-in
    An error occurred while trying to open the policy.
    Error: The system cannot find the path specified
    Code 0x3"
    This happens with GPOs that existed prior to AGPM install where the GPO was "controlled", and with new Controlled GPOs created within AGPM.  A workaround is to grant the user Full Control within AGPM (and have them re-launch Group Policy Management
    MMC via Shift right-click "Run as different user"), but this circumvents the Change Control we are attempting to use AGPM for.  Any ideas of how to fix this, or how to file a bug report?
    Also, changes made to Incoming Firewall rules do not show up in the AGPM Settings or Differences reports.  I'd imagine this is related to the known issue described on the Release Notes page here:
    http://technet.microsoft.com/en-us/library/dn458958.aspx

    Hi Fabian - Thanks for the response.  I checked & the AGPM Server is on a subnet that was not mapping to any AD Site.  Based on its subnet/location, it actually should be in the same Site as the PDCe.  I added a new Subnet definition to
    AD & waited until "nltest /dsgetsite" was reporting the correct Site on the AGPM Server.  Now, with just Editor role, I can access the Advanced Firewall area of a checked out GPO from my AGPM Client, which is correctly in a different AD Site. 
    I think this might have solved it.
    Should this requirement be added to AGPM documentation?  "AGPM Server must be installed on a server that is in the same AD Site as the DC holding the PDCe role."
    Thanks for the tip!

  • Advanced style rule (attribute) column can be a sql expr

    Just wondering if folks have used complex formulas or sql expressions for the rule column for an advanced style. If yes please post examples in response.
    The rule column used in an advanced style can be a sql expression. e.g. (TOTPOP/LANDSQMI) POPDENSITY to display a thematic map of population density instead of total population. The theme def would look like
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
    <rule column="(TOTPOP/LANDSQMI) POPDENSITY">
    <features style="V.POPPSQMI"> (landsqmi is not null AND
    landsqmi &gt; 0) </features>
    </rule>
    </styling_rules>
    In particular has anyone used CASE, DECODE, NTILE etc.?

    Try changing the following properties:
    autosubmit = true;
    immediate = true;
    Here is a link where the user uses a transient attribute for the rows in his table:
    Technology on my way...:): ADF 11g : CheckBox Demo (Select one checkbox in table, Select all/Deselect all)
    Hope that helps.
    Regards,
    Frederico.

  • Windows 8 Windows Firewall with Advanced Security snap-in failed to load Error code: 0x6D9

     laptop did not come with support cd all pre installed.
    I checked out The Windows Firewall with Advanced Security snap-in failed to load  for windows 7 pro           
    but it is not helping me with windows8 I am trying to update to windows 8.1 but this error wont let me
    Please help me

    Hi,
    I have exactly the same issue. Could you tell how did you fix it ?
    Thank you!

  • Mac G5 10.3.9 Samba Issue with Windows 2000 Advanced Server??

    I have just installed a new Windows 2000 Advanced Server network but the Mac G5s running OS X 10.3.9 Panther cannot navigate the server - the finder just hangs with a beachball. The PCs can navigate without any problems.
    Navigation is fine on the G4 running OS X 10.2.8 Jaguar on the same network.
    On the G5 I have tried creating a new user and put the Mac using DHCP but this doesn't solve the problem.
    I think I have tracked down the problem to Samba but am not sure - When I type in the direct samba link to the server:-
    smb://10.10.0.5
    The "SMB Mount" screen asks me which share I would like to mount. This works without a problem. I create a shortcut to the share. This also works until I reboot, then the problem reoccurs!
    I think I need to reinstall Samba, or update the Samba software?
    Does anyone have any thoughts,
    John
    G5   Mac OS X (10.3.9)  

    HELP FROM A GUY WHO IS NOT A SYS ADMIN OR ON AN I.T. STAFF!
    And with that dislcaimer...
    What sort of settings do you have checked in your Directory Access > Services panel? That is, do you have SMB turned on?
    Also, I would make sure that your server and computer's clocks are showing the exact same times-- just in case there is a synchronization issue.
    Our Macs have had similar, but not identical, problems in the past.

  • Is Oracle 10g Express Edition compatible with Windows 2000 advanced Server

    I have installed Oracel 10g Express Edition on windows 2000 advanced Server, but it is not working properly, but when i installed it on Windows 2000 Professional, then it is working properly, Does anybody know why this is happening. If anybody know why this is happening, please tell me and also tell me how can i install Oracle10g xe in Windows 2000 advanced server.

    There should be no issues. A few possible reasons you are running into problems:
    - installation using a domain administrator (it works best using a local admin);
    - firewalls or anti-virus software or other port blocking mechanisms;
    - DHCP resets;
    However, unless you tell us exactly the symptoms we are only guessing.
    My car didn't start this morning, but my wife's car did. Can you call me why based on this information?

  • When I am in the finder window and I double-click to activate "open with" it is replaced with N125. (Macbook Pro, 10.6.8)

    Hey guys, I have a slight problem. Anytime when I am navigating in finder, some commands get replaced with numbers and a letter. Like if I double-click to select "open with" N152 appears. Please Help.
    Macbook Pro, Mid 2009, 10.6.8

    Karwin wrote:
    This is sooo much, I have no idea where to start........
    download and install intego's virusbarrier
    http://www.intego.com/virusbarrier/
    run a scan and post the results

  • How can I stop the little song info window that opens with every song played in iTunes

    Is there anyone out there who can help me to stop the song info window that appears for a few seconds at the start of every song played in iTunes. I find it annoying and unnecessary

    NOT iTunes Preferences
    SYSTEM Preferencs

  • New browser window with javascript

    Hello,
    I'm trying to accomplish something similar to what has been
    discussed in other threads (Jess Learnin, 9/30/2008, and another
    thread from back in '07). I've tried the advice given in these
    threads and have had no luck. I would like to create a button to
    call a new browser window that displays a URL of my choosing. I'd
    like to specify the size and attributes of the new window. I've
    created a small dummy tutorial in order to work on this feature.
    I'm using the "Execute Javascript" option when configuring
    the button. I include the following javascript:
    window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no');
    I have the Captivate button context set to "Current". I have
    deselected "Continue Playing Project" (though I've tried it with
    that option selected as well).
    I've tried prefacing the script w/
    "javascript:window.open...", but no luck.
    I'm testing the file on a development server, rather than
    from a local copy. When I test in Firefox, my movie simply stops
    when I click the button, without opening a new window or loading a
    web page. When I test in IE7, the movie stops and I get a message,
    "Error on page"; still no new window.
    I do notice that I'm currently running Flash Player 10. I'm
    using Captivate 3. When I publish my file, my options only go up to
    Flash Player 9, which is what I have chosen. I don't know if this
    would make a difference.
    I have also tried altering the standard.js file in the manner
    that jbradley88 suggested in the 9/30/08 thread, and using the
    corresponding javascript in the button properties window, with
    similar unsuccessful results.
    I have tried running the movie on a different computer, in
    case some local setting was somehow mucking things up. I get
    nothing.
    Any suggestions? If anyone's willing to take a look, I can
    send along my small dummy .cp file that I've been working on.
    Thanks in advance.
    -Kelly

    Hi John,
    Here's the exact javascript that I currently have associated
    with the button:
    void(window.open('
    http://lib.berkeley.edu/BIOS/index.html',
    'myWindow','height=400, width=700, toolbar=no'));
    I've tried multiple permutations, including placing
    "javascript:" in front of the script, both with and without the
    void().
    The message in IE7 just says "Error on page". It's not a
    pop-up message; it's just the small message that appears at the
    bottom left of the browser window in IE7 when a page fails to load
    properly. The message doesn't appear until I click on the button
    that's supposed to call the javascript. There's a yellow
    exclamation point icon that appears next to the "Error on page"
    message. When I click on that I get:
    "Problems with this Web page might prevent it from being
    displayed properly or functioning properly. In the future, you can
    display this message by double-clicking the warning icon displayed
    in the status bar."
    It also displays a pointer to the error:
    Line: 1
    Char: 111
    Error: Syntax error
    Code: 0
    URL:
    http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
    I looked at the source for the page as displayed by IE7 (have
    also looked at the .htm and .js files generated by Captivate) and
    haven't seen anything obvious, but I'm somewhat unschooled in such
    matters.
    If it would help to see what it does, you can view the demo
    at the URL above.
    Thx again,
    Kelly

  • How do I make my iPhoto Library's version number appear in the Get Info window?

    I recently (within the past 2 weeks) purchased a new 27 inch iMac and have been importing data (applications and files) from my 2010 Macbook Pro via AirDrop.  One of the first files I migrated over was my iPhoto Library.  I doing so, I noticed a few differences between its file attributes and those of the iPhoto Library file created by default on my new computer - two of which I'll note here.  First, I noticed that the file resident on my new OS was labeled iPhoto Library.photolibrary while my older version did not have the ".photolibrary" extension.  That seemed simple enough to correct so I added that extension to my old library file.  The second difference I'd note - and the source of my question - is that the default iPhoto Library file displayed a version number (9.5.1) in its "Get Info" window, while mine did not.  I checked my file's info.plist file and the correct information seems to be listed.  It reads (in part):
    <dict>
                   <key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>
                   <key>CFBundleShortVersionString</key>
                   <string>9.5.1</string>
    </dict>
    </plist>
    I'm not sure this is really a question for the iPhoto community, as it seems like a more general issue; but, this is my first post to these forums, and I didn't know where to start.  Thanks in advance for the advise/suggestions.

    In terms of the info.plist file, I only reviewed it to see why I wasn't seeing the version number in the GetInfo window.
    The string "<key>CFBundleGetInfoString</key>
                   <string>iPhoto Libary 9.5.1</string>"
    is exactly what will be shown in the Get Info panel. I tested that by simply editing this string in a test library using XCode. I could "Get Info" to show ridiculous versions numbers this way.
    However, none of my older iPhoto libraries will show the version string in Get Info, only libraries I created with iPhoto 9.5.1. or Aperture 3.3 or later.
    There is probably one of the other database files in the folder "database" - *.appdb and *.db  interfering.  None of the Library First Aid options did make the version number show for my older iPhoto libraries - not even rebuilding the iPhoto library. The only way I could make the version number show in "Get Info" was by exporting the library as a new library using Aperture. But this exported library is now showing as Aperture library.

Maybe you are looking for

  • How do I know the "date added" for a file ?

    Hello, With Leopard, the folders in the dock can be sorted by "date added" (date when the file was added to the folder). Does anyone know a way to know this date for a given file ? I hope my english was clear enough :o) Thanks

  • Ap 1130 LWAP mode show only 802.11A

    Hi, I have some AP 1130 who's had strange behavior. For sometimes now, some of these AP stop showing the 802.11b/g/n Radio interface. So I can't enable it anymore. I try to reset the AP to factory default, nothing change. I had 2 controller WISM in m

  • Syncing problem, starts then stops... HELP!!!

    I recently reformatted my hd and reinstalled itunes. Now, when i go to sync it starts as its supposed to but then immediately stops. I cant figure it out as Ive tried searching for solutions everywhere! I found people having the same problem but it w

  • Package Change

    Hi i have created layoutset but i want change the package name(from one package to other package but not local object) thanks in advance

  • How to unlocked the disabled ipad4

    How to restore the disabled ipad? It didnt have any internet connection when it was locked. I have connected it to itunes but it still doesnt work. It is stated that the locked ipad isnt connected to internet. Please help