2D Coordinate Transformation

Hello, I was hoping someone could help me with my current problem. I have two sets of 2D Cartesian coordinates. The first set gives the locations of points in a regular grid. The second set gives locations of points in a distorted grid - it may be offset, rotated, skewed etc compared to the regular grid.
If the points in the two data sets match up (i.e. the first point in the distorted grid corresponds to the first point in the regular grid), how could I map between the two data sets?
The ultimate aim is to be able to determine which four known points from the distorted data set surround an arbitrary point, and then use the mapping between the distorted and regular points to transform the coordinates for that arbitrary point into the regular coordinate system.
I just can't figure out how to do the mapping, I've tried using a Labview program that used the solve linear equations VI but that was treating the x and y coordinates as independent and it failed to map properly if, for example, a square in the regular grid was a trapezium in the distorted grid.
Does anyone have any ideas on how to solve this?
Thanks in advance,

Ok, I think I have this working. The transformation is described in the fourth post here (click) if anyone else needs it.

Similar Messages

  • ORA-13282: failure on initialization of coordinate transformation

    Hi all,
    I try to create an index with type spatial_index and get this errormessage:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13282: failure on initialization of coordinate transformation
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    ORA-06512: at line 1
    The WKTEXT ist this one (if it has something to do with it):
    PROJCS["Thueringen 4",GEOGCS["GCS_Deutsche_Hauptdreiecksnetz", DATUM["D_DHDN",SPHEROID["Bessel_1841",6377397.155,299.1528128]], PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]], PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",4500000], PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",12], PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",0],
    UNIT["Meter",1]]
    Does anybody have any idea, what the problem could be?
    Thanks in advance
    Alex

    Hi Udo,
    This worked for me in 10g R1:
    insert into cs_srs values (
    'DHDN Soldner Berlin (EPSG 3068)',
    81989002,
    81989002,
    NULL,
    'PROJCS ["DHDN / Soldner Berlin",
    GEOGCS ["",
    DATUM ["",
    SPHEROID ["Bessel 1841", 6377397.155000, 299.152813],
    582.000000, 105.000000, 414.000000, -1.040000, -0.350000, 3.080000, 8.300000],
    PRIMEM [ "Greenwich", 0.000000 ],
    UNIT ["Decimal Degree", 0.01745329251994330]],
    PROJECTION ["Transverse Mercator"],
    PARAMETER ["Central_Meridian", 13.6272037],
    PARAMETER ["Latitude_Of_Origin", 52.41864828],
    PARAMETER ["False_Easting", 40000.00],
    PARAMETER ["False_Northing", 10000.00],
    UNIT ["Meter",1.000000000000]
    null);
    select sdo_cs.validate_wkt(81989002) from dual;
    select sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),81989002)
    from dual;
    select sdo_cs.transform(SDO_GEOMETRY(2001,81989002,SDO_POINT_TYPE(38098.5904,8073.54076,NULL),NULL,NULL),8192)
    from dual;
    In 10gR2, you'll have to follow the new requirements for coordinate systems.

  • Creating a point geometry with coordinate transformation using JDBC

    If I execute the following SQL statement using a tool such as TOAD then I get a correct value for the point in the oracle column.
    INSERT INTO node (id, position) VALUES (53, SDO_CS.TRANSFORM(SDO_GEOMETRY(2001, 26910, SDO_POINT_TYPE(489535.0, 5457841.0, NULL), NULL, NULL), 4269))
    Point geometry:
    (2001, 4269, (-123.143865452971, 49.2732377100255, ), , )
    If I execute the same statement using JDBC in a Statement or PreparedStatement the Point in the oracle column has 0,0 for the coordinates.
    Point: geometry
    (2001, 4269, (0, 0, ), , )
    In both cases the SQL is exactly the same.
    my JDBC code is
    String insertSql = "INSERT INTO node (id, position) VALUES (" + id
    + ", SDO_CS.TRANSFORM(SDO_GEOMETRY(2001, " + geometrySrid
    + ", SDO_POINT_TYPE(" + coordinate2d.x + ", " + coordinate2d.y
    + ", NULL), NULL, NULL), " + srid + "))";
    Statement insertStatement = connection.createStatement();
    try {
    insertStatement.execute(insertSql);
    } finally {
    JdbcUtils.closeStatement(insertStatement);
    connection.commit();
    Any ideas why this is happening?
    I've tried to do the coordinate transformation in a separate call and pass in the STRUCT returned from that, using JGeometry to create a STRUCT for the value, using a WKT geometry and none of these approaches seem to work

    Paul,
    I have seen this work using JGeometry and STRUCT objects with PreparedStatements. Here's some sample code that seems to work just fine:
    ResultSet rs = null;
    try {
    PreparedStatement ps =
    getConn().prepareStatement("select SDO_CS.TRANSFORM(?, ?) from dual");
    /* constucts JGeometry objects using simple points (doubles) and SRID
    * Per the Javadoc, JGeometry objects can be constructed using the same
    * notation and signature as SDO_GEOMETRY objects -
    * JGeometry(int gtype, int srid, double x, double y, double z, int[] elemInfo, double[] ordinates) */
    JGeometry j_geom1 = new JGeometry(-122.4, 37.8, 8265);
    int newSRID = 4269;
    //convert JGeometry instances to DB STRUCT
    STRUCT obj1 = JGeometry.store(j_geom1, getConn());
    ps.setObject(1, obj1);
    ps.setInt(2, newSRID);
    rs = ps.executeQuery();
    while (rs.next()) {
    //System.out.println(rs.getString(1));
    STRUCT st = (oracle.sql.STRUCT) rs.getObject(1);
    JGeometry j_geom = JGeometry.load(st);
    System.out.println(j_geom);
    ps.close();
    rs.close();
    conn.close();
    } catch (Exception e) {
    System.err.print(e);
    Hope this helps.
    -Justin

  • Failure on initialization of coordinate transformation

    I am trying to define a "custom" projection for our local coordinate system. The local coordinate system is a shifted and rotated state plane. To begin, I inserted a row in the mdsys.cs_srs that uses the WKTEXT field from the record for State Plance SC-south, 3902 (SRID=41133). I then "added", after the SPHEROID parameter, the shift, rotate, and scale values. Since our local coordinate system origin (0,0) is 1795630.77, 434471.63 svy_ft in SRID 41133, I converted the value to meters (547308.2586,132426.9528) and placed them in the position's of xShift, xShift, with negative signs. (ie SPHEROID["Clarke 1866",6378206.4,294.978698],-547308.2586,-132426.9528,0.0,0.0,0.0,0.0,1.0] )with the expectation that if I "transformed" a point (e.g. 1795630.77, 434471.63) into my custom projection, I should get back 0,0 as the answer. When I run my test case, I receive:
    ORA-13282 failure on initialization of coordinate transformation
    ORA-06512 at "MDSYS.SDO_CS", line 23
    ORA-06512 at "MDSYS.SDO_CS", line 43
    Any recommendations/thoughts on what is wrong??
    Thanks in Advance!!

    I think (but i am not sure) that you should not be changing the datum to shift the ellipsoid in X and Y.
    Without knowing exactly what you are trying to do, it is difficult to be sure, but I think you just want to shift the results so the point (1795630.77, 434471.63) in 41133 becomes 0,0 in the shifted coordinate system, but you don't want to change the standard parallels or the latitude of origin.
    To do this I think you want to take the original definition of 41133, and apply/reapply a false easting and a false northing.
    I did this with the following:
    delete from cs_srs where srid=1041133;
    insert into cs_srs values (
    'SRS Local Grid',1041133,1041133,
    'dan',
    'PROJCS["SRS Local Grid",
    GEOGCS [ "NAD 27 (Continental US)",
    DATUM ["NAD 27 (Continental US)",
    SPHEROID ["Clarke 1866", 6378206.4, 294.9786982]],
    PRIMEM [ "Greenwich", 0.000000 ],
    UNIT ["Decimal Degree", 0.01745329251994330]],
    PROJECTION ["Lambert Conformal Conic"],
    PARAMETER ["Standard_Parallel_1", 32.333333],
    PARAMETER ["Standard_Parallel_2", 33.666667],
    PARAMETER ["Central_Meridian", -81.000000],
    PARAMETER ["Latitude_Of_Origin", 31.833333],
    PARAMETER ["False_Easting", 204369.23],
    PARAMETER ["False_Northing", -434471.63],
    UNIT ["U.S. Foot", 0.3048006096012]]',
    null);
    select sdo_cs.transform(mdsys.sdo_geometry
    (2001,41133,sdo_point_type(1795630.77, 434471.63,null),null,null), 1041133)from dual;
    SDO_CS.TRANSFORM(MDSYS.SDO_GEO(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM
    SDO_GEOMETRY(2001, 1041133, SDO_POINT_TYPE(4.4806E08, .000006755, NULL), NULL,NULL)

  • Simple coordinate transformation

    I'm new to Oracle Spatial (8.1.7) and try to figure out a simple way to run a query to get values for a single point coordinate system transformation.
    For example:
    If I know the x y coordinates of a point and its coordinate system (srid) and want to calculate new x y values using a second srid. Is there a way to create a SQL statement or procedure without creating a spatial table, writing to the metadata (diminfo), indexing, etc......

    You'll need to use the SDO_CS.TRANSFORM. It's overloaded, so you've got some options as to which version to use. Based on your info, you might want to try...
    FUNCTION TRANSFORM RETURNS SDO_GEOMETRY
    Argument Name Type In/Out Default?
    GEOMOBJ SDO_GEOMETRY IN
    TOLERANCE NUMBER IN
    TO_SRID NUMBER IN
    So, try something like this...
    set define &
    select sdo_cs.transform(MDSYS.SDO_GEOMETRY(2001, &from_srid, MDSYS.SDO_POINT_TYPE(&sdo_x1, &sdo_y1, NULL), NULL, NULL), &tolerance, &to_srid) from dual;
    This will prompt you for values, but you get the idea...
    -Chris

  • Coordinate system translation from screen coordinates to stage coordinates

    I realize this is not truly a LabVIEW question, but I'm hoping for suggestions.
    I have a digitized image of a sample on a 3 axis stage. The user selects "paths" for a drill to take along the surface of the sample. On the image, 3 reference points are identified. The stage posititions (x, y, and z) corresponding to these points are then identified.
    I need to now convert the coordinates of the paths to the stage coordinate system. Are there any LabVIEW vi's that are suited to this need? I have IMAQ vi's but not very experience with these yet. Suggestions much appreciated
    Tim

    Hello Shan:
    Were almost have the same problem but mine is for a AOI handler with a robot arm which I need to pick (x,y) pairs along the work envelope. Anyway, for the most math part it will involve are coordinate transformation from a "mouse coordinates" to "real world coordinates" and your image processing textbook (I use McGrawHill Computer Graphics by Hill) will outline both the code and the math but LabVIEW will not have a facility to do with an actual VI instead you have to use the array manipulations and treat them coordinates as matrix elements. There is a Math VI and G-Math VI or a MatLAB call you can use for coordinate matrix manipulations as long as you have the math quite figured out in paper already.
    Bernardino Jerez Buenaobra
    Senior Test and Systems Development Engineer
    Test and Systems Development Group
    Integrated Microelectronics Inc.- Philippines
    Telephone:+632772-4941-43
    Fax/Data: +632772-4944
    URL: http://www.imiphil.com/our_location.html
    email: [email protected]

  • SOS, new projected Coordinate System

    Hi all,
    I try to create a new Coordinate System, the idea is transform UTM coordinates to Conic Lambert.
    This is the cs_srs:
    INSERT INTO mdsys.cs_srs VALUES ('Lambert Conformal Conic',
    1082378, 1082378, 'Oracle',
    'PROJCS["Lambert Conformal Conic",
    GEOGCS ["NAD 83",
    DATUM ["NAD 83",
    SPHEROID ["Clarke 1866",6378206.4, 294.978698]],
    PRIMEM [ "Greenwich", 0.00000 ],
    UNIT ["Decimal Degree", 0.01745329251994330]],
    PROJECTION ["Mex Conica Lambert"],
    PARAMETER ["Standard_Parallel_1", 17.30],
    PARAMETER ["Standard_Parallel_2", 29.30],
    PARAMETER ["Central_Meridian",-102.00],
    PARAMETER ["Latitude_Of_Origin", 15.30],
    PARAMETER ["False_Easting", 2000000],
    PARAMETER ["False_North", 0.0],
    UNIT ["Meter", 1.000000000000]]',NULL);
    I defined a procedure
    create or replace procedure inserta_pozo(x IN NUMBER,y IN NUMBER,sc_destino IN NUMBER)
    IS
    BEGIN
    insert into pozo (NUM_RUTA,NUM_TRAMO, NUM_SECCION, NUM_POZO, CONSEC,posicion)
    values
    '183B',
    1,
    1,
    5,
    5,
    SDO_CS.TRANSFORM(
    MDSYS.SDO_GEOMETRY
    2001,
    /*UTM ZONE 14 NAD 83*/
    82232,
    null,
    MDSYS.SDO_ELEM_INFO_ARRAY
    1,
    1,
    1
    MDSYS.SDO_ORDINATE_ARRAY
    x,y
    ),sc_destino)
    commit;
    When I try to insert a row in database the error
    execute inserta_pozo(371476.0,2838677.24,1082378);
    ORA-13282: failure on initialization of coordinate transformation
    ORA-06512: at "MDSYS.SDO_CS", line 23
    ORA-06512: at "MDSYS.SDO_CS", line 43
    ORA-06512: at "ALFAGEO.INSERTA_POZO", line 5
    ORA-06512: at line 1
    Does anybody have any idea, what the problem could be?
    Thanks

    I strongly recommend that you open a Service Request with Oracle Support on this. And further, that you ask Oracle to provide the cs_srs entry.
    Two reasons:
    1) they do help on these issues;
    2) if they provide the entry, it will be included in further updates and database releases.

  • How do I find the position of a single character on a page?

    Hi guys,
    I am developing a PDFEditor, but am having trouble implementing the code which finds the location of glyph characters on a page (in device space). I have read the pdf reference on Text, but do not quite understand it.
    I have worked out the individual character spacings, but I cannot accurately find the location of the first character .
    Here is my current attempt:
    float y = CGPDFPageGetBoxRect([current_page pageReference], kCGPDFCropBox).size.height-current_matrix_position.y;
    float x = current_matrix_position.x;
    float xa = a * x + c * y + e;
    float ya = b * x + d * y + f;
    text_position = [NSValue valueWithCGRect: CGRectMake(xa, ya, 15, d)];
    (where text_position is the location of the start character in device space. a,b,c etc come from the Tm operator.
    current_matrix_position is set as a point (e,f) from the cm operator.)
    This code seems to work with some PDF files:
    But does not work with others:
    (Note there is text in the box above the blue which cannot be disclosed for reasons...)
    Is there something I am missing (like another operator?) or is my formula completely wrong.
    Your help would be greatly appreciated

    Hi Irosenth,
    I have been reading the spec and trying to understand it for several weeks. Unfortunately, I am still confused with how to find the coordinates of the text.
    >> You need to parse the content stream(s) that are associated with the page and
    I have done this. My program finds both the cm operator, the tm operator and the font widths etc. Unfortunately, now that I have all of this information, I am unsure what to do with it.
    How do I properly add these two matricies together? I have looked in the spec which describes it as:
    x' = a * x + c * y + e
    y' = b * x + d * y + f
    I tried this and the results worked on some pages, but not on others (several thousand x coordinates out...). I am finding the ISO 32000-1:2008 very confusing in this section.
    >> manage what you find there
    This is the part I am having major trouble with. Using the coordinate transformation matricies, how can I determine the starting coordinate for the first glyph in a text (BT, ET) on a non-scaled page (so 1 unit = 1 pixel) using the matricies?
    Thanks

  • How to reach a method of an object from within another class

    I am stuck in a situation with my program. The current situation is as follows:
    1- There is a class in which I draw images. This class is an extension of JPanel
    2- And there is a main class (the one that has main method) which is an extension of JFrame
    3- In the main class a create an instance(object) of StatusBar class and add it to the main class
    4- I also add to the main class an instance of image drawing class I mentioned in item 1 above.
    5- In the image drawing class i define mousemove method and as the mouse
    moves over the image, i want to display some info on the status bar
    6- How can do it?
    7- Thanks!

    It would make sense that the panel not be forced to understand its context (in this case a JFrame, but perhaps an applet or something else later on) but offer a means of tracking.
    class DrawingPanel extends JPanel {
      HashSet listeners = new HashSet();
      public void addDrawingListener(DrawingListener l) {
         listeners.add(l);
      protected void fireMouseMove(MouseEvent me) {
         Iterator i = listeners.iterator();
         while (i.hasNext()) {
            ((DrawingListener) i.next()).mouseMoved(me.getX(),me.getY());
    class Main implements DrawingListener {
      JFrame frame;
      JLabel status;
      DrawingPanel panel;
      private void init() {
         panel.addDrawingListener(this);
      public void mouseMoved(int x,int y) {
         status.setText("x : " + x + " y: " + y);
    public interface DrawingListener {
      void mouseMoved(int x,int y);
    }Of course you could always just have the Main class add a MouseMotionListener to the DrawingPanel, but if the DrawingPanel has a scale or gets embedded in a scroll pane and there is some virtual coordinate transformation (not using screen coordinates) then the Main class would have to know about how to do the transformation. This way, the DrawingPanel can encapsulate that knowledge and the Main class simply provides a means to listen to the DrawingPanel. By using a DrawingListener, you could add other methods as well (versus using only a MouseMotionListener).
    Obviously, lots of code is missing above. In general, its not a good idea to extend JFrame unless you really are changing the JFrames behavior by overrding methods, etc. Extending JPanel is okay, as you are presumably modifiying the drawing code, but you'd be better off extending JComponent.

  • [SOLVED]Xorg.conf, mouse config problem

    The Rapoo M765 mouse can not work properly under normal mouse configuration.
    The mouse goes beyond controll when config as below:
    hacksign@XSign [14:13:13] : ~
    >> cat /etc/X11/xorg.conf.d/50-mouse-acceleration.conf
    #Section "InputClass"
    # Identifier "Mouse2"
    # MatchProduct "RAPOO RAPOO 2.4G Remote Mouse"
    # MatchIsPointer "yes"
    # MatchDevicePath "/dev/input/event*"
    # Driver "mouse"
    # Option "Protocol" "auto"
    # Option "Emulate3Buttons" "no"
    # Option "Buttons" "7"
    # Option "ButtonMapping" "1 2 3 6 7"
    #EndSection
    When there is no any configuration, the mouse can work abnormally. Movement and right/left click work fine, but I can not use scroll wheel,and the "go forward"&"go backward" mouse key can not work too.
    (I know Option "ZAxisMapping" "4 5" is the configuration of scroll wheel emulation.)
    The real problem is 'mouse beyond controll',the cursor goes crazyly on screen ....
    I guess it is something wrong of ButtonMapping option. But when I tried to get button number from command xev,when scroll wheel scrolles, I get something below(the scroll wheel movement is identified as a key event~):
    //left click
    ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3766452, (135,143), root:(2287,595),
    state 0x0, button 1, same_screen YES
    ButtonRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3766588, (135,143), root:(2287,595),
    state 0x100, button 1, same_screen YES
    //right click
    ButtonPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3767716, (135,143), root:(2287,595),
    state 0x0, button 3, same_screen YES
    ButtonRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3767852, (135,143), root:(2287,595),
    state 0x400, button 3, same_screen YES
    //mouse scroll, identified as keyboard event(?)
    KeyRelease event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3769332, (135,143), root:(2287,595),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 34, synthetic NO, window 0x4a00001,
    root 0x264, subw 0x0, time 3769332, (135,143), root:(2287,595),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    here is some Information(I dont know why the mouse is identified as 'type:KEYBOARD'):
    hacksign@XSign [14:55:03] : ~
    >> xinput
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ RAPOO RAPOO 2.4G Remote Mouse id=13 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)]
    ⎜ ↳ TPPS/2 IBM TrackPoint id=16 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Sleep Button id=8 [slave keyboard (3)]
    ↳ Heng Yu Technology Poker Pro S id=9 [slave keyboard (3)]
    ↳ Heng Yu Technology Poker Pro S id=10 [slave keyboard (3)]
    ↳ Integrated Camera id=11 [slave keyboard (3)]
    ↳ RAPOO RAPOO 2.4G Remote Mouse id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
    ↳ ThinkPad Extra Buttons id=17 [slave keyboard (3)]
    hacksign@XSign [14:55:06] : ~
    >> xinput list-props 13
    Device 'RAPOO RAPOO 2.4G Remote Mouse':
    Device Enabled (142): 1
    Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (270): 0
    Device Accel Constant Deceleration (271): 1.000000
    Device Accel Adaptive Deceleration (272): 1.000000
    Device Accel Velocity Scaling (273): 10.000000
    Device Product ID (260): 9390, 8192
    Device Node (261): "/dev/input/event8"
    Evdev Axis Inversion (274): 0, 0
    Evdev Axes Swap (276): 0
    Axis Labels (277): "Rel X" (152), "Rel Y" (153), "Rel Horiz Wheel" (267), "Rel Dial" (268), "Rel Vert Wheel" (269)
    Button Labels (278): "Button Left" (145), "Button Middle" (146), "Button Right" (147), "Button Wheel Up" (148), "Button Wheel Down" (149), "Button Horiz Wheel Left" (150), "Button Horiz Wheel Right" (151), "Button Side" (265), "Button Extra" (266), "Button Unknown" (263), "Button Unknown" (263), "Button Unknown" (263), "Button Unknown" (263)
    Evdev Scrolling Distance (279): 1, 1, 1
    Evdev Middle Button Emulation (280): 0
    Evdev Middle Button Timeout (281): 50
    Evdev Third Button Emulation (282): 0
    Evdev Third Button Emulation Timeout (283): 1000
    Evdev Third Button Emulation Button (284): 3
    Evdev Third Button Emulation Threshold (285): 20
    Evdev Wheel Emulation (286): 0
    Evdev Wheel Emulation Axes (287): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (288): 10
    Evdev Wheel Emulation Timeout (289): 200
    Evdev Wheel Emulation Button (290): 4
    Evdev Drag Lock Buttons (291): 0
    hacksign@XSign [14:55:14] : ~
    >> grep -i rapoo /var/log/Xorg.0.log
    [ 29.102] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event7)
    [ 29.102] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 29.102] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 29.102] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 29.102] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event7"
    [ 29.102] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 29.102] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 29.102] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 29.102] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 12)
    [ 29.103] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event8)
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev pointer catchall"
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 29.103] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 29.103] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event8"
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found 9 mouse buttons
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found scroll wheel(s)
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found relative axes
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found x and y relative axes
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found absolute axes
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Forcing absolute x/y axes to exist.
    [ 29.103] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as mouse
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 29.103] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Adding scrollwheel support
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: YAxisMapping: buttons 4 and 5
    [ 29.103] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 29.103] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 13)
    [ 29.104] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: initialized for relative axes.
    [ 29.104] (WW) evdev: RAPOO RAPOO 2.4G Remote Mouse: ignoring absolute axes.
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) keeping acceleration scheme 1
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration profile 0
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration factor: 2.000
    [ 29.104] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration threshold: 4
    [ 29.104] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/mouse0)
    hacksign@XSign [14:59:47] : ~
    >> yaourt -Q|grep -i 'input-'
    local/xf86-input-evdev-trackpoint 2.9.1-1
    extra/xf86-input-keyboard 1.8.0-3 (xorg-drivers xorg)
    extra/xf86-input-mouse 1.9.1-1 (xorg-drivers xorg)
    extra/xf86-input-synaptics 1.8.1-1 (xorg-drivers xorg)
    Last edited by Hacksign (2015-01-14 02:22:51)

    Thanks for reply !
    change Driver 'mouse' to Driver 'evdev',solved cursor goes beyond controll problem.
    but I still can not use scroll button and 'go forward'&'go backward' button.
    (BTW:evdev_drv.so is from local/xf86-input-evdev-trackpoint, and local/xf86-input-evdev-trackpoint package is from AUR)
    I think, maybe something wrong with my button number mapping, but I still can not get scroll button number with 'xev' command....
    below is my configuration:
    hacksign@XSign [17:15:19] : /var/log
    >> cat /etc/X11/xorg.conf.d/50-mouse-acceleration.conf
    Section "InputClass"
    Identifier "Mouse2"
    MatchProduct "RAPOO RAPOO 2.4G Remote Mouse"
    MatchIsPointer "yes"
    MatchDevicePath "/dev/input/event*"
    Driver "evdev"
    Option "Protocol" "auto"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    Option "Buttons" "9"
    Option "ButtonMapping" "1 2 3 6 7 8 9 4 5"
    EndSection
    and here is Xorg.0.log
    [ 11357.287] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 11357.287] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 11357.287] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 11357.287] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event7"
    [ 11357.287] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 11357.287] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 11357.287] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 11357.287] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:24AE:2000.0003/input/input8/event7"
    [ 11357.288] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 12)
    [ 11357.288] (**) Option "xkb_rules" "evdev"
    [ 11357.288] (**) Option "xkb_model" "pc104"
    [ 11357.288] (**) Option "xkb_layout" "us"
    [ 11357.288] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/event8)
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev pointer catchall"
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "evdev keyboard catchall"
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: Applying InputClass "Mouse2"
    [ 11357.288] (II) Using input driver 'evdev' for 'RAPOO RAPOO 2.4G Remote Mouse'
    [ 11357.288] (**) RAPOO RAPOO 2.4G Remote Mouse: always reports core events
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: Device: "/dev/input/event8"
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: ButtonMapping '1 2 3 6 7 8 9 4 5'
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Vendor 0x24ae Product 0x2000
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found 9 mouse buttons
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found scroll wheel(s)
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found relative axes
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found x and y relative axes
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found absolute axes
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Forcing absolute x/y axes to exist.
    [ 11357.288] (--) evdev: RAPOO RAPOO 2.4G Remote Mouse: Found keys
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as mouse
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Configuring as keyboard
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: Adding scrollwheel support
    [ 11357.288] (**) Option "Emulate3Buttons" "no"
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: YAxisMapping: buttons 4 and 5
    [ 11357.288] (**) evdev: RAPOO RAPOO 2.4G Remote Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 11357.288] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:24AE:2000.0004/input/input9/event8"
    [ 11357.288] (II) XINPUT: Adding extended input device "RAPOO RAPOO 2.4G Remote Mouse" (type: KEYBOARD, id 13)
    [ 11357.288] (**) Option "xkb_rules" "evdev"
    [ 11357.288] (**) Option "xkb_model" "pc104"
    [ 11357.288] (**) Option "xkb_layout" "us"
    [ 11357.288] (II) evdev: RAPOO RAPOO 2.4G Remote Mouse: initialized for relative axes.
    [ 11357.288] (WW) evdev: RAPOO RAPOO 2.4G Remote Mouse: ignoring absolute axes.
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) keeping acceleration scheme 1
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration profile 0
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration factor: 2.000
    [ 11357.289] (**) RAPOO RAPOO 2.4G Remote Mouse: (accel) acceleration threshold: 4
    [ 11357.289] (II) config/udev: Adding input device RAPOO RAPOO 2.4G Remote Mouse (/dev/input/mouse0)
    [ 11357.289] (II) No input driver specified, ignoring this device.
    [ 11357.289] (II) This device may have been added with another device file.
    olive wrote:In the config file you mentioned, all is commented; do you mean that you have problems when you have uncommented it? You should not use the mouse driver (old deprecated driver) but evdev. Try to remove xf86-input-mouse and xf86-input-keyboard (same as before, this is deprecated and handled by evdev) and remove also a "joystick" driver if you have it (I have had problem with it conflicting with the evdev driver).
    Last edited by Hacksign (2015-01-13 09:27:06)

  • Lenovo Yoga 2 touchscreen is recognized as a mouse--how can I fix it?

    I just installed Arch, and I like it a lot so far, but the touch screen on my Lenovo Yoga 2 11" is being recognized as a mouse. It can't recognize multitouch gestures (like with touchegg), and I see a pointer whenever I touch the screen. Here's what `xinput list` returns:
    > xinput list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ ETPS/2 Elantech Touchpad id=13 [slave pointer (2)]
    ⎜ ↳ Atmel Atmel maXTouch Digitizer id=10 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Lenovo EasyCamera id=9 [slave keyboard (3)]
    ↳ Ideapad extra buttons id=11 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
    The touch screen is Atmet Atmel maXTouch Digitizer. Here's what it returns when I run `xinput list-props 10`:
    > xinput list-props 10
    Device 'Atmel Atmel maXTouch Digitizer':
    Device Enabled (139): 1
    Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (266): 0
    Device Accel Constant Deceleration (267): 1.000000
    Device Accel Adaptive Deceleration (268): 1.000000
    Device Accel Velocity Scaling (269): 10.000000
    Device Product ID (258): 1003, 35869
    Device Node (259): "/dev/input/event15"
    Evdev Axis Inversion (270): 0, 0
    Evdev Axis Calibration (271): <no items>
    Evdev Axes Swap (272): 0
    Axis Labels (273): "Abs MT Position X" (264), "Abs MT Position Y" (265), "None" (0), "None" (0)
    Button Labels (274): "Button Unknown" (261), "Button Unknown" (261), "Button Unknown" (261), "Button Wheel Up" (145), "Button Wheel Down" (146)
    Evdev Scrolling Distance (275): 0, 0, 0
    Evdev Middle Button Emulation (276): 0
    Evdev Middle Button Timeout (277): 50
    Evdev Third Button Emulation (278): 0
    Evdev Third Button Emulation Timeout (279): 1000
    Evdev Third Button Emulation Button (280): 3
    Evdev Third Button Emulation Threshold (281): 20
    Evdev Wheel Emulation (282): 0
    Evdev Wheel Emulation Axes (283): 0, 0, 4, 5
    Evdev Wheel Emulation Inertia (284): 10
    Evdev Wheel Emulation Timeout (285): 200
    Evdev Wheel Emulation Button (286): 4
    Evdev Drag Lock Buttons (287): 0
    I should add that the touch screen works fine on Fedora and Ubuntu, but not on Arch, so it's definitely not a hardware issue.

    I have a simiar device -- a Flex 2 15 -- but the solution should be similar: you need to set your touchscreen driver to absolute mode.  There is probably a synaptics or wacom config file in /etc/X11/xorg.conf.d.  In that file, add the following line:
    Option "Mode" "ABSOLUTE"
    This is what the relevant section looks like:
    Section "InputClass"
    Identifier "touchscreen"
    Driver "wacom"
    MatchIsTouchscreen "on"
    MatchDevicePath "/dev/input/event1"
    Option "Mode" "ABSOLUTE"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "Evdev Wheel Emulation" "on"
    Option "Evdev Wheel Emulation Axes" "6 7 4 5"
    Option "VertTwoFingerScroll" "on"
    Option "HorizTwoFingerScroll" "on"
    Option "EmulateTwoFingerMinZ" "40"
    Option "EmulateTwoFingerMinW" "8"
    Option "CoastingSpeed" "0"
    Option "VertScrollDelta" "50"
    Option "HorizScrollDelta" "50"
    Option "ZoomDistance" "100"
    Naturally, you'll want to change the device path and adjust the elements to your liking.

  • Tap-click not working on touchpad

    Hi,
    I can't left-click by tapping with a single finger on my touchpad. My touchpad buttons are working correctly and my touchscreen too.
    Here's my (unmodified) /usr/share/X11/xorg.conf.d/50-synaptics.conf :
    # Example xorg.conf.d snippet that assigns the touchpad driver
    # to all touchpads. See xorg.conf.d(5) for more information on
    # InputClass.
    # DO NOT EDIT THIS FILE, your distribution will likely overwrite
    # it when updating. Copy (and rename) this file into
    # /etc/X11/xorg.conf.d first.
    # Additional options may be added in the form of
    # Option "OptionName" "value"
    Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    # This option is recommend on all Linux systems using evdev, but cannot be
    # enabled by default. See the following link for details:
    # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
    MatchDevicePath "/dev/input/event*"
    EndSection
    Section "InputClass"
    Identifier "touchpad ignore duplicates"
    MatchIsTouchpad "on"
    MatchOS "Linux"
    MatchDevicePath "/dev/input/mouse*"
    Option "Ignore" "on"
    EndSection
    # This option enables the bottom right corner to be a right button on clickpads
    # and the right and middle top areas to be right / middle buttons on clickpads
    # with a top button area.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Default clickpad buttons"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
    Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
    EndSection
    # This option disables software buttons on Apple touchpads.
    # This option is only interpreted by clickpads.
    Section "InputClass"
    Identifier "Disable clickpad buttons on Apple touchpads"
    MatchProduct "Apple|bcm5974"
    MatchDriver "synaptics"
    Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
    EndSection
    and here's my /var/log/Xorg.0.log: http://sprunge.us/dFgJ
    Any idea how to fix this?
    Thanks

    Yeah I was about to edit my post since I found that
    xinput list-props "AlpsPS/2 ALPS DualPoint TouchPad"
    outputs
    Device 'AlpsPS/2 ALPS DualPoint TouchPad':
    Device Enabled (138): 1
    Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (291): 0
    libinput Tapping Enabled Default (292): 0
    libinput Accel Speed (278): 0.000000
    libinput Accel Speed Default (279): 0.000000
    libinput Natural Scrolling Enabled (280): 0
    libinput Natural Scrolling Enabled Default (281): 0
    libinput Send Events Modes Available (259): 1, 1
    libinput Send Events Mode Enabled (260): 0, 0
    libinput Send Events Mode Enabled Default (261): 0, 0
    libinput Left Handed Enabled (282): 0
    libinput Left Handed Enabled Default (283): 0
    libinput Scroll Methods Available (284): 1, 0, 0
    libinput Scroll Method Enabled (285): 1, 0, 0
    libinput Scroll Method Enabled Default (286): 1, 0, 0
    libinput Click Methods Available (293): 1, 1
    libinput Click Method Enabled (294): 1, 0
    libinput Click Method Enabled Default (295): 1, 0
    Device Node (262): "/dev/input/event14"
    Device Product ID (263): 2, 8
    Notice the line libinput Tapping Enabled (291):0 . This doesn't make sense with my xorg.conf.d/50-synaptics.conf which enables tapping.
    Here's my xinput's output:
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ ELAN Touchscreen id=9 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS DualPoint Stick id=12 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=13 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ TOSHIBA Web Camera - FHD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    ↳ Toshiba input device id=14 [slave keyboard (3)]

  • Spatial query index creation fails with ORA-13282: failure on initializatio

    Hi,
    I have an Oracle 10g 10.2.0.5.0 database newly installed. Spatial index creation fails:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13282: failure on initialization of coordinate transformation
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    The script I am trying to run is:
    Insert into USER_SDO_GEOM_METADATA
    (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    Values
    ('SOME_TABLE', 'geo',
    "SDO_DIM_ARRAY"(
    "SDO_DIM_ELEMENT"('X',600000,900000,0.001),
    "SDO_DIM_ELEMENT"('Y',150000,400000,0.001)), 23700);
    CREATE INDEX IX_GEO_SOME_TABLE ON SOME_TABLE (GEO) INDEXTYPE IS MDSYS.SPATIAL_INDEX ;
    Earlier I had some issues with NLS settings in relation to Spatial, but in this particular case setting the NLS_LANG for AMERICAN_AMERICA does not help. I found this comment http://www.orafaq.com/forum/t/127312/2/ but would not like to hack around with MDSYS table content. Any help is highly appreciated.
    Regards, Tamas

    Tamas,
    1 . . .Are you indexing a table that already has geometries or an empty table?
    . . . .If the former, do all the geometries in that table have the same (not NULL) SRID (23700)?
    2 . .The link you posted suggests a parsing problem since in Hungarian (23700), the decimal seperator is a comma (not a period). Accordingly, I believe the edit to mdsys.sdo_cs_srs.WKTEXT would be:
    PROJCS["HD72 / EOV", GEOGCS [ "HD72", DATUM ["Hungarian Datum 1972 (EPSG ID 6237)", SPHEROID ["GRS 1967 (EPSG ID 7036)", 6378160, 298,247167427]], PRIMEM [ "Greenwich", 0,000000 ], UNIT ["Decimal Degree", 0,01745329251994328]], PROJECTION ["Egyseges Orszagos Vetuleti (EPSG OP 19931)"], UNIT ["Meter", 1]]
                                                                                                                                         ^                                    ^                                   ^                                                                                                  Regards,
    Noel

  • Clever trick using 3D graph in LV6.1

    Hi everyone,
    I've discovered a clever trick using the 3D graph in LabVIEW version 6.1.
    I was trying to solve a 3D graphing problem, where I wanted to plot a 3D
    surface using a random set of points located on the surface of a person's
    head. There are examples for doing something close to this in LabVIEW,
    but they are for sheet functions only. It doesn't work if you want the
    surface to curl around underneath itself, in the negative Z direction.
    You can basically get something that looks like a face mask, but not a
    whole head.
    Other examples in LabVIEW, such as Torus.vi, show a true 3D graph, but the
    input data is as 2D X, Y, and Z matrices, which I don't think can be
    obtained from a random set of points on a surface (if you
    know how to do
    this, I'm interested!).
    It looked like there was no way to do what I wanted to do! But, after some
    playing around, I discovered a way to get what I want.
    For your particular Plot:
    1) Set Property:CoordinateSystem = cwCartesian
    2) Do a coordinate transformation on your Cartesian (XYZ) data so that it
    is centered on the origin (just subtract the mean for each axis). Convert
    your XYZ data into spherical coordinates, so that you have 1D arrays of
    phi, theta, and rho. Use Methodlot3DMesh to input these three arrays
    into the X,Y,Z vector inputs.
    3) Set Property:CoordinateSystem = cwSpherical. This must be done only
    after your data has been input in the previous step.
    4) Turn off color shading, and use illumination to make it look nice.
    Note: the fill color doesn't work right, and the W vector for color doesn't
    do anything. Displaying contour lines makes a mess, but displaying normals
    looks ok.
    Anyone out there have any comments? Suggestions for a bette
    r way?
    -Chris
    [email protected]

    Hi Tanu,
    This sounds like what I am doing already. If you give me your email address
    then I can email you the VI.
    -Chris
    "tanu" wrote in message
    news:5065000000050000003D1B0100-1042324653000@exch​ange.ni.com...
    > if you have all the data of x,y, and z cartesiancoordinate then
    > change them to spherical bt rcostheta r sintheta like this and set the
    > property of coordinate system to cwcartesian and plotstyle to
    > cwsurface and then try.if u face any problem send me the code with
    > data i will try it

  • Mapviewer - common javascript

    Just looking into mapviewer and wanted to add some useful functionality to my map image on a jsp. Was curious if anyone knew of our had some of the more commonly needed javascript functionality for mapping applications.
    1) Coordinate display with mouse over / coordinate transformation
    2) static ruler bar ( measuring stick ) or possibly a way to measure distance using two mouse clicks on the image.
    3) ft/meter conversions for distance calculations and buffering.

    We didn't want people to see it and wonder what they were missing out on, so we disabled it everywhere.
    JS_Hide_AddReview_Button() {
        for(i=0; i //    alert(document.forms["serviceForm"].elements[i].value)
        if (document.forms["serviceForm"].elements[i].value == "Add & Review Order") {
    //    alert("Found it!");
         document.forms["serviceForm"].elements[i].style.display = "none";
    It is set to add the script on all forms.

Maybe you are looking for

  • Javascript maildoc issue with Adobe Reader 9.5

    Good morning all, I am trying to find a possible answer to an issue I have been given regarding the maildoc javascript we are using in one of our forms. We are on Windows XP, Adobe Reader 9.5 and Outlook 2010. We generate purchase orders within SAP a

  • How to handle error in Syncronus interface?

    Hello everybody, i have a Proxy -> PI -> jdbc interface scenario. Sometimes the table insert have a error and i would like send back to proxy response the text error. I tried to generate 2 Fault message and map them but no result. In case of error i

  • Import file format aspect ratio

    If I import a video in Mpeg2 format, After effects uses the wrong aspect ratio and crops off the sides of the video. Other video formats are fine but my camera records in Mpeg2 so I have to convert before import

  • Urgent help needed with a CSC2310 project!

    Hello everyone. I have a project due tomorrow and it is not working correctly. I am not getting any errors but the output isnt right. The main problem arises when I open 2 accounts and then deposit an amount. I think my array setup is incorrect. The

  • How to handle table control in lsmw recording method

    hi expert please tell me the procedure for how to handle table control in lsmw recording method Locked for same reason as how to upload data for me01 using LSMW BDC METHOD Edited by: Matt on May 9, 2011 8:52 AM