Hi Roy, If you will write this case up as a test and attach it to a new ticket via
http://trac.gispython.org/lab/newticket I'll look into it first thing in the morning. On Jan 28, 2010, at 6:25 PM, Roy Hyunjin Han wrote: > Intersecting these two shapes produces an exception in one direction > and > an empty GeometryCollection in the other direction. > > ValueError: No Shapely geometry can be created from this null value > > > LINESTRING (342040.4052937499945983 1733914.7498406248632818, > 342800.9687500000000000 1732147.7500000000000000) > > MULTILINESTRING ((338037.0272647689562291 1738822.0844800672493875, > 338122.4872458333265968 1740602.6669322918169200), > (341055.8125000000000000 1737999.5000000000000000, > 341088.2641324455034919 1738675.6387793309986591), > (343872.3367546225199476 1738455.6147049916908145, > 344304.1345666666748002 1739696.0837052082642913), > (344599.9368625000352040 1736955.1670916667208076, > 344705.7704083333374001 1737219.7509562498889863), > (344777.0092479166924022 1736310.5837052082642913, > 344806.7602041666978039 1735957.2498406248632818), > (344599.9368625000352040 1736955.1670916667208076, > 344777.0092479166924022 1736310.5837052082642913), > (344705.7704083333374001 1737219.7509562498889863, > 344999.4007321668323129 1738063.2923176910262555), > (336700.9845364579814486 1738886.2085458301007748, > 343584.4261802079854533 1738555.8341833299491554), > (343584.4261802079854533 1738555.8341833299491554, > 350539.0000000000000000 1736135.0000000000000000), > (350539.0000000000000000 1736135.0000000000000000, > 353532.0000000000000000 1733674.0000000000000000), > (343584.4261802079854533 1738555.8341833299491554, > 343584.4261802083929069 1738555.8341833334416151), > (338974.4062500000000000 1738474.5000000000000000, > 338988.8960515933576971 1738776.3990424757357687), > (337228.9164541666978039 1738422.7507968749850988, > 337249.8958942070021294 1738859.8632596679963171), > (336700.9845364581560716 1738886.2085458301007748, > 336700.9845364583306946 1738886.2085458333604038), > (336700.9845364583306946 1738886.2085458333604038, > 336700.9845364583889022 1739336.0011156250257045), > (336700.9845364579814486 1738886.2085458301007748, > 336700.9845364583889022 1739336.0011156250257045), > (352322.3515635417425074 1733992.6680479168426245, > 352653.9644338882062584 1734395.9664310729131103), > (353010.2696114583523013 1733384.1251593751367182, > 353362.9286172770080157 1733813.0192692554555833), > (339624.9033812499837950 1738141.6675697916653007, > 339653.8359129828168079 1738744.4849079225677997), > (351525.9057718749972992 1736464.6248406248632818, > 351639.5095666666748002 1736689.7496812499593943), > (351639.5095666666748002 1736689.7496812499593943, > 352032.3853635416598991 1736657.8341833334416151), > (352800.8636802083346993 1736253.2083864584565163, > 353430.9161354166571982 1736175.9585458333604038), > (352032.3853635416598991 1736657.8341833334416151, > 352800.8636802083346993 1736253.2083864584565163), > (350966.1057054338161834 1735783.8115131731610745, > 351525.9057718749972992 1736464.6248406248632818), > (351476.9095968750189058 1733658.5830677084159106, > 352322.3515635417425074 1733992.6680479168426245), > (350923.4438035361235961 1735818.8903439685236663, > 351639.5095666666748002 1736689.7496812499593943), > (344599.9368625000352040 1736955.1670916667208076, > 344987.1510837944224477 1738067.5563270009588450), > (337228.9164541666978039 1738422.7507968749850988, > 337328.1250000000000000 1737103.2500000000000000), > (343584.4261802083929069 1738555.8341833334416151, > 344304.1345666666748002 1739696.0837052082642913), > (351173.4997793086804450 1735613.2813374947290868, > 352032.3853635416598991 1736657.8341833334416151), > (339624.9033812499837950 1738141.6675697916653007, > 341055.8125000000000000 1737999.5000000000000000), > (342652.0000000000000000 1740199.0000000000000000, > 342714.0223208333482035 1740098.1221312498673797), > (342339.0000000000000000 1740499.0000000000000000, > 342652.0000000000000000 1740199.0000000000000000), > (341493.5742744263261557 1738656.1857082219794393, > 341530.6517875000135973 1739428.7059958332683891), > (341530.6517875000135973 1739428.7059958332683891, > 342339.0000000000000000 1740499.0000000000000000), > (342642.1699615850229748 1738601.0582607102114707, > 342714.0223208333482035 1740098.1221312498673797), > (342575.4596268867608160 1738604.2600579271093011, > 342652.0000000000000000 1740199.0000000000000000), > (344806.7602041666978039 1735957.2498406248632818, > 346377.2806125000352040 1735448.2082270833197981), > (344777.0092479166924022 1736310.5837052082642913, > 345345.2123583207139745 1737942.9179241941310465), > (342248.8134232072043233 1738619.9376123961992562, > 342339.0000000000000000 1740499.0000000000000000), > (335456.2045614583184943 1736782.3308364583645016, > 337328.1250000000000000 1737103.2500000000000000), > (336700.9845364583889022 1739336.0011156250257045, > 338122.4872458333265968 1740602.6669322918169200)) > > > -- > Roy Hyunjin Han > http://invisibleroads.com > We train people to become software developers and connect them to jobs > and projects for local businesses > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community -- Sean _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
