Polygons must not intersect

Forum for questions and support relating to the 1.30.x releases only.
Post Reply
rdorsch
Posts: 10
Joined: Sat Jun 03, 2017 7:26 am

Polygons must not intersect

Post by rdorsch » Tue Oct 23, 2018 9:17 pm

Hi,

I have a zoneminder instance running and when I try to edit a zone, I get an error message:

polygons must not intersect

They intersect indeed before editing, but after everything looks ok for me (see attachment).

Has anybody an idea what is going wrong?

zoneminder release: 1.30.4

Any idea on how to get around this issue is welcome.

Many thanks
Rainer
Attachments
polygons-must-not-intersect.png
polygons-must-not-intersect.png (233.95 KiB) Viewed 1216 times

mikb
Posts: 463
Joined: Mon Mar 25, 2013 12:34 pm

Re: Polygons must not intersect

Post by mikb » Wed Oct 24, 2018 4:32 pm

First thought: Move the points that are VERY close to the edge away from edge of frame, I've sometimes had complaints when getting right near the edge.

Second thought: Take out those two funny little insertions into the polygon, it looks like you could cover this area with a 4 sided polygon and save the headache.

Obviously you know more about the area being covered than I do, but what are you trying to avoid in those thin slivers, does an incredibly thin person come along and pogo-jump several times a day? :)

rdorsch
Posts: 10
Joined: Sat Jun 03, 2017 7:26 am

Re: Polygons must not intersect

Post by rdorsch » Wed Oct 24, 2018 7:52 pm

Many thanks for your quick reply.

I simplified the polygon now a lot(see attachment), but I still get the same error message.

Not sure if I fully understood your last comment: the thin slivers see light through the glas in the door, I want to cut that out to avoid false alarms.

Thanks
Rainer
Attachments
polygons-must-not-intersect-2.png
polygons-must-not-intersect-2.png (245.24 KiB) Viewed 1194 times

rdorsch
Posts: 10
Joined: Sat Jun 03, 2017 7:26 am

Re: Polygons must not intersect

Post by rdorsch » Wed Oct 24, 2018 7:53 pm

Maybe I should add that I had intersections before I edited the polygon, but if the error message refers to that it clearly comes to late, I just fixed an intersect issue in the the polygon edges.

mikb
Posts: 463
Joined: Mon Mar 25, 2013 12:34 pm

Re: Polygons must not intersect

Post by mikb » Thu Oct 25, 2018 4:30 pm

My last comment was partly a joke, but the point was serious: Trying to create tiny "avoidance" areas like that seems a lot of effort, gives ZM more work to do, and seems remarkably precise as to the shape of the thing you are cutting round.

Hint: Look at "exclusion" zones too, as they can be used to prevent part of the picture from triggering an event.

rdorsch
Posts: 10
Joined: Sat Jun 03, 2017 7:26 am

Re: Polygons must not intersect

Post by rdorsch » Thu Oct 25, 2018 7:03 pm

Many thanks for your reply again.

I deleted the entire zone and recreated it, that solved the problem.

I also used "inactive" zones on top of a simpler "active" zone now.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests