How to display a  User defined  symbol when using addLinearFeature

Hi ,
We are displaying our DataBase spatial data in the form of image on to the browser .
With the help of MapViewer mv.addLinearFeature i am able to draw lines on to it .
I have created styles in MapBuilder for our userdefined symbols and added to Mapviewerconfig file .
Now as per our requirement we need to put our user defined symbols in the middle of the line when a line is drawn using addLinearFeature
For example Like This :
Assume that (::) this is our symbol .
Please tell me how to do this .

You could use the marker (user defined symbol) as a label for the line. Something like the highways theme/style definition in the mvdemo example where the highway shield is a marker.
SQL> select styling_rules from user_sdo_themes where name='THEME_DEMO_HIGHWAYS';
STYLING_RULES
<?xml version="1.0" standalone="yes"?>
<styling_rules >
<rule >
<features style="L.PH"> </features>
<label column="ROUTEN" style="M.SHIELD1"> 1 </label>
</rule>
</styling_rules>
SQL> select definition from user_sdo_styles where name='M.SHIELD1';
DEFINITION
<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<desc></desc>
<g class="marker" style="width:20;height:18;font-family:sansserif;font-size:9pt
;fill:#ffffff;text-style:[t.shield1]">
<image x="0" y="0" width="9999" height="9999" type="gif" href="dummy.gif"/></g>
</svg>
SQL>
The content of ROUTEN (column/attribute) is displayed in the marker (m.shield1).
Will something similar work or is your requirement different?
If its to simply display a marker (i.e. your user defined symbol which is in the database user_sdo_styles view) somewhere along the line then use a line style definition like (see Appendix A of the user guide):
<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<g class="line" style="fill:#33a9ff;stroke-width:4;
marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8">
<line class="parallel" style="fill:red;stroke-width:1.0"/>
</g>
</svg>
This will display the marker M.IMAGE105_BW at about 0.15th of the line length.
If you want that marker repeated at fixed intervals (0.15 of line length in the following) then use
<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<g class="line" style="fill:#33a9ff;stroke-width:4;
marker-name:M.IMAGE105_BW;marker-position:0.15;marker-size=8;multiple-marker=true">
<line class="parallel" style="fill:red;stroke-width:1.0"/>
</g>
</svg>

Similar Messages

  • No pop up displayed for user defined variables when executed from a program

    Dear All,
    We have created user entry variables for the characteristic(s) with replacement type as 'User Defined Values' in the planning area.
    When I am running the planning function from BPS0, I am getting the pop up for the variables perfectly.
    But, when I execute this planning function from a program by calling the function module 'API_SEMBPS_FUNCTION_EXECUTE' I am not getting the pop up for the user entry variables.
    Is there any way where in I can get the pop up for the variables when I run the program?
    Regards,
    Srini.

    Srinivas
    You might want to check if the variable has a default value. Try "removing" the defautl value and check if it works.
    Srikant

  • How to display LOGO in ALV grid when using class CL_GUI_ALV_GRID

    Hello everyone,
    please let me know how to display Company logo as the header part in the report program with the class cl_gui_alv_grid.
    Thanks and regards,
    Padma.

    Hi,
    Got this info from a site.
    http://sap.ittoolbox.com/documents/document.asp?i=3213
    In the transaction OAOR, you should be able to insert your company Logo.
    GOTO - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    Try this one.
    Also have a look at this link
    http://www.sap-img.com/fu002.htm
    Message was edited by: Judith Jessie Selvi

  • How to display  Columns  in Alphabatical  order when using DESC command

    Hello
    A table column is inserted not in alphabetic order during the table creation definition.
    So while describing the table definition (e.g. desc emp)
    it will not show in the same order as we are written during the table creation.
    Question: is there any utility/command/query which will display the columns in alphabatical order while describing it.
    Regards
    Nikhil Wani

    select column_name from user_tab_columns
    order by column_name;
    should do it.
    Sunil

  • Illustrator CS5 + User Defined Symbols

    Hi,
    Could anyone please tell me is the saved user defined symbols suppose to appear in "../Applications/Adobe Illustrator CS5/Presets/en_GB/Symbols" folder? I do not see it appears in that folder however I managed to load it from "Open Symbol Library >> User Defined" when I am in Adobe Illustrator.
    That created another issue as I cannot delete the user defined symbol if I want to.
    ** I am also having the same issue for the user defined "Workspace" as well, it does not appears in "../Applications/Adobe Illustrator CS5/Presets/en_GB/Workspaces" folder.
    Thanks and regards,
    Wayne.

    The fact that To edit my User-Generated Symbols library requires ferreting about six layers deep in the system preferences is really really very broken.
    I should add, that the Illustrator font choice menus are still lost somewhere in the early 90's... Someone in management at Adobe should try a top-down redesign of these apps with a new group of people who start with the idea that anything is possible...preferably that don't care one bit how it used to work... (2 cents out of context)

  • How to send a user defined parameter to a web form?

    Hi,
    I4m looking for a solution how to send a user defined parameter to a web form when I start the form from a html-page.
    I think that it should work to add the parameter to the URL.
    Example: I added myparam=myvalue at the end oft the URL
    http://my.server.com:7777/f60cgi?form=myform.fmx&userid=scott/tiger@mydb&otherparams=useSDI=NO&lookAndFeel=generic&colorScheme=teal&myparam=myvalue
    How can I fetch the parameter myparam in forms?

    You have the user the otherParams parameter, which you can specify in the formsweb.cfg file, or override on the url. e.g. http://myhost/servlet/f690servlet?config=myApp&otherParams=myParam=myValue
    In the Forms Builder, in the Navigator window, there is a node called Parameters. Create one in there, and then you can refer to it like a block variable. e.g. if :myparam = 'myvalue' then...
    At runtime, Forms will match up any parameters on the command with parameters defined in your form, and populate them for you. You don't have to do anything.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How to display All User Logged in time & Logout Time?

    How to display All User Logged in time & Logout Time?
    Hi..
    I want to display All user who logged in the portal,
    their username,
    their time logged in,
    their time logged out..
    where can i find these information?
    do Portal have already something like this?
    Plz advise..Thanks.

    The login information is in the wwlog_activity_log. The logout action is only logged when it is explicit. I am using the last user action time for the logout time so I can determine the duration of the visit.

  • How to catch the user defined  exception in application service

    Hi All,
    How to catch the user defined  exception in application service  when it is throwed by the external service..
    Regards,
    Thirumurugan.

    Hi,
        Thanks for your reply,
            Actually I  am calling validate Login method of External service from the application service. When the login fails, my external service will throw user defined Exception.I want to catch the user defined Exception.
        But in the application service , validate Login method can catch  only Invocation Exception and Engine Exception.
       These two exception are present in the Application service remote interface.
      public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException;
    User defined exception is not present there. When i include the webservice as external service in CAF, it suppossed to generate the java file for the custom exception of validate Login method and this generated file should be included in the application service remote interface..
    public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException,
    (generated file name of user defined Excpetion.
      Then only  validate login method  of application service can catch  the user defined Exception which is thrown by the  external service.
    regards,
    Thirumurugan.p

  • Add Symbol to User Defined Symbol Library

    How do I add new symbol to an exsiting user defined symbol library? AI CS5.5, Mac.

    The library is an AI file. You just need to locate it on your disk, then open it in Illustrator, add the symbol to the symbol panel and save

  • How to display a user message on WEBI Home page ?

    Hi all,
    How to display a user message on WEBI Home page ?
    like when ever the data gets scheduled at etl side i want to display a message a message on info view home page "new data is uploading" is this is possible to do ?

    Unfortunately this is not possible to do "out of the box".  There aren't any pre-configured options that will let you do this.  You're only real option is to try and modify the infoview source code yourself to do this.
    Regards,
    Shawn

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • How to add a User Defined Field in OUBI

    Dear Experts
    I would like to find out how to add a user defined field into OUBI from a Customer Care & Billing source system. If anyone could list the steps involved or point me toward a source of documentation that sets out the steps involved it would be much appreciated.
    Cheers
    Tim

    Is there anyone out there who has had experience using OUBI with CC&B?

  • How to Add a user defined field in transaction-PKMC?

    Could anyone tell me the step by step process of how to add a user defined field in transaction-PKMC?
    Moderator message: please do some research before posting.
    Edited by: Thomas Zloch on Jan 16, 2012

    Is there anyone out there who has had experience using OUBI with CC&B?

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • How do we create user defined Task in OM & Which report we run for the Task

    Hi
    How do we create user defined Task in OM & Which report we run for the Task.
    Regards
    Rajesh

    You can create tasks using PFCT or path: Human resources> Organizational management> Expert mode> Task catalog in Easy access.
    Check this link may be useful for you: http://help.sap.com/saphelp_40b/helpdata/pt/fb/135d89457311d189440000e829fbbd/content.htm

Maybe you are looking for

  • Invoice Block - Price Variance (PP)

    Hi Folks, I have a question in Invoice block for Price variance (PP) I have maintained the following upper limits Absolute Check limit Value - 5 Percentage Check limit 5% I am creating PO for 1MT with a price of 4,720 INR, i have done GR Now Invoice

  • None approval process for Purchasing Info Record

    Hi, Are there some approval process in SAP for Purchasing Info Record? Now, we use ME11 to creat Purchasing Info Record. And use ME12 to modify Purchasing Info Record. I feel it is very dangerous. Becase if someone make a mistake. Nobody know. If the

  • ICloud not synching

    I recently noticed that Syncing from calendar to my two iOS devices is no longer working. It might have been since I updated to Mavericks. Yes, although I don't like it, I have all the devices set to use iclown to sync the calendar. I also followed a

  • How can you copy form data from an online PDF, in your browser?

    Just a quick query, I've recently filled out an online application and I filled this out on an online PDF form. This is the form link: http://3fivetwo.com/dloads/application_pack_-_admin_long10.pdf How can I copy the data I typed into this form, to a

  • Difference between MS Dynamics CRM Marketing Module & MS Dynamics Marketing

    Dear all, Can anyone guide me to urls and pricing between  MS Dynamics CRM Marketing Module & MS Dynamics Marketing in terms of pricing and features? If i already have MS Dynamics CRM 2013 (Online & on-premise), does it include the MS Dynamics Market