meteoinfo / MeteoInfo

MeteoInfo: GIS, scientific computation and visualization environment.
http://www.meteothink.org/
GNU Lesser General Public License v3.0
317 stars 94 forks source link

报 found non-noded intersection between LINESTRING 异常 #27

Closed xcmonline closed 2 years ago

xcmonline commented 2 years ago

如果再增加一个小的色阶值及颜色[3,5,7,9,11,13,15,17] [Color.pink,Color.cyan,Color.white,Color.blue,Color.green,Color.yellow,Color.red,Color.orange,Color.gray]还是会报 found non-noded intersection between LINESTRING 异常。

Yaqiang commented 2 years ago

This issue is introduced by contour smoothing process which may result in the linestrings of the contour polygon self-intersection. So the possible solution is to skip contour line smoothing process through setting the last argument to false in the following code line.

VectorLayer layer = DrawMeteoData.createShadedLayer(grid, aLS, "Shaded_var", "var", false);
xcmonline commented 2 years ago

谢谢!