New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: split polygon on blade #9334
Comments
That implementation looks great to me, and would totally work for my purposes, and save me lots of time. Thanks! Look forward to it landing. |
@RudyTheDev is there a chance this lands? Did submit your patch? |
@EvanCarroll Sorry, I've been super busy with work and such. My progress is at RudyTheDev/iD/splice_operation. There are a lot of small details to consider. I implemented it for single-way areas. I wanted to do polygons too, but it got complicated fast, so I haven't done that. I will probably submit the current version PR at some point. |
Awesome. No rush! Just please drop a message here if you can't get it done or decide to drop it. With that link, hopefully someone else can pick it up. I may take a look it at it myself, but it's really low on my pecking order now. Look forward to seeing it land. |
+1 would love to see this feature added. It would make it a lot easier to make 2 * semi-detached houses from a single outline |
Description
It would be nice if we had a way to split a polygon with a blade. This is a pretty common practice for mapping. I can think of two use value propsitions here,
It makes it easier to incrementally upgrade things: for example, let's say you map a parking lot. At first you may map the whole parking lot with a single polygon which is explicitly mentioned as a good start. However, the ideal is to have every parking lot aisle not overlap anything including parking aisles. This requires a lot of polygons for the parking lot. As a transition you may want to to cut the parking lot in half, and convert just half of it to smaller polygons for each aisle.
It makes it easier to reform and fix things, take for example this screen shot
In this case an aisle overlaps a "planter". I would like to be able to
While easier is an operative term, it's an understatement. For example, let's assume you have a long parking aisle and inside the parking aisle on opposite ends there are self-contained "Accessible Parking Space" polygons. This makes this task substantially harder with the blade-splitting the polygon. Because one of these must be deleted making the transition a bit more dangerous. For example, from the above, if I zoom out a bit you can see this,
If I wanted to add a "Planter" as described above, I would have to delete the "Accessible Parking Space" first. A solution here would save me that work, and it would make it harder to do the wrong thing.
I know on the backend we typically use
ST_Split
for thisThe text was updated successfully, but these errors were encountered: