none
difference method of SpatialMath throw error RRS feed

  • Question

  • Hi All,

    I am using difference method to calculate different between shape but, in some difference calculation of shape it throw below error message:

    found non-noded intersection between LINESTRING

    situation: when I draw circle first and then polygon above the circle and try  to find out different then it not throw error but,when I draw circle above the polygon and try to find different then it throw error.


    help me to solve this.

    Thanks!!

    Monday, May 28, 2018 2:24 PM

All replies

  • Hi Crazy Developer03,

    This is a topology exception and not unique to Bing Maps. You might find some of the discussions highlighted by this search helpful.  See https://www.bing.com/search?q=found+non-noded+intersection+between+LINESTRING

    In general this means you have two or more points that are either crossing unexpectedly, overlapping or so close to each other that they are determined as overlapping.  Have you drawn these shapes independently of the mapping to see how they might be considered to intersect/overlap?

    Sincerely,

    IoTGirl

    Monday, May 28, 2018 4:08 PM
    Owner
  • Hi IoTGirl,

    Thanks for your replay.I just created situation like i draw circle and on that i draw another circle or other shape then I perform operation. shape are overlap

    Thanks!!

    Tuesday, May 29, 2018 4:05 PM
  • This could be due to a linestring having no width, thus you can't subtract it from a polygon area. 

    [Blog] [twitter] [LinkedIn]

    Tuesday, May 29, 2018 5:16 PM
  • Hi Ricky,

    Same error also occur when i execute other function of Geometry with circle, rectangle.

    function like

    intersects

    distance

    difference

    symDifference etc.

    how can i prevent this.

    Tuesday, June 5, 2018 1:47 PM
  • Sounds like there might be some issues with the shapes you are using. Try passing through the MakeValid function first before passing them into these other functions.

    [Blog] [twitter] [LinkedIn]

    Tuesday, June 5, 2018 4:09 PM