Point in Polygon/Rectangle problem.

Hi,
I'm want to find out, what points in my DB are inside an user-defined area.
If I have a rectangle and treat it like a rectangle in the query:
SELECT * FROM TABLE WHERE
sdo_relate(point, mdsys.sdo_geometry(2003,8307,null,
mdsys.sdo_elem_info_array(1,1003,3),
mdsys.sdo_ordinate_array(-30,-30, 30,30)),
'mask=INSIDE querytype=window layer_gtype=point') = 'TRUE'
...everything is ok.
If I take the same geometry and use it as an polygon in the query:
SELECT * FROM TABLE WHERE
sdo_relate(point, mdsys.sdo_geometry(2003,8307,null,
mdsys.sdo_elem_info_array(1,1003,1),
mdsys.sdo_ordinate_array(-30,-30, 30,-30, 30,30, -30,30, -30,-30 )),
'mask=INSIDE querytype=window layer_gtype=point') = 'TRUE'
...the result is wrong, there are lots of points that are definitely outside the area. The number of errors is rising the bigger the choosen area becomes.
Any idea?
Best regards
Florian

wateenmooiedag,
this seems to work. Thanks.
But: if I make the query window very large, than again I have wrong results.
Here: http://gdsg.ngdc.noaa.gov/spatial_cookbook.html I found the sentence:
Also, this query will not return the correct number of records if the selection area > one-half the surface of the earth
This is exactly what I'm experienced.
Now I ask myself: how should I use Oracle Spatial if it's not possible to aks for points that are inside a certain polygon (even if the polygon is more than half the world) ??
siva,
I understand what you mean.
But in my case, the problem is not that I get little differences between the rectangle and the polygon. If I use the polygon, I get completely wrong results.
For example: my query window is mdsys.sdo_ordinate_array(-100,-80, 100,-80, 100,80, -100,80, -100,-80 ), than I only get results that are outside the longitude area (-180 to -100 and 100 to 180).
For me this seems to be a bug.
Best regards,
Florian

Similar Messages

  • Point-in-polygon performance  -large polygon w many vertices

    Dear Everybody,
    I was experimenting with the performance of point-in-polygon queries for very different polygon layers. My experience was that queries can be extreme slow, if the polygons are large and have many vertices (e.g., the administrative boundary of a state).
    I could also explain, why this is so:
    *because of the large area, geographic indices do not help: after the first filtering step (the filtering on the basis of the indices) the immediate result  is still very large, and
    * the large number of potential hits after the first filtering step have to be processed in a - due to the many vertices - very processor intensive second filtering step.
    That is, there are two causes making the second filtering step very expensive.
    Could you please comment on this? Does anybody have any experiences?
    Thanks in advance!

    Hi Gergely,
    Thanks for your suggestion, I am thinking about that too. But the polygon I am using is dynamically built by user when they use the application. They choose some lines, and then I build a buffer around those lines based on some parameters user input, and it could get complicated since it varies all the time. I was thinking maybe there is a parameter in sdo_buffer function, which should allow to reduce the number of vertices used to build the buffer polygon? kind of stumped in this problem. maybe I should open a TAR to request better solution. A query which sometimes takes a hour to finish is obviously not acceptable, although it is not always the case. :-(
    Tim

  • Get the outer border of the unordered point of polygon

    Hi all,
    I meet some problem regarding about polygon with unordered points of polygon. I got some Point of polygon from source data (ENC file format) that cannot be changed. So, i want to look some help from you all. how to get the outer border of polygon?
    Here is the paint function that i had created :
    public void paint(Graphics g) {
            super.paint(g);
            Polygon p = new Polygon();
            String point = "3331,2305;3317,2332;3317,2356;3310,2356;3302,2355;3331,2305;3317,2286;3317,2281;3392,2281;3392,2356;3317,2356;"
    +                             "3317,2332;3331,2305;3303,2278;3312,2281;3317,2281;3317,2286;3303,2278;3254,2313;3249,2309;3249,2281;"+
                                 "3295,2281;3303,2278;3295,2281;3249,2281;3242,2241;3242,2206;3317,2206;3317,2281;3312,2281;3249,2309;"
    +                             "3233,2159;3344,2079;3317,2102;3317,2131;3275,2131;3242,2156;3242,2206;3242,2241;3249,2281;3344,2079;"+
                                 "3349,2078;3352,2074;3361,2093;3385,2078;3392,2078;3392,2131;3317,2131;3317,2102;3344,2079;3352,2074;"
    +                             "3349,2078;3361,2093;3390,2070;3650,2070;3656,2078;3617,2078;3542,2078;3467,2078;3392,2078;3385,2078;"+
                                 "3650,2070;3731,2143;3722,2141;3714,2131;3620,2131;3617,2131;3617,2078;3656,2078;3731,2143;3565,2249;"
    +                             "3617,2211;3617,2206;3624,2206;3620,2131;3714,2131;3722,2141;3565,2249;3494,2296;3513,2281;3467,2281;"+
                                 "3467,2206;3542,2206;3542,2261;3565,2249;3542,2261;3542,2206;3617,2206;3617,2211;3494,2296;3465,2315;"
    +                             "3467,2310;3467,2281;3513,2281;3465,2315;3390,2365;3313,2365;3302,2355;3310,2356;3317,2356;3392,2356;"+
                                 "3398,2356;3396,2281;3467,2281;3467,2310;3392,2356;3392,2281;3396,2281;3398,2356;3392,2281;3317,2281;"
    +                             "3317,2206;3392,2206;3392,2281;3392,2206;3467,2206;3467,2281;3396,2281;3317,2206;3242,2206;3242,2156;"+
                                 "3275,2131;3317,2131;3317,2206;3317,2131;3392,2131;3392,2206;3392,2206;3392,2131;3467,2131;3467,2206;"
    +                             "3542,2206;3467,2206;3467,2131;3542,2131;3542,2206;3542,2131;3617,2131;3617,2206;3624,2206;3617,2206;"+
                                 "3617,2131;3620,2131;3392,2131;3392,2078;3467,2078;3467,2131;3542,2131;3467,2131;3467,2078;3542,2078;" +
                                 "3542,2131;3542,2078;3617,2078;3617,2131";
            Scanner read = new Scanner(point).useDelimiter("[;,]");       
            Graphics2D g2 = (Graphics2D)g;
            g2.setColor(Color.BLACK);
            while (read.hasNextInt()) {
                 int x = (int)read.nextInt()/10;
                 int y = (int)read.nextInt()/10;
                 p.addPoint(x,y);
            read.close();
            g2.drawPolygon(p1);       
        }Thanks in advance..
    regards,
    tenlee
    Edited by: tenly on Aug 18, 2009 10:46 PM

    Hi,
    Just out of curiosity I gave it a shot. It seems that only on the upper left side the result is a bit different than the result that you expect (according to the picture with the red dots).
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Polygon;
    import java.awt.Shape;
    import java.awt.geom.Area;
    import java.awt.geom.Path2D;
    import java.awt.geom.PathIterator;
    import java.util.Scanner;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class OuterShape extends JPanel {
        public static void main(String[] args) {
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
              new OuterShape().createGUI();
        private final Shape outerShape;
        private final Polygon polygon;
         outerShape = createOuterShape();
         polygon = createPolygon();
         this.setOpaque(true);
         this.setBackground(Color.GREEN);
        private static final long serialVersionUID = 1L;
        private static String point = "3331,2305;3317,2332;3317,2356;3310,2356;3302,2355;3331,2305;3317,2286;3317,2281;3392,2281;3392,2356;3317,2356;"
             + "3317,2332;3331,2305;3303,2278;3312,2281;3317,2281;3317,2286;3303,2278;3254,2313;3249,2309;3249,2281;"
             + "3295,2281;3303,2278;3295,2281;3249,2281;3242,2241;3242,2206;3317,2206;3317,2281;3312,2281;3249,2309;"
             + "3233,2159;3344,2079;3317,2102;3317,2131;3275,2131;3242,2156;3242,2206;3242,2241;3249,2281;3344,2079;"
             + "3349,2078;3352,2074;3361,2093;3385,2078;3392,2078;3392,2131;3317,2131;3317,2102;3344,2079;3352,2074;"
             + "3349,2078;3361,2093;3390,2070;3650,2070;3656,2078;3617,2078;3542,2078;3467,2078;3392,2078;3385,2078;"
             + "3650,2070;3731,2143;3722,2141;3714,2131;3620,2131;3617,2131;3617,2078;3656,2078;3731,2143;3565,2249;"
             + "3617,2211;3617,2206;3624,2206;3620,2131;3714,2131;3722,2141;3565,2249;3494,2296;3513,2281;3467,2281;"
             + "3467,2206;3542,2206;3542,2261;3565,2249;3542,2261;3542,2206;3617,2206;3617,2211;3494,2296;3465,2315;"
             + "3467,2310;3467,2281;3513,2281;3465,2315;3390,2365;3313,2365;3302,2355;3310,2356;3317,2356;3392,2356;"
             + "3398,2356;3396,2281;3467,2281;3467,2310;3392,2356;3392,2281;3396,2281;3398,2356;3392,2281;3317,2281;"
             + "3317,2206;3392,2206;3392,2281;3392,2206;3467,2206;3467,2281;3396,2281;3317,2206;3242,2206;3242,2156;"
             + "3275,2131;3317,2131;3317,2206;3317,2131;3392,2131;3392,2206;3392,2206;3392,2131;3467,2131;3467,2206;"
             + "3542,2206;3467,2206;3467,2131;3542,2131;3542,2206;3542,2131;3617,2131;3617,2206;3624,2206;3617,2206;"
             + "3617,2131;3620,2131;3392,2131;3392,2078;3467,2078;3467,2131;3542,2131;3467,2131;3467,2078;3542,2078;"
             + "3542,2131;3542,2078;3617,2078;3617,2131";
        public void createGUI() {
         JFrame frame = new JFrame();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.add(this);
         frame.setSize(600, 600);
         frame.setLocationRelativeTo(null);
         frame.setVisible(true);
        private Shape createOuterShape() {
         Scanner read = new Scanner(point).useDelimiter("[;,]");
         Path2D pathOne = new Path2D.Double(Path2D.WIND_NON_ZERO), pathTwo = new Path2D.Double(
              Path2D.WIND_EVEN_ODD);
         boolean opened = false;
         while (read.hasNextInt()) {
             int x = (int) read.nextInt();
             int y = (int) read.nextInt();
             if (opened) {
              pathOne.lineTo(x, y);
              pathTwo.lineTo(x, y);
             } else {
              pathOne.moveTo(x, y);
              pathTwo.moveTo(x, y);
              opened = true;
         pathOne.closePath();
         pathTwo.closePath();
         read.close();
         Area area = new Area(pathOne);
         area.add(new Area(pathTwo));
         if (!area.isSingular()) {
             Area newArea = new Area();
             Path2D singlePath = new Path2D.Double();
             PathIterator pi = area.getPathIterator(null);
             double[] coords = new double[6];
             while (!pi.isDone()) {
              int type = pi.currentSegment(coords);
              switch (type) {
              case PathIterator.SEG_MOVETO:
                  newArea.add(new Area(singlePath));
                  newArea = new Area();
                  singlePath.moveTo(coords[0], coords[1]);
                  break;
              case PathIterator.SEG_CLOSE:
                  singlePath.closePath();
                  break;
              case PathIterator.SEG_CUBICTO:
                  singlePath.curveTo(coords[0], coords[1], coords[2],
                       coords[3], coords[4], coords[5]);
                  break;
              case PathIterator.SEG_LINETO:
                  singlePath.lineTo(coords[0], coords[1]);
                  break;
              case PathIterator.SEG_QUADTO:
                  singlePath.quadTo(coords[0], coords[1], coords[2],
                       coords[3]);
                  break;
              newArea.add(new Area(singlePath));
              pi.next();
             area = newArea;
         return area;
        private Polygon createPolygon() {
         Polygon polygon = new Polygon();
         Scanner read = new Scanner(point).useDelimiter("[;,]");
         while (read.hasNextInt()) {
             int x = (int) read.nextInt();
             int y = (int) read.nextInt();
             polygon.addPoint(x, y);
         read.close();
         return polygon;
        @Override
        protected void paintComponent(Graphics g) {
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D) g.create();
         g2.translate(-3200, -2000);
         g2.setColor(Color.WHITE);
         g2.fill(outerShape);
         g2.setColor(Color.BLACK);
         g2.draw(polygon);
    }Piet

  • Point-in-polygon query with SDO_GEOMETRY.RELATE

    Hello All,
    I'm trying to perform a simple point-in-polygon query using
    SDO_GEOMETRY.RELATE. Only the "anyinteract" mask seems to return
    the correct answer. Can someone point out what I'm doing wrong
    and/or suggest a better way to do this. My objective is simply
    to return a count of the number of features in the point table
    that fall with the selected feature in the polygon table.
    select count(*) count from pnttest pnt, polytest poly,
    user_sdo_geom_metadata m where SDO_GEOM.RELATE(pnt.shape,
    m.diminfo, 'anyinteract',poly.shape,m.diminfo) = 'TRUE'
    and m.table_name = 'POLYTEST' and m.column_name = 'SHAPE' and
    poly.ADMIN_NAME = 'California'
    I would have thought the "inside" mask would be what I want but
    it returns 0 instead of the correct answer of 6.
    Thanks for any help or suggestions!
    -- john

    Hi John,
    If I wanted to do this as fast as possible, and didn't mind
    returning points that touch the boundary of the polygon, I would
    do something like this (assuming the point layer is indexed):
    select /*+ ordered */count(*) count
    from polytest poly, pnttest pnt
    where SDO_RELATE(pnt.shape,poly.shape,
    'mask=anyinteract querytype=window') = 'TRUE'
    and poly.ADMIN_NAME = 'California';
    If you are wondering what relationship Oracle Spatial thinks
    there is between the 6 points and the state, try using the
    determine mask with the 6 geometries that return from
    anyinteract.
    If you are using Oracle Spatial pre-9i, you might also want to
    add layer_gtype=point in the quotes.
    Hope this is useful.
    dan

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • How to obtain corner points of rotated rectangle?

    Am drawing a rectangle, then using an Affine Transform to rotate the angle. After rotating and drawing the rectangle, I need to obtain the 4 corner points of the rectangle. This is (psuedocode) for what I've tried:
    Rectangle r = new Rectangle (x, y, width, height);
    AffineTransform at = new AffineTransform();
    at.rotate (angleInDegrees*Math.PI/180);
    Shape s = at.createTransformedShape (r);
    PathIterator pi = s.getPathIterator(at);
    while (pi.isDone() == false)
    fetchCornerPoint (pi);
    pi.next();
    g2.draw(s);
    The shape is being correctly drawn on the screen, so I know the transofmr is working. But the path appears to contain the 4 corner points of the rectangle prior to rotation, not the 4 corner points after the rotation.
    It's got to be a "doh moment", but I can't see it.

    I notice you call getPathIterator on 's', which is already transformed. I have not verified this, but maybe you should call getPathIterator(at) on the original shape ('r')?

  • Creating a triangle using polygon class problem, URGENT??

    Hi i am creating a triangle using polygon class which will eventually be used in a game where by a user clicks on the screen and triangles appear.
    class MainWindow extends Frame
         private Polygon[] m_polyTriangleArr;
                       MainWindow()
                              m_nTrianglesToDraw = 0;
             m_nTrianglesDrawn = 0;
                             m_polyTriangleArr = new Polygon[15];
                             addMouseListener(new MouseCatcher() );
            setVisible(true);
                         class MouseCatcher extends MouseAdapter
                             public void mousePressed(MouseEvent evt)
                  Point ptMouse = new Point();
                  ptMouse = evt.getPoint();
                if(m_nTrianglesDrawn < m_nTrianglesToDraw)
                                int npoints = 3;
                        m_polyTriangleArr[m_nTrianglesDrawn]
                      = new Polygon( ptMouse[].x, ptMouse[].y, npoints);
    }When i compile my code i get the following error message:
    Class Expected
    ')' expectedThe two error messages are refering to the section new Polygon(....)
    line. Please help

    Cannot find symbol constructor Polygon(int, int, int)
    Can some one tell me where this needs to go and what i should generally
    look like pleaseI don't think it is a good idea to try and add the constructor that the compiler
    can't find. Instead you should use the constructor that already exists
    in the Polygon class: ie the one that looks like Polygon(int[], int[], int).
    But this requires you to pass two int arrays and not two ints as you
    are doing at the moment. As you have seen, evt.getPoint() only supplies
    you with a single pair of ints: the x- and y-coordinates of where the mouse
    button was pressed.
    And this is the root of the problem. To draw a triangle you need three
    points. From these three points you can build up two arrays: one containing
    the x-coordinates and one containing the y-coordinates. It is these two
    arrays that will be used as the first two arguments to the Polygon constructor.
    So your task is to figure out how you can respond to mouse presses
    correctly, and only try and add a new triangle when you have all three of its
    vertices.
    [Edit] This assumes that you expect the user to specify all three vertices of the
    triangle. If this isn't the case, say what you do expect.

  • Stroke of Rectangle Problem

    Hello
    My Problem is :
    When i draw a rectangle and gave it a stroke of 2 points.
    When i reduce the size of rectangle then the stroke (or outline) increase its width.
    Waiting for the answer. i need to solve this issue.
    Thanx In advance

    The stroke is not scaling with the object, i.e. it remains at 2 points. You can change this behaviour by going to Edit>Preferences>General>Scale strokes & Effects. That way the stroke will scale with everything else.

  • Creating a triangle using polygon class problem?

    Hi i am trying to create a triangle with the polygon class. If successful, the user should be able to click on the screen and triangles should appear.
    private Polygon[] m_polyTriangleArr;
    MainWindow()
      m_polyTriangleArr = new Polygon[15];
    class MouseCatcher extends MouseAdapter
          public void mousePressed(MouseEvent evt)
                    Point ptMouse = new Point();
                    ptMouse = evt.getPoint();
                              if(m_nTrianglesDrawn < m_nTrianglesToDraw)
                         int npoints = 3;
                                               m_polyTriangleArr[m_nTrianglesDrawn]
                    = new Polygon( ptMouse.x, ptMouse.y, npoints);
                            m_nTrianglesDrawn++;
                        m_bMouse = true;
                        repaint();
            }Paint section
    public void paint(Graphics gc)
                  if(m_bMouse)
              gc.setColor(Color.green);
              for( int i = 0; i < m_nTrianglesDrawn; i++)
              gc.fillPolygon(m_polyTriangleArr.x, m_polyTriangleArr[i].y, npoints);
    When i try to compile my code i get the following error message:
    Cannot find symbol constructor Polygon(int, int, int)
    --- find symbol variable x
    --- find symbol variable y
    --- find symbol variable npoints.
    Can som1 tell me why i have these error messages when i have already declared a Polygon object array and what i need to change please??

    Check out the API
    http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Polygon.html
    there's no constructor that receives 3 integers
    cheers,
    Manuel Leiria

  • Line with intersection points across Polygon

    I have a (multi point) line that intersects a polygon and I can find the intersection points
    See this site for example:  Finding Intersection Points between Line and&amp;#160;Polygon
    However I would like to get the original multi point line WITH the intersection points added...
    How would I achieve this?
    Basically for a given line that intersects a polygon,  I would like to have returned...
    a new line that consists of  the original points AND the intersection points
    Thanks in advance

    Hi Luc,
    Thanks for your response.
    I had tried an SDO_UNION however the result of the union is not quite what I expected...
    Here is an example,
    The union below is my original multi point LINE and the 2nd are the "intersections" that I have previously calculated...
    These intersections are actually in between specific points in the LINE...
    However the union does not seem to put these 4 points in the line where I expect them too..
    Not sure if SDO_UNION is the function for the job ?
    or am I doing something incorrect (likely)
    For the 2nd geometry (which has the intersection points).... what would be a type to use ?  Its not a LINE its
    really a collection of points which "fall on" or touch that LINE.
    select SDO_GEOM.SDO_UNION (
      (SELECT SDO_GEOMETRY(2002, 8265, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(
    -73.7789255556,40.6397511111,-70.0267102778,41.2818872223,-69.7833,42.4333,-69.6333,42.5166,-69.45,42.6166,-69.3,42.7,-69.1333,42.8,-68.95,42.8833,-68.8,42.9833,-68.6333,43.6666,-68.45,43.1666,-68.2666,43.25,-68.1,43.3333,-67.9166,43.4333,-67.7666,43.5166,-67.5833,43.6,-67.3833,43.7,-67.2166,43.7833,-67.6666,43.8833,-66.8666,43.9666,-66.65,44.6666,-66.5,44.15,-66.2833,44.2333,-66.1,44.3166,-65.9166,44.4333,-65.7333,44.5166,-65.55,44.6,-65.3666,44.6833,-65.1666,44.7666,-64.9833,44.85,-64.7833,44.95,-64.5833,45.3333,-64.4,45.1166,-64.1833,45.2166,-64,45.3,-63.8,45.3833,-63.6166,45.4833,-63.4166,45.5666,-63.2,45.65,-63,45.7333,-62.8166,45.8333,-62.6166,45.9166,-62.4166,46,-62.2,46.3333,-62,46.1666,-61.7833,46.25,-61.5833,46.35,-61.3833,46.4166,-61.1833,46.5,-60.9833,46.5833,-60.7666,46.6666,-60.5666,46.75,-60.3666,46.8166,-60.15,46.9,-59.95,46.9833,-59.75,47.6666,-59.55,47.15,-59.35,47.2166,-59.1166,47.3,-58.9333,47.3666,-58.7333,47.4333,-58.5166,47.5166,-58.3333,47.5833,-58.1333,47.6666,-57.9166,47.7333,-57.7166,47.8,-57.55,47.8666,-57.3333,47.95,-57.1333,48.6666,-56.9333,48.3333,-56.7166,48.15,-56.5166,48.2333,-56.3,48.2833,-56.1166,48.3666,-55.8833,48.4166,-55.7,48.4833,-55.4666,48.55,-55.2833,48.6,-55.05,48.6666,-54.8666,48.7166,-54.65,48.7666,-54.45,48.85,-54.2333,48.9,-54.6666,48.95,-53.8,49.6666,-53.6,49.6666,-53.3833,49.1333,-53.1833,49.1833,-52.9833,49.2333,-52.7666,49.3,-52.55,49.35,-52.3333,49.4,-52.1166,49.45,-51.9,49.5166,-51.6833,49.5666,-51.4666,49.6166,-51.2333,49.6666,-51.6666,49.7166,-50.8,49.75,-50.6,49.8166,-50.3833,49.8666,-50.1666,49.9166,-49.95,49.9666,-49.7333,50,-49.5166,50.3333,-49.2666,50.6666,-49.05,50.3333,-48.8333,50.1166,-48.5833,50.15,-47.9166,50.25,-40,51,-35,51.6,-29,51.1166666667,-40.0833333333,50.4333333333,-44.55,49.6,-52.75,47.6166666667,-52.7524194444,47.6186194445
    )) AS geom
        FROM dual
        ),     -- LINE
      (SELECT SDO_GEOMETRY(2005, 8265, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(
    -50.0000000000001,49.9551029915852,
    -30,51.2193352796549,
    -50,48.3647769601594,
    -30,51.0986671679795
      )) AS geom2
        FROM dual
        ), --  INTERSECTIONS
        0.005
    ) from dual;
    The "INTERSECTIONS" above
    -50.0000000000001,49.9551029915852,
    -30,51.2193352796549,
    -50,48.3647769601594,
    -30,51.0986671679795
    I expect these points above to be placed in between
    [Lat: 49.9166, Long: -50.1666] -->    crossing Lat: 49.9551029915853, Long: -50  <--   [Lat: 49.9666, Long: -49.95]
    [Lat: 51.6, Long: -35] -->                 crossing Lat: 51.2193352796549, Long: -30  <--   [Lat: 51.1166666667, Long: -29]     
    [Lat: 51.1166666667, Long: -29] --> crossing Lat: 51.0986671679795, Long: -30  <--   [Lat: 50.4333333333, Long: -40.0833333333]
    [Lat: 49.6, Long: -44.55] -->             crossing Lat: 48.3647769601594, Long: -50  <--  [Lat: 47.6166666667, Long: -52.75]
    I have the intersections which is fine.. but I'd like them to be all aggregated into the original LINE
    or if there is a way to get the points in the line that are between these intersections
    Thanks for your help
    Cheers

  • Video signaling problem caused by 1.9, 2.0 BIOS (pointing out a BIOS problem)

    Hi, i have a problem with the video signal. At random times when i boot up my computer, the computer would power up but there is no signal to the monitor. there is no hdd activity (via the hdd led) and nothing seems to be happening just that the fans are whirring. i have to unplug the computer then plug it again then turn it up again which sometimes repeats the problem. This is very irritating! So i did a little bit of troubleshooting:
    1. I changed video cards. I used a SAPPHIRE ati radeon 9600XT fireblade and a LEADTEK GF4 ti4200. Both cards were causing the same problem and when i used both cards to another computer, there is no problem. = NOT A video card problem
    2. used differnt kinds of drivers Cat 3.10, 4.10, 4.20 (omega and official) does not seem to do anything (which also i believe the drivers are OS dependent and its the bios of the vid card that starts up the vid card)
    3. upgraded from 1.9 to 2.0 BIOS. still the same problem
    4. reverted from 2.0 to 1.7 BIOS. the problem ended.
    BTW, the board is 865PE-Neo2 - S. on a Intel 2.6Ghz C, 512MB TwinMos ram with m-tec chips, 80gb hdd, enermax 300w psu
    so ive' solved the problem, and i just wanted to point out that there is a problem with 1.9, 2.0 BIOS. (havnt tried the 1.8 tho)

    Wish I had seen this thread 2 weeks ago, but you did save me from buying a new graphics card.  That was the last step (before chucking this mobo completely) in my attempts to fix the same problem.  It didn't bother me too much, except I also couldn't get any DVD player (tried 3) to work.  Would boot sometimes and at others gave a blue screen video error.
    Flashing to bios 1.7 was the only thing that fixed it.  Tried different memory, updating software, various combinations of drives, etc.  For the record I tried bios 1.8, 1.9, 2.0, and 2.1.  Not sure what about those updates causes problems but there definitely is something wrong.
    Thanks.

  • [VB][CS5] Hyperlink on Rectangle problem - urgent

    Hi there,
    I got the a problem with VB and CS5. I try to do something like that:
    Dim mInDesign As InDesign.Application
    Dim mPub As InDesign.Document
    Dim mHyperlink As InDesign.Hyperlink
    Set mInDesign = GetObject("", "InDesign.Application.CS5")
    Set mPub = mInDesign.Documents.Item(1)
    Dim mRectangle as InDesign.Rectangle
    'REM - rectangleID is a Long parameter for this function and is a valid rectangle ID
    Set mRectangle=mPub.Rectangles.ItemById(rectangleID)
    Dim mHysperSource As InDesign.HyperlinkPageItemSource
    Set mHysperSource = mPub.HyperlinkPageItemSources.Add(mRectangle)
    Well, the bold underlined line of code creates error 13 - type mismatch!
    No mather what I am trying to use mRectangle.AllPageItems.Item(1), mRectangle.PageItems.Item(1), mRectangle.AllGraphics.Item(1) - still no success
    Watching the variable shows mRectangle as Variant/Object/Rectange and mRectangle.AllGraphics.Item(1) as Variant/Object/Image
    The Image is a JPEG Image....
    Any suggestions how to get Hyperlinks working with Rectnagle? (I cannot use TextFrame with InsertionPoint... it is Rectangle and I cannot change it)
    Regards
    Jarema

    I'm no VB expert, but what happens when you change:
    Set mRectangle=mPub.Rectangles.ItemById(rectangleID)
    to:
    Set mRectangle=mPub.PageItems.ItemById(rectangleID)
    Harbs

  • Maping and point in Polygon ?

    Hi,
    I'am searching to deve. an interactive map I java:
    for example: (in svg)
    http://www.tsr-rsr.ch/index.html?siteSect=207110&elec=NC
    I would dev the same but in java.
    I want to know if there is some tools /library for make this ? (for know if a point is in side a Polygon ?)
    Thank's

    for know if a point is in side a Polygon
    contains (double x, double y)
    contains (Point2D)db

  • I keep getting a screen that says firefox exe has encountered and needs to close. If I restore the session I get the same message. These are sites I frequent regularly. How do I fix the problem and more to the point, what is the problem?

    This problem started when I reinstalled my operating system and reloaded my programs. Until this point I was having no problems.

    Looking to find the problem, I tried using safe mode to find a solution and found that in safe mode I did not encounter any error messages. I have no idea what is happening but I now can get to sites with no problem. Does any one know why?

  • Polygon Hotspot Problems

    I am on a new MAC with Leopard os 10.5.1 and Dreamweaver
    version 9.0 (all new!!!:( ). The rectangular and circular hotspots
    work fine for me but the polygonal tool will not work. Here's what
    it does. I click on the polygon icon and start to draw no outline
    shows when I "finish" a tiny spot at my last "point" appears and
    then it prompts me to fill in the ALT text. I am in the standard
    mode. I have tried new "uncorrupted" files (with next to no code in
    them) that did not help. Any suggestions???

    Let's see the markup for the <img> tag. If it has the
    vspace or hspace
    attributes, it will do exactly this. Remote them.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ape54321" <[email protected]> wrote in
    message
    news:fppen0$evj$[email protected]..
    > When I do this it will immediately give me that tiny
    green selection point
    > and prompt me for the ALT text.

Maybe you are looking for

  • Bridge CS4 showing generic icon for TIF... sometimes

    I recently installed CS4 and Bridge, all updated to the latest versions. Here's the scenario: Desktop running Windows XP Home with all updates and patches applied running CS4. Laptop running Nikon Scan to acquire scans using Coolscan 5000. Both PCs o

  • Touch won't repond to my touch

    Okay, so i dropped my ipod in water. Well...it fell out of my back pocket but that is beside the point. And at first it wasnt doing so well and then it just kept repeatedly telling me to restore it even after i restored it. But then it went to the sc

  • SmartView TotalYear "Locking" behaviour

    Hi all, I encountered an issue on Friday which I hadn't seen before, I'd like to know if it's expected behaviour and if not, if there's any work around. If a user Logs into Hyperion Planning and Locks a TotalYear member in a web form, they are able t

  • Sort not working in KM iview

    Hi, I have a KM iview in which I am displaying some documents in a list along with some properties. The problem is that when I click on any of the Property Column Headers, sorting is not happening. I checked my Collection Renderer. It has the propert

  • Ipod crashes after going through airport x ray security

    Every time after my 3rd generation ipod classic goes through the airport security x ray unit, and then I subsequently connect it to my Mini, the ipod crashes and I have to reset my ipod. Does anyone know why?