Replies: 1 comment
-
Sorry, I appeared to have overlooked #1232 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a script that splits LineStrings to retains only the portions that are contained within a polygon. The script works the majority of the time, but in this example it is not.
In this image I have plotted the returned split_tracks. The light grey line is the original LineString. The dark grey line is the Polygon. The black line is the LineString after LineSplit. It should be returning two LineStrings instead of one.
If I remove the first coordinate of the Linestring (listed below), the problem resolves.
![image](https://private-user-images.githubusercontent.com/74560920/405658072-633a60e7-40f6-47ec-8521-a932c5ef56b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MjIzMTgsIm5iZiI6MTczODkyMjAxOCwicGF0aCI6Ii83NDU2MDkyMC80MDU2NTgwNzItNjMzYTYwZTctNDBmNi00N2VjLTg1MjEtYTkzMmM1ZWY1NmI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDA5NTMzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkOWM4OGNhY2JkZTVlNTcyYzE2Y2M0NWM3NGJjYWI3YjE3NzI4OWUwYjU2MTVhMzkwZTM5OGEzYmNhOTcyNzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6_2Yr2jCaGKP3sWg-Lx4MixlRZKhlXE-lcwJ9zhluPQ)
[-120.68601827210877, 47.29683594133326],
Any thoughts as to what is going on here?
Beta Was this translation helpful? Give feedback.
All reactions