MapViewer label placing problem status

I would like to ask the status of the enhancement of label placement using the SDO_POINT in a SDO_GEOMETRY as anchor point. I would also like to place an enhancement request how to use the "anchor point", (CENTER, LEFT, RIGHT, TOP, BELOW) in MapViewer.
---- Previous discussion in december 2004 -------------------------------------------
MapViewer does not seem to use the SDO_POINT (3rd argument) that is contained in the SDO_GEOMETRY type for a polygon when placing labels.
It seems to place the labels arbitrarily. From my point of view it would seem logical that MapViewer tries to place the labels on the SDO_POINT before trying other possibilities.
For example: Imagine a big house on the corner of two streets and you want to display the house-number as a label of the house-polygon. You want to display the house-number on the side of the right street. Other Map Generators (like MapXtreme) place the label on the SDO_POINT of the house-polygon, MapViewer doesn't. This SDO_POINT is manually placed by CAD users and forwarded into Oracle Spatial and is therefore important information.
You observation is correct. Currently MapViewer ignores the label point defined in a polygon for labeling. We are considering adding this to the next release.
Ji
------------------------------------------------

It's in our plan for next mapviewer release(not the one already on OTN).

Similar Messages

  • Showing one data point on a line chart - X-axis label placed away from its actual position

    Hi Guys,
         In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted.  Please see the screen shot attached with this post.
    In screen shot, x-axis label "Jan" displayed in left most position.
         And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
         Can any body help me to fix those two issues.

    I figured out a way to customize a single datapoint in a line series.  The solution is at this link:
    http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/

  • ERMS Attribute "Problem Status" not picking up value in Mail Form

    Hi All,
    As per the current system, we have a mail form where we have added an attribute "Problem Tracking Text" and it inserts the Problem record number in the outgoing email.
    Currently we need to add another attribute, "Problem Status". But when this is added to the Mail form, it does not pick the status in the outgoing email.
    "Problem Status" attribute is maintained under E-Mail Response Management System -> Define Repository
    What other configuration is missing. Please advise.

    Issue is resolved. For those who might face this issue in future-
    Problem Status is automatically stored in Fact Base. There is no need to have them as text in the email.
    One can directly add them in rule policy. It was not working for us because Fact Base it was stored as E0005 and in Rule policy it was stored as Completed. Once we changed the input value for rule policy to E0005, it works perfectly.

  • Drag/Drop a label placing it in its new x,y co-ordinates

    I'm working on a project where I need to drag a label around
    and when dropped, it should be placed wherever my mouse is. So far,
    I can drag it onto a canvas, but it dissapears - when i drag the
    label onto the canvas, its location should be wherever my mouse is
    currently at, ie. i want to drag a label then drop it to a new
    location.
    I already know the code for all the drag functions &
    classes (dragInitiator)- but I'm wondering about the code to
    implement dropping the label to a new location based on my mouse's
    x,y co-ordinates. Please help. Thank you.

    i think u need to do some computation here ... while in the
    dragit() event u should have an account of the mouseX and mouseY
    positions (the positions on the label not the container) with you.
    Then finally when u are dropping it ... u have to take into account
    that u subtract a relative value of this mouse X & Y (relative
    to the container) from the actual container.mouseX and
    container.mouseY.
    here is an example that is working on my system :-
    private function dragIt(event:MouseEvent, text:String, //
    [this is the mouse move event]
    format:String):void {
    tempX = this.mouseX;
    tempY = this.mouseY;
    var dragInitiator:Label = new Label();
    private function dragDropIt(event:DragEvent):void{ // [this
    is the drag complete event]
    this.x=this.parent.mouseX - tempX;
    this.y=this.parent.mouseY - tempY;
    I hope u find the solution with this!
    Sumitro

  • MapViewer data source problem in the morning

    Hi all,
    I have the Oracle Application server 10g and Oracle database 10g installed on 2 different computers. On the application server I have installed MapViewer the last version.
    I have defined a datasource in the configuration file and that works perfect.
    My application uses mapviewer through java and displays the generated image in an jsp. The same working as the demos though.
    Each night there is a backup of the database made on the other computer.
    The MapViewer/data source remains open through the night. When I come to the office in the morning, and i try to access my webpage with the mapviewer image, I get an
    500 Internal Server Error, java.lang.NullPointerException...
    I check in the admin page of the map viewer the following:
    <list_data_sources /> - The datasource is still defined
    <data_source_exists data_source="blabla"/> - The datasource exists
    If i try to <list_predefined_themes data_source="blabla" /> I get again an error. It seems that the connection with the database is not working.
    If I <redefine_data_source ..> or <restart/> mapviewer everything starts to work again without problems.
    I have attached further some erros I have in the log file, maybe it will help you to help me ;-)
    Regards,
    Adrian
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] *** Exception while querying theme: LEVEL_1
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.DBMapMaker] Message:Exception while querying theme: LEVEL_1
    Description: Nested exception is:
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
    Thu Feb 02 08:10:28 CET 2006 WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:null
    Thu Feb 02 08:10:28 CET 2006
    Severity: 0
    Description:
    Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:12:45 CET 2006 ERROR [oracle.lbs.mapserver.core.MapperConfig] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)

    Hi,
    please post how you did define the data source in the configuration file.
    Thanks.

  • Label Printing Problem

    Hi
    I created a smartform( Travel Card in PP).
    the label is showing in Print Preview as   1
                                                               2
                                                               3
    but the printouts are coming as  3
                                                   2
                                                   1  am using Zebra printer for this label
    Please solve my problem its urgent
    Thnaks in advance

    Hi ,
    sort the internal table before supplying to the smartforms .
    Regards

  • Problem Status Gui in Ecc 6.0

    Hi all,
             I have a problem in Ecc 6.0 with status gui. The status not allow to write on the help icon. This icon (help) is protected.
    In 4.6c, the status gui allows to write. The Icon isn't protected in 4.6C.
    Many thanks.

    Hi Jose,
    I would open an oss ticket in your case with BC-OP-AS4 ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

  • How to display mapviewer labels in two lines instead of one?

    Hi,
    I have been using the addJDBCTheme to display the map along with the labels as follows:
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 || ':' || col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    So the label is displayed as col1Value:col2Value.
    Now I need to display the label as follows:
    col1Value
    col2Value
    I tried using this
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 || chr(10) || col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    But it doesnt work. This displays col1Valuecol2Value
    So I tried using this:
    mapviewer.addJDBCTheme("aaa","a", "SELECT geom, col1 label_value from table_name UNION ALL SELECT geom, col2 label_value from table_name","GEOM","","styleName","label_value","T.ROAD NAME" ,false);
    This actually works. Meaning it displays the label in two lines. But the two lines are almost attached together, there is no space between them at all. It is sometimes very difficult to read.
    Would really appreciate any suggestions to resolve this issue.
    Is there any other solution to display a label in two lines? I tried changing the label style to set the line-height. But that does'nt work either.
    Lakshmi

    Multiline label aren't supported as yet.
    JayantDoes MapViewer 10.1.3 (the latest version for present) support it?

  • Label Printing Problem, Laserjet Professional p1566

    I have this problem and it's getting me crazy.
    I just bought a Laserjet Professional p1566 and I'am trying to print a Tico label (LP4W-3714, 5 collomns, 20 rows) for tubes in the lab. The problem is that when I print, the printer loses the exact position of the labels, i.e. in the vertical view, for the first rw it starts almost in the correct position, then for the last row it finishes in the 19th row instead of 20th. It means that it prints the whole page a little smaller than the actual size, so it prints everywhere, on the labels and in between as well. On horizontal aspect I have the same problem somehow. Before I had a Laserjet 1010 and it had the same problem of the vertical positioning, but not the horizontal.
    Any help would be appreciated

    Upgrade to CR XI R2 for free and test again

  • Label printing problem from Business Object Infoview

    Hi,
    I got a problem with printing label (roll) from Zebera Label Printer. The label is designed in CR XI which works properly printing from Crystal Report XI and Zebera printer prints labels (more then one labels) without any trouble.
    But the same label (report) does not get printed with all its  pages (labels) from the same Zebera Label Printer using BO infoview. It prints only one page (1st label) and stops.
    It seems that BO infoview takes all the labels converted in pdf as one page. Where I want that each label should be considered as single page.
    Any idea?

    Thanks Don
    Yes the same report is published in the BOE.
    From infoview, It prints on the screen eight (8) labels in two column on one A4 size page. While I want to have each label (W=3.9in x H 2.1in) as one page printed.  So that, each label can be printed as one page on label printer.
    I want to print as pdf format then printing on Label Printer.
    Thanks
    GJ
    Edited by: GuroJee on Apr 28, 2010 1:36 AM

  • Placing problem in In Design cs 5

    I am having a bizarre problem placing text from Word 2003 to in design cs5. The autoflowed text only shows up on the odd (right-hand) pages and the left-hand pages are blank.  Any ideas about what the problem could be?

    Are there master text frames? Sounds like there are and either there's only one on the right page, or they're not properly threaded.

  • [CS3 Server] Image placing problem

    I use kImportAndPlaceCmdBoss command for placing text and images into my document.
    With text it works correctly but when I try to place image (jpg) I got grey rectangle instead of image. Command processed without any error message.
    What is the correct way to place image?

    Thanks Ian. This works.
    Also I have other problem that could relate to IServerSettings interface: redo/undo doesn't work in my plugin.
    In the comment to the IServerSettings interface there is remark about this:
    The undo state is referenced when creating new documents and is used to control the document's
    command mgr undo state.  Changing the undo state with IServerSettings has no effect
    on the current undo state of a document, only new ones.  By default the undo state is kFalse
    for increased performance.
    but IServerSettings doesn't contain any methods for enabling this feature.
    Is there other way to do this?

  • Spark Label event problem

    Event handler for a Spark.Label control:
    private function onLabelClick(e:MouseEvent):void
    trace(e.target);
    trace(e.target.text);
    First trace returns: '[object TextLine]'
    Then I get this: ReferenceError: Error #1069: Property text not found on flash.text.engine.TextLine and there is no default value.
    What is going on here and how to fix it ??
    And: is it just me or does anyone else have LOADS of problems dealing with all the new 'improvents' in Flex 4??
    (I have to admit that I find the new spark stuff very confusing)

    Hi,
    Try using currentTarget.
    As far as flex 'problems', flex 4 is in beta and as things change this could be considered a problem but its beta which means expect a little confusion
    fundamentally the basic stuff still work the same, spark has a bit of a learning curve which is to be expected when a product becomes more powerful.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Script>
    <![CDATA[
    protected function label1_clickHandler(event:MouseEvent):void
    lblResult.text = event.currentTarget.text;
    ]]>
    </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Label x="148" y="85" text="A Label that is clickable" click="label1_clickHandler(event)"/>
    <s:Label id="lblResult" x="148" y="115" text="result"/>
    </s:Application>

  • Activating Swap "FAILED" while booting + Label swap problem

    Hello everybody
    I noticed when I was powering on my system that I had a red label "FAILED" next to 'Activating Swap'.
    i looked at :
    https://wiki.archlinux.org/index.php/Swap
    https://wiki.archlinux.org/index.php/Pe … ice_naming
    https://bbs.archlinux.org/viewtopic.php?id=103997
    https://bbs.archlinux.org/viewtopic.php?id=122962
    https://bbs.archlinux.org/viewtopic.php?id=132309
    # swapon -s
    Filename Type Size Used Priority
    # free -m
    total used free shared buffers cached
    Mem: 2761 2642 118 0 124 1312
    -/+ buffers/cache: 1206 1555
    Swap: 0 0 0
    # blkid
    /dev/sda1: LABEL="boot" UUID="5C187AF40E0AEC1C" TYPE="ntfs"
    /dev/sda5: LABEL="arch" UUID="74bb0a35-feac-468a-a58f-f842c7fd5340" TYPE="ext4"
    /dev/sda9: LABEL="disk" UUID="0ACFB85358B278B7" TYPE="ntfs"
    /dev/sda10: UUID="62c63c59-8dc0-4b84-8752-0801a0ae9657" TYPE="swap"
    # cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    LABEL=arch / ext4 defaults 0 1
    #LABEL=swap swap swap defaults 0 0
    /dev/sda10 swap swap defaults 0 0
    LABEL=disk /media/disk ntfs defaults 0 0
    here i tried to label the /dev/sda10 : swap =>
    http://linux.about.com/od/ptn_howto/a/hwtptn07t00.htm
    # e2label /dev/sda10 swap
    e2label: Bad magic number in super-block while trying to open /dev/sda10
    Couldn't find valid filesystem superblock.
    # tune2fs -L swap /dev/sda10
    tune2fs 1.41.14 (22-Dec-2010)
    tune2fs: Bad magic number in super-block while trying to open /dev/sda10
    Couldn't find valid filesystem superblock.
    # mke2fs swap /dev/sda10
    mke2fs 1.41.14 (22-Dec-2010)
    mke2fs: invalid blocks count '/dev/sda10' on device 'swap'
    then i tried
    # swapon /dev/sda10
    # free -m
    total used free shared buffers cached
    Mem: 2761 2608 153 0 157 1290
    -/+ buffers/cache: 1161 1600
    Swap: 2998 0 2998
    i dont understand why i got always "FAILED" next to 'Activating Swap' while booting.... !!
    Last edited by hael (2012-01-01 11:18:07)

    See in /var/log/boot if it's really "activating swap", not a neighbouring entry, that's failing (someone on the forum made this mistake; your post seems to indicate you're booting without swap indeed).
    rc.sysinit (booting script) runs simply "swapon -a", so see if "swapoff -a; swapon -a" works. As the wiki says, you can use mkswap to set a label on swap - running mkswap might solve your problem anyhow, although "swapon /dev/sda10" wouldn't really work if the partition wasn't formatted as swap already.
    Do you hibernate?

  • C4280 label printing problem

    I have an all-in-one c4280 printer.  I am trying to print labels....when I print on regular paper they are perfectly aligned.  When I print on labels....it prints too high and they are all off.  I have tried to select specialty paper from the printer menu..any other suggestions?

    Did you find a solution to this problem?  If not, I am contemplating sending HP an invoice for all of my label paper they are ruining.
    HP...can you provide any direction?

Maybe you are looking for