No outgoing dirEdge found

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

No outgoing dirEdge found

Jeff Adams-4
triangle = POLYGON((2667061.3971756008 269949.30875770526,2667165.2726450353 270120.21775936912,2667255.6991384788 269996.70862291165,2667061.3971756008 269949.30875770526))

big_multipolygon = MULTIPOLYGON(((2670219.3034489308 273131.38078777987,2670160.2680004076 273193.22501987009,2670111.72300874 273242.3220157153,2670107.3090058127 273248.86300899077,2670106.5209809314 273258.47700923274,2670107.3090058127 273261.94499554165,2670108.7279823953 273265.88502325793,2670132.0550175793 273288.89699352474,2670147.8430235581 273303.80502227141,2670217.3060148372 273371.2600004556,2670227.5667967526 273381.16394274536,2670238.7671554629 273366.46979697474,2670255.9947896847 273331.25068019331,2670266.0204909113 273293.34734415734,2670268.4589770674 273254.21639281436,2670263.2165384977 273215.36160667957,2670250.4946391759 273178.276153394,2670230.7821745593 273144.38520612975,2670219.3034489308 273131.38078777987)),((2670153.6390190781 273407.08100092481,2670103.6029726 273457.51880054449,2670114.6292048721 273456.03109848534,2670151.7146581579 273443.30919916381,2670176.052020953 273429.15351920505,2670153.6390190781 273407.08100092481)),((2669919.7329777181 273078.25098106166,2670052.7089856616 273208.10998801136,2670057.0100061256 273208.71299625339,2670071.0519810244 273209.12702355906,2670182.741192379 273094.42941178579,2669915.2886832436 272845.54174946406,2669806.2659553937 272734.67115246435,2669693.9560173228 272851.67202405533,2669689.0160198738 272859.92897776864,2669687.0400112248 272864.97001644486,2669686.1020198907 272870.0639929889,2669686.2709859619 272875.03101534036,2669687.8460204778 272879.69099805865,2669691.2830175874 272883.84500112006,2669762.1510137189 272947.11600229028,2669919.7329777181 273078.25098106166)),((2669506.9879770139 272797.29801717529,2669407.6621382129 272899.81082251895,2669633.1887158509 273129.15993893874,2669639.5449106209 273135.34347627638,2669767.0469160159 273253.99510593072,2669877.9839996481 273142.09999606508,2669713.7489784672 272997.20702142286,2669506.9879770139 272797.29801717529)),((2667728.3624068378 271306.39885183232,2667862.041052334 271164.24982474931,2667846.6317709195 271148.65377116471,2667743.4162441255 271049.525929463,2667494.9374910416 270817.40788512171,2667494.8824816048 270817.35571109172,2667329.21305541 270657.82224612479,2667329.1305889515 270657.74097288342,2667210.5031027133 270538.09089801705,2667210.2126686666 270537.77148928976,2667164.1934127733 270482.54831541306,2667163.44674321 270481.335433489,2667163.44674321 270481.33543348894,2667150.1522798426 270450.65591365413,2667149.9019717635 270449.92998694908,2667149.9019717635 270449.92998694914,2667143.7660582531 270426.40901697066,2667143.6058745547 270425.01537425164,2667144.6285109008 270386.15466821461,2667144.6623959136 270385.69047740026,2667150.7982617063 270334.55794434226,2667150.8861894952 270334.04905434011,2667150.8861894952 270334.04905434017,2667184.6383617772 270185.04565388558,2667015.0060172416 270336.52798252844,2666949.3686658754 270393.46360177873,2666948.673358459 270419.88564048416,2666955.0807063957 270475.63134924375,2666961.216619906 270499.15231922222,2666971.2289430606 270528.18938742403,2666984.5234064278 270558.86890725885,2667014.3901889813 270607.38418422284,2667060.4094448746 270662.60735809954,2667072.0268067294 270675.38370718993,2667190.6542929676 270795.0337820563,2667193.9529513111 270798.2847117132,2667359.622377506 270957.81817668013,2667361.8227549796 270959.90513787809,2667609.3160978286 271191.10265483527,2667709.7149133189 271287.52533655823,2667728.3624068378 271306.39885183232)),((2668052.261867119 271338.76327167032,2668066.6629788447 271322.20197708753,2668067.4119892428 271322.92700832343,2668067.4160018847 271322.93102096545,2668201.3810052266 271452.42801992066,2668220.506997582 271470.27001517016,2668340.0779771181 271586.5679841243,2668370.1150199939 271615.2579879039,2668412.1809967849 271655.660023568,2668500.8540041763 271741.37600385118,2668582.4660185608 271821.41399896663,2668631.3860230506 271869.26697909122,2668621.6700200969 271879.79328087834,2668681.9406179464 271938.11968125758,2668870.0820823759 272115.01357188233,2668870.1461923756 272115.07493012986,2669068.4821055145 272308.29906883254,2669197.2517031846 272425.82684368227,2669211.2909265636 272438.30615412281,2669346.318574816 272297.42951477336,2669327.7605163776 272280.93346181017,2669202.282330214 272166.40975218627,2669006.2203350216 271975.40092502104,2669003.6559350337 271972.94659512118,2668816.5381304803 271797.01516738971,2668563.9564069435 271552.58117700013,2668560.6592296115 271549.46202794515,2668469.6470211525 271465.30019585806,2668352.851236159 271344.54524032288,2668346.3695596261 271338.14234401024,2668255.3536364674 271252.23965029872,2668242.0877863234 271240.77581272583,2668183.0824072505 271194.14253929205,2668156.471029012 271170.57245635585,2667992.4131387016 271004.52606006869,2667988.6785943792 271000.84408189094,2667901.8857915569 270917.48856856587,2667881.9930221392 270920.08801217284,2667863.4959993367 270925.2169905582,2667855.1220021732 270928.3499937749,2667838.625982428 270938.80800250638,2667820.9199819015 270953.36301544425,2667806.3129979977 270970.4890199888,2667795.9379977765 270985.53802300256,2667783.4849807783 271005.16999501467,2667774.1379904393 271026.77101398323,2667769.2479818077 271045.0920123324,2667766.6218780275 271057.94761583704,2667853.60586295 271141.48673980223,2667853.6992265582 271141.57878925663,2668022.3196221939 271312.24299189146,2668052.261867119 271338.76327167032)),((2668621.8039101921 271893.83875994524,2668708.5939935953 271980.05501039221,2668758.5100035211 272029.43202096823,2668999.5870229555 272266.36499642872,2669047.6259866212 272313.83401989029,2669169.9609996877 272433.26798945636,2669156.2770201415 272447.82701503631,2669152.3000084353 272452.05899871938,2669047.580358685 272566.76951774844,2669059.07927251 272577.26455523784,2669061.0325510185 272579.0239182724,2669252.65517089 272749.35514644865,2669259.3896421669 272755.61424267356,2669363.4889845452 272657.6209937259,2669382.50097919 272639.72398176993,2669193.6269822605 272456.27198278415,2669204.2892292626 272445.46197270078,2669190.583504057 272433.27910509938,2669190.5346720945 272433.23512102355,2669061.6806792449 272315.63031884894,2669061.5622499352 272315.51864117954,2668863.199813955 272122.26866321731,2668675.0644291034 271945.38048871764,2668675.012292074 271945.33075597486,2668621.8039101921 271893.83875994524)),((2667820.9199819015 270953.36301544425,2667877.4616753059 270894.2136172601,2667635.9867241122 270668.63822003675,2667473.0777259022 270511.76294403907,2667362.1654696316 270399.89460570336,2667351.0318503459 270386.53424639819,2667353.1057906118 270369.25130332157,2667392.7496305276 270194.23836177919,2667395.9369028728 270176.48686356761,2667397.0768031054 270167.93769603857,2667415.6516704997 270142.56719073287,2667424.7677217149 270128.98345668329,2667443.7916398924 270097.9655711946,2667460.9152091327 270062.69574068469,2667470.8289512005 270024.762967441,2667473.1518865474 269985.62498666631,2667472.2402227214 269979.01544618892,2667256.0940110106 270163.54399970663,2667188.550996427 270221.29698959459,2667193.956992148 270197.8109957719,2667199.9469964928 270171.37498487829,2667197.4917207863 270173.56755541946,2667160.6962249437 270336.00610770396,2667154.6189217232 270386.65061629307,2667153.6210496165 270424.57026852213,2667159.480942999 270447.03316277458,2667172.3362285104 270476.69919561408,2667217.7565692873 270531.20367048145,2667336.1911747726 270650.65920193074,2667501.7915902673 270810.12621217291,2667742.68823009 271035.16137606534,2667746.4119876497 271031.17597637954,2667762.7910122895 271013.92398454424,2667820.9199819015 270953.36301544425)),((2668471.402630189 271748.28909579659,2668336.326873967 271888.93079307029,2668479.6639016406 272027.64408219588,2668614.8836596967 271887.14174157265,2668471.402630189 271748.28909579659)),((2667359.7395684123 269814.11183598818,2667282.6020077355 269888.61299626593,2667303.5420043604 269910.63901687448,2667383.91728911 269827.49620502215,2667377.8672984857 269822.91288313258,2667359.7395684123 269814.11183598818)),((2667019.9392894655 270027.29829661967,2667034.2579968879 270013.355981313,2667225.6779910154 269826.80501405016,2667259.2924584779 269794.41253668105,2667226.6875763042 269798.90977695456,2667189.6398480511 269811.74112135114,2667155.8072526185 269831.55356829794,2667126.4899576749 269857.58573656977,2667102.8146104235 269888.83722453896,2667088.07071314 269912.87667389616,2667061.3971756008 269949.30875770538,2667061.3971756008 269949.30875770526,2667045.1710985317 269975.48515655525,2667026.2287774868 270012.06309929845,2667026.2287774868 270012.06309929834,2667019.9392894655 270027.29829661967)))

When I call triangle.intersection(big_multipolygon) I get a TopologyException: "no outgoing dirEdge found [ (523.939289465547, 7883.29829661967, NaN) ]"

I'm using NTS, I was wondering if someone could check if this is still a problem in the latest JTS?

Also, any suggestions for what I can do to my data to try and prevent this?
--
Jeff Adams
Avencia, Inc.
215-701-7717

_______________________________________________
jts-devel mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/jts-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: No outgoing dirEdge found

Martin Davis
This works fine in JTS 1.10.

Jeff Adams wrote:
> triangle =
> POLYGON((2667061.3971756008 269949.30875770526,2667165.2726450353 270120.21775936912,2667255.6991384788 269996.70862291165,2667061.3971756008 269949.30875770526))
>
> big_multipolygon =
> MULTIPOLYGON(((2670219.3034489308 273131.38078777987,2670160.2680004076 273193.22501987009,2670111.72300874 273242.3220157153,2670107.3090058127 273248.86300899077,2670106.5209809314 273258.47700923274,2670107.3090058127 273261.94499554165,2670108.7279823953 273265.88502325793,2670132.0550175793 273288.89699352474,2670147.8430235581 273303.80502227141,2670217.3060148372 273371.2600004556,2670227.5667967526 273381.16394274536,2670238.7671554629 273366.46979697474,2670255.9947896847 273331.25068019331,2670266.0204909113 273293.34734415734,2670268.4589770674 273254.21639281436,2670263.2165384977 273215.36160667957,2670250.4946391759 273178.276153394,2670230.7821745593 273144.38520612975,2670219.3034489308 273131.38078777987)),((2670153.6390190781 273407.08100092481,2670103.6029726 273457.51880054449,2670114.6292048721 273456.03109848534,2670151.7146581579 273443.30919916381,2670176.052020953 273429.15351920505,2670153.6390190781 273407.08100092481)),((2669919.7329777181 273078
 .25098106166,2670052.7089856616 273208.10998801136,2670057.0100061256 273208.71299625339,2670071.0519810244 273209.12702355906,2670182.741192379 273094.42941178579,2669915.2886832436 272845.54174946406,2669806.2659553937 272734.67115246435,2669693.9560173228 272851.67202405533,2669689.0160198738 272859.92897776864,2669687.0400112248 272864.97001644486,2669686.1020198907 272870.0639929889,2669686.2709859619 272875.03101534036,2669687.8460204778 272879.69099805865,2669691.2830175874 272883.84500112006,2669762.1510137189 272947.11600229028,2669919.7329777181 273078.25098106166)),((2669506.9879770139 272797.29801717529,2669407.6621382129 272899.81082251895,2669633.1887158509 273129.15993893874,2669639.5449106209 273135.34347627638,2669767.0469160159 273253.99510593072,2669877.9839996481 273142.09999606508,2669713.7489784672 272997.20702142286,2669506.9879770139 272797.29801717529)),((2667728.3624068378 271306.39885183232,2667862.041052334 271164.24982474931,2667846.6317709195 27
 1148.65377116471,2667743.4162441255 271049.525929463,2667494.9374910416 270817.40788512171,2667494.8824816048 270817.35571109172,2667329.21305541 270657.82224612479,2667329.1305889515 270657.74097288342,2667210.5031027133 270538.09089801705,2667210.2126686666 270537.77148928976,2667164.1934127733 270482.54831541306,2667163.44674321 270481.335433489,2667163.44674321 270481.33543348894,2667150.1522798426 270450.65591365413,2667149.9019717635 270449.92998694908,2667149.9019717635 270449.92998694914,2667143.7660582531 270426.40901697066,2667143.6058745547 270425.01537425164,2667144.6285109008 270386.15466821461,2667144.6623959136 270385.69047740026,2667150.7982617063 270334.55794434226,2667150.8861894952 270334.04905434011,2667150.8861894952 270334.04905434017,2667184.6383617772 270185.04565388558,2667015.0060172416 270336.52798252844,2666949.3686658754 270393.46360177873,2666948.673358459 270419.88564048416,2666955.0807063957 270475.63134924375,2666961.216619906 270499.15231922
 222,2666971.2289430606 270528.18938742403,2666984.5234064278 270558.86890725885,2667014.3901889813 270607.38418422284,2667060.4094448746 270662.60735809954,2667072.0268067294 270675.38370718993,2667190.6542929676 270795.0337820563,2667193.9529513111 270798.2847117132,2667359.622377506 270957.81817668013,2667361.8227549796 270959.90513787809,2667609.3160978286 271191.10265483527,2667709.7149133189 271287.52533655823,2667728.3624068378 271306.39885183232)),((2668052.261867119 271338.76327167032,2668066.6629788447 271322.20197708753,2668067.4119892428 271322.92700832343,2668067.4160018847 271322.93102096545,2668201.3810052266 271452.42801992066,2668220.506997582 271470.27001517016,2668340.0779771181 271586.5679841243,2668370.1150199939 271615.2579879039,2668412.1809967849 271655.660023568,2668500.8540041763 271741.37600385118,2668582.4660185608 271821.41399896663,2668631.3860230506 271869.26697909122,2668621.6700200969 271879.79328087834,2668681.9406179464 271938.11968125758,26
 68870.0820823759 272115.01357188233,2668870.1461923756 272115.07493012986,2669068.4821055145 272308.29906883254,2669197.2517031846 272425.82684368227,2669211.2909265636 272438.30615412281,2669346.318574816 272297.42951477336,2669327.7605163776 272280.93346181017,2669202.282330214 272166.40975218627,2669006.2203350216 271975.40092502104,2669003.6559350337 271972.94659512118,2668816.5381304803 271797.01516738971,2668563.9564069435 271552.58117700013,2668560.6592296115 271549.46202794515,2668469.6470211525 271465.30019585806,2668352.851236159 271344.54524032288,2668346.3695596261 271338.14234401024,2668255.3536364674 271252.23965029872,2668242.0877863234 271240.77581272583,2668183.0824072505 271194.14253929205,2668156.471029012 271170.57245635585,2667992.4131387016 271004.52606006869,2667988.6785943792 271000.84408189094,2667901.8857915569 270917.48856856587,2667881.9930221392 270920.08801217284,2667863.4959993367 270925.2169905582,2667855.1220021732 270928.3499937749,2667838.6
 25982428 270938.80800250638,2667820.9199819015 270953.36301544425,2667806.3129979977 270970.4890199888,2667795.9379977765 270985.53802300256,2667783.4849807783 271005.16999501467,2667774.1379904393 271026.77101398323,2667769.2479818077 271045.0920123324,2667766.6218780275 271057.94761583704,2667853.60586295 271141.48673980223,2667853.6992265582 271141.57878925663,2668022.3196221939 271312.24299189146,2668052.261867119 271338.76327167032)),((2668621.8039101921 271893.83875994524,2668708.5939935953 271980.05501039221,2668758.5100035211 272029.43202096823,2668999.5870229555 272266.36499642872,2669047.6259866212 272313.83401989029,2669169.9609996877 272433.26798945636,2669156.2770201415 272447.82701503631,2669152.3000084353 272452.05899871938,2669047.580358685 272566.76951774844,2669059.07927251 272577.26455523784,2669061.0325510185 272579.0239182724,2669252.65517089 272749.35514644865,2669259.3896421669 272755.61424267356,2669363.4889845452 272657.6209937259,2669382.50097919 27
 2639.72398176993,2669193.6269822605 272456.27198278415,2669204.2892292626 272445.46197270078,2669190.583504057 272433.27910509938,2669190.5346720945 272433.23512102355,2669061.6806792449 272315.63031884894,2669061.5622499352 272315.51864117954,2668863.199813955 272122.26866321731,2668675.0644291034 271945.38048871764,2668675.012292074 271945.33075597486,2668621.8039101921 271893.83875994524)),((2667820.9199819015 270953.36301544425,2667877.4616753059 270894.2136172601,2667635.9867241122 270668.63822003675,2667473.0777259022 270511.76294403907,2667362.1654696316 270399.89460570336,2667351.0318503459 270386.53424639819,2667353.1057906118 270369.25130332157,2667392.7496305276 270194.23836177919,2667395.9369028728 270176.48686356761,2667397.0768031054 270167.93769603857,2667415.6516704997 270142.56719073287,2667424.7677217149 270128.98345668329,2667443.7916398924 270097.9655711946,2667460.9152091327 270062.69574068469,2667470.8289512005 270024.762967441,2667473.1518865474 269985
 .62498666631,2667472.2402227214 269979.01544618892,2667256.0940110106 270163.54399970663,2667188.550996427 270221.29698959459,2667193.956992148 270197.8109957719,2667199.9469964928 270171.37498487829,2667197.4917207863 270173.56755541946,2667160.6962249437 270336.00610770396,2667154.6189217232 270386.65061629307,2667153.6210496165 270424.57026852213,2667159.480942999 270447.03316277458,2667172.3362285104 270476.69919561408,2667217.7565692873 270531.20367048145,2667336.1911747726 270650.65920193074,2667501.7915902673 270810.12621217291,2667742.68823009 271035.16137606534,2667746.4119876497 271031.17597637954,2667762.7910122895 271013.92398454424,2667820.9199819015 270953.36301544425)),((2668471.402630189 271748.28909579659,2668336.326873967 271888.93079307029,2668479.6639016406 272027.64408219588,2668614.8836596967 271887.14174157265,2668471.402630189 271748.28909579659)),((2667359.7395684123 269814.11183598818,2667282.6020077355 269888.61299626593,2667303.5420043604 269910.6
 3901687448,2667383.91728911 269827.49620502215,2667377.8672984857 269822.91288313258,2667359.7395684123 269814.11183598818)),((2667019.9392894655 270027.29829661967,2667034.2579968879 270013.355981313,2667225.6779910154 269826.80501405016,2667259.2924584779 269794.41253668105,2667226.6875763042 269798.90977695456,2667189.6398480511 269811.74112135114,2667155.8072526185 269831.55356829794,2667126.4899576749 269857.58573656977,2667102.8146104235 269888.83722453896,2667088.07071314 269912.87667389616,2667061.3971756008 269949.30875770538,2667061.3971756008 269949.30875770526,2667045.1710985317 269975.48515655525,2667026.2287774868 270012.06309929845,2667026.2287774868 270012.06309929834,2667019.9392894655 270027.29829661967)))

>
> When I call triangle.intersection(big_multipolygon) I get a
> TopologyException:
> "no outgoing dirEdge found [ (523.939289465547, 7883.29829661967, NaN) ]"
>
> I'm using NTS, I was wondering if someone could check if this is still
> a problem in the latest JTS?
>
> Also, any suggestions for what I can do to my data to try and prevent
> this?
> --
> Jeff Adams
> Avencia, Inc.
> 215-701-7717
> ------------------------------------------------------------------------
>
> _______________________________________________
> jts-devel mailing list
> [hidden email]
> http://lists.refractions.net/mailman/listinfo/jts-devel
>  

--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022


_______________________________________________
jts-devel mailing list
[hidden email]
http://lists.refractions.net/mailman/listinfo/jts-devel
Loading...