Mapviewer SVG and Theme Selection

Im trying to highlight a line by clicking on the line. Im using the svg feature. Here is the xml request im using:
<?xml version="1.0" standalone="yes"?>
<map_request
title="Oracle LBS MAP"
basemap="demo_map"
datasource = "mvdemo"
width="640"
height="480"
bgcolor="#a6cae0"
antialiase="false"
format="SVG_STREAM">
<themes>
<theme name="theme1" selectable_in_svg="true" >
<jdbc_query
spatial_column="geom" jdbc_srid="8265"
render_style="transparent_color"
label_column="destination" label_style="t.street name"
datasource="mvdemo" key_column="origin">SELECT geom, origin, destination FROM flight_geometry WHERE origin ='PHX' and destination ='SDF'
</jdbc_query>
</theme>
</themes>
</map request>
The map is generated a line is displayed however, when I click on the line nothing happens. I set the key column and the selectable in svg attribute. Now when I look at the map, save the svg source to a different file and manually manipulate the featureselect variable in the svg javascript code, view the svg map and click on it it turns red. What is the correlation between the featureselect variable and mapviewer??? Am I not setting a parameter somewhere?? Any help would be appreciated.
Thanks,
Mo

I do not think the feature selection function is available on line features; it is only supported for Area and Point features. we will support linear feature selection/tool-tip functions in the next release.
A possible workaround is to identify a mid-point on the line feature, and place a marker on that mid-point feature. you can then select that point feature and display any information that might be associated with the underlying line.

Similar Messages

  • Mapviewer SVG and Content-Type http header

    Hello,
    We have a Mapviewer installation that seems to be serving up the wrong Content-Type header for the SVG charts. The map is being created correctly and we can get GIF's and such.
    The wrong Content-Type causes the Adobe SVG viewer to never render the SVG map successfully. When I save the SVG file to the desktop it opens perfectly or if I statically link it in to the web page from the sever it also opens perfectly. Is there some configuration that is missing somewhere on the mapviewer or the application server to correctly set the Content-Type ?
    Notice the content type of the failing map compared to a working SVG chart we have.
    HTTP/1.x 200 OK
    Content-Length: 41979
    Cache-Control: private
    Content-Type: application/octet-streamConnection: Keep-Alive
    Keep-Alive: timeout=5, max=999
    Server: Oracle-Application-Server-10g/10.1.2.0.0 Oracle-HTTP-Server OracleAS-Web-Cache-10g/10.1.2.0.0 (N;ecid=92576875655,0)
    Last-Modified: Wed, 16 Aug 2006 20:31:58 GMT
    Date: Wed, 16 Aug 2006 20:32:01 GMT
    Accept-Ranges: bytes
    instead of a working SVG graphic
    HTTP/1.x 200 OK
    Date: Wed, 16 Aug 2006 20:35:32 GMT
    Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/9.0.3
    Content-Length: 3831
    Content-Type: image/svg+xml; charset=utf-8Connection: Keep-Alive
    Keep-Alive: timeout=5, max=999
    This seems to be the last sticking point in successfully rolling out this mapviewer implementation. Any help would be greatly appreciated.
    Thanks, in advance.
    Thanks,
    Carl

    Hello,
    Thanks for the reply I've tried both SVG_URL and SVGZ_URL and used a http header sniffer to watch what's getting served up and the urls associated with MapViewer SVG are definitely getting served up with that wrong Content-Type.
    Our front end is an Oracle APEX environment were we use APEX's SVG charting on the same page and they are getting served up with the correct Content-Type and display correctly, which is nice cause I can watch the header difference's side by side, and we know the mapping itself is working right because we can get image files back
    Is there a sever config file or something like the httpd.conf for apache that needs to be set?
    Thanks for any help or insight
    Carl

  • When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page.

    When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page. I don't want to have to check off an additional 5 or 6 attributes each time I print out contact information. Is there a way to change the default setting for printing lists, so it is not just "phone," "photo," and "job title?"

    I have a user who wants to do this same thing. I did not find any way either to default the attributes to anything other than what you see the first time. Seems like such a trivial thing, hard to believe they do not allow it. I did find a program for this called iDress but I can't seem to download it from any links on the Internet. Not sure if it is free or not, but it was recommended by a link on the Mac support site.

  • How can I print multiple copies of the same photo onto one sheet of paper?  Do I have to Duplicate the photo in iPhoto and then select them all?

    How can I print multiple copies of the same photo onto one sheet of paper?  Do I have to Duplicate the photo in iPhoto and then select them all?

    no - you simply have to select the option to print mucliples of a photo on a page
    select the photo and go to the file menu ==> print - select the printer, paper size and print size and click customize - in the tool bar click on the settings icon (the gear looking thingy) and select "multiple of the same photo per page" and the preview will reflect this option showing a full page of the selected size photos
    LN

  • I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can g

    I am running MS Office for Mac 2008 on my MacBook Pro.  I do not have the Standard and Formatting toolbar fixed into position, as I would expect and would like.  I can access them via the View menu, where I have to select and de-select them before I can get them to display, but lose them when I log off. Can anyone help?  I have tried all the usual and supplied help facilities to no avail.  Thanks

    Post the question in Microsoft's own Office for Mac forum.

  • Mapviewer svg jsp - example for enableFeatureSelect ?

    hi,
    can anybody give me a simple example for enableFeatureSelect/getSelectedIdList (or even for enablePolygonSelect to get some highway-id's)? in the demo mapinit.jsp with svg you can zoomin and recenter.
    i want to create a new radio button for clicking on the svg and not to zoomin or recenter, but for selecting and highlighting a county.
    how can i select a county so it changes its color and i can get the id for this county?
    greetings
    thomas

    There is a SVG Territory Manager Demo that comes with MapViewer that can be downloaded from OTN. It alows you to select a county on the map and it uses the enableFeatureSelect and getSelectedIdList functioins. If you have not downloaded the latest 10.1.2 mapviewer and the demo data, you can download it from here, http://www.oracle.com/technology/software/products/mapviewer/index.html.
    Basically you need to do the following things to make it work.
    1. In the XML base map definition, set "selectable_in_svg" attribute and onclick function for the theme on which you want feature selection to be enabled . Here is an example,
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="STATES" min_scale="50.0" max_scale="4.0"/>
    <theme name="COUNTIES" min_scale="4.0" max_scale="0.0" min_dist="0.5" selectable_in_svg="true" onclick="selectCounty"/>
    <theme name="STATES_LINE" min_scale="4.0" max_scale="0.0"/>
    <theme name="HIGHWAYS" min_dist="1.0"/>
    <theme name="CITIES" min_scale="1.2" max_scale="0.0" />
    </map_definition>
    2. Define the onclick javascript function in your jsp/html page where the svg map is embedded. For example, if you have created a base map using the sample XML shown above, you should define a javacript function called "selectCounty" to handle the mouse click event when the feature is clicked. Inside this javascript function, you can call getSelectedIdList to get the id of the clicked feature.
    3. In your jsp/html page, call javascript function enableFeatureSelect to enable single feature selection.

  • Styeles and themes in map builder

    Where are the styles and themes created using the map builder tool stored?

    Hi Richard,
    For styles, you can definately create them once (in any schema), and use them from any other schema. For instance if you are connected as user A and you want to apply the style 'star' defined in user B, just use the format 'B.star' to reference it.
    Themes and base-maps, however, cannot be shared across schemas at the moment. This is mainly to keep things simple. If we allow cross-schema reference of themes & basemaps, you will soon end up with some confusing scenarios.. For instance, imagine this:
    MapViewer is connected to db user A, and we want to display a basemap from user B. The base map contains a theme from user C, and another one from user D. The first theme actually relies on a table owned by user E, while the 2nd theme gets its data from a view ownded by user F... pretty soon we no longer knows what is really being displayed on a map.
    So my suggestion is to create styles in any place you want, but create themes (and basemaps) in the user that is connected by MapViewer, in this case, your <schema>_WEB account.  Different applications or departments within an organization often want 'personalized' themes/basemaps for the same tables, so storing themes/basemaps closer to the application (instead of their underlying data) is not a bad idea (i hope).
    There is unfortunately a bug in Mapviewer that makes it hard to create a theme for a table from a different schema (yea we tried to 'keep it simpler' - bad idea). Currently, the work around is to manually change the user_sdo_themes entry, so that its 'base table' column looks like 'schema.ROADS', and also add an entry in user_sdo_geom_metadata for 'schema.ROADS'. This will be fixed in the MapViewer soon, and also in Map Builder so that when creating a new theme, you can see all the spatial tables across all the schemas you have 'select' previlege.
    thanks
    LJ

  • I want to get rid of the Bing screen but there is no "menu at the top of the Firefox window" for me to "select Tools and then select the Add-ons menu item. "

    I suddenly have a "Bing" screen when I sign onto Firefox---and I want to get rid of it. The support section of Firefox says
    1. "From the menu at the top of the Firefox window, seledt Tools and then select the Add-ons menu item."---but I see no "menu item" nor Tools, much less Add-ons.
    2. "In the Add-ons window, click on the Extensions panel."---but how do I find the Add-ons window?
    3. Find the Bing Bar and Search Helper Extension in the list and click Disable for each of them."---but what and where exactly is that?
    At the top of the screen is only a Yahoo icon on the left and to the right of it a search box, "Web Search,", "My Apps," Yellow Pages," "Weather," "Updates," and "Skype." to the right of those there is a green cross saying "Add more apps. to your toolbar" and to the right of that a sort of gear shift looking icon saying "toobar settings."
    So, in short, how do I get rid of the Bing screen and how do I access those Tools?
    Thanks.

    To get rid of Bing Search Window..............
    Click on View tab / Tools and un-check 'Search' (alias for 'Bing')

  • Download and upload selection screen texts

    hello,
           My requirement is to upoad and download selection screen texts from one system to another..
           How do download  the selection screen texts from program to the application server and then upload them on another system. I am writing a bdc to carry out this process...
          Please help me out with this..
    Thank you,

    Hi,
      Why don't you just transport it? If it is linked you can asked basis to set the transport part and link it. If it is not you can download the transport and import it on another system.
      If you still need a program to do that. You can use SAPlink on [http://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink]. SDN provided such code already just download it and implement it on both of your system then you can copy a program with selection screen.
    Cheers,
    Chaiphon

  • Hi All, difference btwen data selection and person selection period in ldb

    Hi All, difference btwen data selection and person selection period in ldb -pnp
    If possible provide with an example .Its Urgent pls.

    Hi,
    Difference:--
    Data Selection Period
    The data selection period enables you to specify the period in which employee data records are read. Only records which overlap with the specified period by at least one day are selected. To define an interval, enter the start date in the left column and the end date in the right column
    Person Selection Period
    When you enter a person selection period, the system selects only those employees who are members of the enterprise on at least one day in the specified period. These are persons with a valid Organizational Assignment (0001) record. Entries in the standard selection options fields limit the personnel numbers that are selected. You can specify an interval by entering the start and end dates in the left and right columns respectively.
    Selection criteria in PNP are just used to determine the pernrs which meet them. For these pernrs then all wanted data is selected. This data then is not checked against this criterias.
    An Example:
    Pernr 4711 has benn assigned to costcenter 10 from 01.01.2004 until 31.12.2004. On 01.01.2005 costcenter changes to 20.
    If you now select all employees with costcenter 10 and list their costcenters, you will get both costcenters 10 and 20.
    Most reports which use PNP have to sets of date-ranges:
    - Person selection period that controls selection of pernr.
    - Other period that controls selection of data.
    If you set person selection period in above example to 01.01.2004 and other period to 01.01.2005 and select costcenter 10 you will in fact get employee 4711 with costcenter 20 shown.
    Same effect with org-unit or any other selection criteria.
    Regards
    Vasu

  • Need help with parameter fields and report selection.

    Hi all:
    I hope some one can help me with the problem I am having with my parameter field and record selection.
    First, can anyone explain to me why my parameter field CustStart, which is dynamic and is based on the field Customer in the table CustMaster.  There are over 1800 records in the CustMaster table but the drop down list only shows maybe about half of them and there is no way to scroll down to the last customer record.  What am I doing wrong?
    Second, is there any way to base a parameter field on a formula field on my report?  On my report I have created a field Cust that is the customer name and number joined together in one field.  I would very much llike to use this formula in my record selection and in my parameter field.  Can it be done?
    All help is greatly appreciated
    Thanks,
    FatMan

    Hi,
    You can use the following for changin increasing the LOV.
    Crystal Reports XI BusinessObjects Enterprise XI
    For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
    How can you modify the maximum number of values available in a dynamic parameter list?
    Resolution
    To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
    CAUTION     The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    Crystal Reports XI Release 1
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    NOTE     The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    3.      After making changes to the registry, restart the affected service or application as required.
    Crystal Reports XI Release 2
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. 
    NOTE     The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    3.     After making changes to the registry, restart the affected service or application as required.
    I hope this helps you.
    Regards,
    Prashant

  • Lines appear where svg and other backgrounds overlap

    I am preparing PDFs via XSL-FO, using RenderX.  One construct in the PDF is produced from an SVG graphic that is placed side-by-side with a table cell.  Both the SVG and the table cell have identical background shading.  In Acrobat Reader X and Acrobat Pro 9.0, at 200% zoom or smaller, small horizontal and vertical lines appear where the SVG and cell backgrounds adjoin; at larger magnifications, these lines do not appear.
    Why do these lines appear, and can anyone suggest how to prevent them from appearing?
    Thank you,
    David Kelly

    You could poll some web developer types on the unofficial forum here: [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. (Separate forum, separate registration.) They likely will want a test case to play with.

  • Multiple users and multiple select options

    Hi,
    First of all, let me congratulate Oracle HTML DB team for this great product! This is extremely powerful and useful.
    I have multiple selection item on the form to generate report for the selected multiple schools. I have two critical questions.
    1) Currently I am deleting all records from database tables for multiples selects and similarly selecting all records from these tables to populate dependent LOVs and so on. This is a major issue when multiple people use this application at the same time. I looked at couple of examples to create, delete and select records based on IDs (unique) and it is not clear to me if I need to create parameter/hidden params on the reports side or on the HTML DB side or .. how do they communicate etc. Could any one clarify this process of checking for unique IDs please.
    2) Is there any way to give an option to the user to treat multiple selected item as just one single and to treat them separate? For example, if we let the user count number of students at two schools, how can we let the user count two schools separate as well as both schools together? This should also further ask for the possible options separate for both schools separate if they were to run separate.
    This is very important for me and appreciate any help from you. Thanks in advance.

    Hi,
    Could any one point me in the right direction, please!
    Thanks,

  • Can not import my wav. file, message "unable to decode and import selected wav/mp3 file"

    Please help, i don't know how to import my wav file. I checked to see if the settings are compatible
    and it seems like them are. The wav file im trying to import is: 88kbps, 11kHz...

    I don't think so, if its not how do I get it to be?
    (Embedded image moved to file: pic07711.jpg)
    Jackie Stjepanovic
    Trainer
    Staff Development
    Automobile Customer Service (ACS)
    (310) 781-4627
                                                                                    Captiv8r                                                 
                 <[email protected]                                        
                 >                                                          To
                                           Jackie Stjepanovic             
                 11/23/2010 08:56          <[email protected]>
                 AM                                                         cc
                                                                                    Subject
                 Please respond to         Can not import my
                 clearspace-974018         wav. file, message "unable to  
                 851-110472-2-3295         decode and import selected wav/mp3
                 [email protected]         file"                          
                     dobe.com                                                                               
    Is it PCM encoded?
    Cheers... Rick  
    http://www.robowizard.com/pc.gif
    Helpful and Handy Links
    http://www.gooberguides.com/ProductPages/Captivate/Captivate5Foundations.htm
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com

  • Chance Xfce desktop icon color and folder select background color

    Hi there,
    I'm using Xfce as my DE and I have installed this theme.
    The problem is, because I have a black desktop background I can't see the icon's labels very well. I already tried to change the color with the file .gtkrc-2.0 in many ways, including the one in Arch Wiki, but the problem continues.
    The other problem is, when I select a folder/file in Thunar the background is white, and again it's very difficult to distinguish between selected and not select folders/files. How can I change the background color? (This one I have no idea of how to make).
    Thanks in advance.

    Hello,
    Try here: http://support.apple.com/kb/HT2493?viewlocale=en_US and here:
    http://www.apple.com/downloads/macosx/icons_screensavers/
    Carolyn

Maybe you are looking for