Editing Zones
Editing Zones
Is i my imagination or is the new zone edit screen in 1.30 missing the display of the other zones that are defined for a camera when you are editing the active zone?
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Editing Zones
There are two zone views.
The first is called "zones", plural. As the name implies it displays all the zones for a particular monitor.
The second view is called "zone", singular. As that name implies, you see just one zone. This is the view from which you edit the selected zone from. No other zones are visible in this view.
Typically, the first view you see is the zones view. Then, when you select a zone for editing, it brings up the zone view.
This behaviour has not changed with the release of 1.30.0.
The first is called "zones", plural. As the name implies it displays all the zones for a particular monitor.
The second view is called "zone", singular. As that name implies, you see just one zone. This is the view from which you edit the selected zone from. No other zones are visible in this view.
Typically, the first view you see is the zones view. Then, when you select a zone for editing, it brings up the zone view.
This behaviour has not changed with the release of 1.30.0.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Editing Zones
Well apparently I was mistaken. 1.29.0 did show you the rest of the zones on the "zone", singular, view.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Editing Zones
There is a bug when I attempt to add a 2nd zone there is no grid displayed in the zone editor but the points are there and can be dragged. So the 2nd or more added zones do not display in any of the zone editor screens.
Re: Editing Zones
When defining multiple zones for a screen it is kind of important to be able to see existing other zones on the screen while you add another zone. I have fairly wide angle lenses on my cameras and create a near/middle/far set of zones and too not be able to see where one zone ends ad another begins is important.
-
- Posts: 204
- Joined: Thu Jan 01, 2015 5:12 pm
- Location: Rhode Island
Re: Editing Zones
Zone Points 1.30
I am having difficulty adding 5th zone point
I can drag the 4 default points fin but cannot add any with the "+"
I am having difficulty adding 5th zone point
I can drag the 4 default points fin but cannot add any with the "+"
Linux Mint 23 Cinnamon Mariadb 10.x using Master 1.37.x latest always
DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Editing Zones
Yeah, it looks like we need to take a closer look at this.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 204
- Joined: Thu Jan 01, 2015 5:12 pm
- Location: Rhode Island
Re: Editing Zones
Sorry i did not notice the "+ -" in the table to add a zone point
My monitor was too bright to notice them.
I assumed from all the searching to add a zone point was to use
the keyboard + / - , It works ok clicking them with the mouse.
Jimmy
My monitor was too bright to notice them.
I assumed from all the searching to add a zone point was to use
the keyboard + / - , It works ok clicking them with the mouse.
Jimmy
Linux Mint 23 Cinnamon Mariadb 10.x using Master 1.37.x latest always
DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
DVB stands for Digital VIdeo Broadcasting , retired satellite downlink supplier
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Editing Zones
Gentlemen,
iconnor has created a PR to show all the polgons on the zone editing screen.
I won't have time to build and test this until the weekend.
However, we could merge this quicker if one of you would be willing to make the proposed changes to your own system and then report back the status:
https://github.com/ZoneMinder/ZoneMinder/pull/1576
The changes are all http, php, css changes, so you could make the changes to your system by hand if you don't want to build your own package.
iconnor has created a PR to show all the polgons on the zone editing screen.
I won't have time to build and test this until the weekend.
However, we could merge this quicker if one of you would be willing to make the proposed changes to your own system and then report back the status:
https://github.com/ZoneMinder/ZoneMinder/pull/1576
The changes are all http, php, css changes, so you could make the changes to your system by hand if you don't want to build your own package.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Editing Zones
I made all the changes and I can see all the zone polygons except for an "Inactive" one.
So to run a test I then modified /web/skins/classic/css/dark/views/zone.css by adding
line 119:
in /web/skins/classic/css/dark/views/zones.css added:
line 21:
And I returned this line in /web/skins/classic/views/zone.php:
Line 236
To:
Then it worked completely in the dark skin.
So to run a test I then modified /web/skins/classic/css/dark/views/zone.css by adding
line 119:
Code: Select all
.Inactive {
stroke: #57C03C;
fill: #57C03C;
}
line 21:
Code: Select all
.Inactive {
stroke: #57C03C;
fill: #57C03C;
}
Line 236
Code: Select all
<polygon id="zonePoly" points="<?php echo $zone['AreaCoords'] ?>" class="Editing <?php echo $zone['Type'] ?>"
Code: Select all
<polygon id="zonePoly" points="<?php echo $zone['AreaCoords'] ?>" class="<?php echo $zone['Type'] ?>"
Last edited by rockedge on Sat Aug 13, 2016 2:49 pm, edited 1 time in total.
Re: Editing Zones
I made the same change to the "flat' and "classic" skin and all the zone types are visible when there are 2 or more.
Re: Editing Zones
I just upgraded a clients machine from 1.29 to 1.30.0 using the iconner PPA for Ubuntu and noticed that multiple zones are not visible. Are the modifications present?
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Editing Zones
I am trying to fix this issue in 1.3, and after editing the files mentioned (except I edited the Classic CSS files as I don't use the Dark skin) I still cannot get the old behavior to return, it still won't show me the other defined zones while I'm editing a zone so it's extremely difficult to edit zones to make sure they don't overlap or have missing coverage.
But one thing I noticed is my zone.php did not have Editing comment in the file.
I restarted apache and zoneminder after making the changes, does something else need to happen?
But one thing I noticed is my zone.php did not have Editing comment in the file.
I restarted apache and zoneminder after making the changes, does something else need to happen?
Re: Editing Zones
did you try to clear the browser cache? I can not remember if this mattered...
-
- Posts: 110
- Joined: Sun Nov 15, 2015 7:19 pm
Re: Editing Zones
Yes & I tried a different browser too. I'll try rebooting my server and see if there is some service I failed to restart.
But I'm still unsure about editing the zone.php because mine didn't have the "editing" word to be removed. But my line count is different too for zone.php
But I'm still unsure about editing the zone.php because mine didn't have the "editing" word to be removed. But my line count is different too for zone.php