Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 Intersection fails when using precision model

open
nobody
None
5
2010-12-21
2010-12-21
Paul Austin
No

When creating an intersection between the two geometries which have a precision model of 1m a TopologyException is thrown due to a non-noded intersection. Is it possible to have a parameter allow the intersection to proceed even though the result geometry is shifted?

LINESTRING (441402 5428244,
441389 5428217,
441377 5428192,
441365 5428164,
441356 5428142,
441347 5428123,
441341 5428110,
441335 5428098,
441326 5428079,
441313 5428054,
441298 5428029,
441288 5428011)

POLYGON ((456317 5427827,
456317 5427827,
456315 5427627,
456313 5427427,
456313 5427427,
456313 5427427,
456113 5427429,
455913 5427431,
455913 5427431,
455808 5427432,
455703 5427433,
455703 5427432,
455503 5427434,
455304 5427435,
455304 5427436,
455198 5427437,
454895 5427439,
454789 5427440,
454789 5427439,
454589 5427441,
454390 5427442,
454390 5427443,
454284 5427444,
454179 5427445,
454179 5427444,
453979 5427446,
453780 5427447,
453780 5427448,
453675 5427449,
453370 5427452,
453265 5427453,
453265 5427452,
453065 5427454,
452866 5427455,
452866 5427456,
452760 5427457,
452655 5427458,
452655 5427457,
452455 5427459,
452256 5427460,
452256 5427461,
452151 5427462,
451846 5427465,
451741 5427466,
451741 5427465,
451541 5427467,
451342 5427468,
451342 5427469,
451236 5427470,
451036 5427472,
451036 5427472,
450932 5427473,
450827 5427474,
450827 5427473,
450627 5427475,
450428 5427476,
450428 5427477,
450122 5427480,
450017 5427481,
449913 5427482,
449913 5427481,
449713 5427483,
449514 5427484,
449514 5427485,
449303 5427487,
448998 5427490,
448998 5427490,
448798 5427492,
448598 5427494,
448598 5427494,
448494 5427495,
448389 5427496,
448389 5427495,
448189 5427497,
447990 5427498,
447990 5427499,
447779 5427501,
447779 5427501,
447579 5427503,
447379 5427505,
447379 5427505,
447275 5427506,
447170 5427507,
446865 5427510,
446560 5427513,
446560 5427513,
446360 5427515,
446160 5427517,
446160 5427517,
446056 5427518,
445951 5427519,
445646 5427522,
445341 5427525,
445341 5427525,
445141 5427527,
444941 5427529,
444941 5427529,
444837 5427530,
444732 5427531,
444427 5427534,
444122 5427537,
444122 5427537,
443922 5427539,
443722 5427541,
443722 5427541,
443618 5427542,
443513 5427543,
443208 5427546,
442902 5427549,
442902 5427548,
442703 5427551,
442503 5427553,
442503 5427554,
442399 5427555,
442294 5427556,
441989 5427559,
441684 5427562,
441684 5427562,
441484 5427564,
441284 5427566,
441284 5427566,
441284 5427566,
441286 5427766,
441288 5427966,
441288 5427966,
441345 5433324,
441401 5438684,
441400 5438684,
441403 5438883,
441405 5439083,
441406 5439083,
441406 5439084,
441605 5439081,
441805 5439079,
441805 5439078,
441910 5439077,
442014 5439076,
442414 5439072,
442718 5439069,
443022 5439066,
443326 5439063,
443430 5439062,
443536 5439061,
443536 5439062,
443735 5439059,
443935 5439057,
443935 5439056,
444039 5439055,
444543 5439050,
444847 5439047,
445151 5439044,
445455 5439041,
445559 5439040,
445664 5439039,
445664 5439039,
445864 5439037,
446064 5439035,
446064 5439035,
446368 5439032,
446672 5439029,
446976 5439026,
447080 5439025,
447184 5439024,
447184 5439025,
447384 5439023,
447583 5439022,
447583 5439021,
447688 5439020,
447793 5439019,
447793 5439019,
447993 5439017,
448193 5439015,
448193 5439015,
448497 5439012,
448801 5439009,
448905 5439008,
449009 5439007,
449009 5439008,
449209 5439006,
449408 5439005,
449408 5439004,
449713 5439001,
449817 5439000,
450122 5438997,
450226 5438996,
450226 5438997,
450426 5438995,
450625 5438994,
450625 5438993,
450930 5438990,
451234 5438987,
451338 5438986,
451442 5438985,
451442 5438986,
451642 5438984,
451841 5438983,
451841 5438982,
451946 5438981,
452251 5438978,
452355 5438977,
452355 5438978,
452555 5438976,
452754 5438975,
452754 5438974,
452859 5438973,
452963 5438972,
452963 5438973,
453163 5438971,
453362 5438970,
453362 5438969,
453467 5438968,
453571 5438967,
453571 5438968,
453771 5438966,
453970 5438965,
453970 5438964,
454075 5438963,
454380 5438960,
454788 5438957,
454788 5438958,
454988 5438956,
455187 5438955,
455187 5438954,
455292 5438953,
455396 5438952,
455396 5438953,
455596 5438951,
455795 5438950,
455795 5438949,
455900 5438948,
456005 5438947,
456005 5438948,
456204 5438946,
456404 5438945,
456404 5438944,
456405 5438944,
456403 5438745,
456402 5438545,
456401 5438545,
456361 5433385,
456361 5433385,
456359 5433185,
456357 5432985,
456357 5432985,
456317 5427827))

Discussion