<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GIS mapping of CCTV location and its viewable coverage in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475519#M2922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there, &lt;BR /&gt;&lt;BR /&gt;I am exploring the use of GIS to map the location of each CCTV camera that is mounted on building. I was able to geocoded each CCTV camera location on 2D map however would like to seek your opinion on the following:&lt;BR /&gt;&lt;BR /&gt;Q1: I noticed there is limitation of using ArcGIS desktop to auto create the viewing area (this would be a polygon form) from each planted camera. May I know is there a third party software/any script I can use to generate the viewing coverage from each camera, the viewing coverage looks like a cone shape. &lt;BR /&gt;&lt;BR /&gt;Look forward to hearing any further sharing, thanks. &lt;BR /&gt;&lt;BR /&gt; See the attached images. [ATTACH=CONFIG]23493[/ATTACH][ATTACH=CONFIG]23494[/ATTACH][ATTACH=CONFIG]23493[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not much unlike mapping Cell Phone Tower quadrants and/or other Radio Antenna broadcast coverage or other&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z000000v8000000.htm"&gt; viewshed analyses&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; There is also a plume modeling extension from&lt;/SPAN&gt;&lt;A href="http://response.restoration.noaa.gov/aloha"&gt; NOAA called Aloha&lt;/A&gt;&lt;SPAN&gt; that you might want to check out as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2013 11:16:50 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2013-04-15T11:16:50Z</dc:date>
    <item>
      <title>GIS mapping of CCTV location and its viewable coverage</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475518#M2921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: summerbay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am exploring the use of GIS to map the location of each CCTV camera that is mounted on building. I was able to geocoded each CCTV camera location on 2D map however would like to seek your opinion on the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1: I noticed there is limitation of using ArcGIS desktop to auto create the viewing area (this would be a polygon form) from each planted camera. May I know is there a third party software/any script I can use to generate the viewing coverage from each camera, the viewing coverage looks like a cone shape. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look forward to hearing any further sharing, thanks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; See the attached images. [ATTACH=CONFIG]23493[/ATTACH][ATTACH=CONFIG]23494[/ATTACH][ATTACH=CONFIG]23493[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 06:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475518#M2921</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-04-15T06:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: GIS mapping of CCTV location and its viewable coverage</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475519#M2922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there, &lt;BR /&gt;&lt;BR /&gt;I am exploring the use of GIS to map the location of each CCTV camera that is mounted on building. I was able to geocoded each CCTV camera location on 2D map however would like to seek your opinion on the following:&lt;BR /&gt;&lt;BR /&gt;Q1: I noticed there is limitation of using ArcGIS desktop to auto create the viewing area (this would be a polygon form) from each planted camera. May I know is there a third party software/any script I can use to generate the viewing coverage from each camera, the viewing coverage looks like a cone shape. &lt;BR /&gt;&lt;BR /&gt;Look forward to hearing any further sharing, thanks. &lt;BR /&gt;&lt;BR /&gt; See the attached images. [ATTACH=CONFIG]23493[/ATTACH][ATTACH=CONFIG]23494[/ATTACH][ATTACH=CONFIG]23493[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is not much unlike mapping Cell Phone Tower quadrants and/or other Radio Antenna broadcast coverage or other&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z000000v8000000.htm"&gt; viewshed analyses&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; There is also a plume modeling extension from&lt;/SPAN&gt;&lt;A href="http://response.restoration.noaa.gov/aloha"&gt; NOAA called Aloha&lt;/A&gt;&lt;SPAN&gt; that you might want to check out as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 11:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475519#M2922</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2013-04-15T11:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: GIS mapping of CCTV location and its viewable coverage</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475520#M2923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: summerbay&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is not much unlike mapping Cell Phone Tower quadrants and/or other Radio Antenna broadcast coverage or other&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009z000000v8000000.htm"&gt; viewshed analyses&lt;/A&gt;.&amp;nbsp; There is also a plume modeling extension from&lt;A href="http://response.restoration.noaa.gov/aloha"&gt; NOAA called Aloha&lt;/A&gt; that you might want to check out as well.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Joe, Thanks for your reply and suggestion. I will look into the Aloha software. I have to agree not much the use of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS on the mapping on CCTV viewable coverage. Most of the common practice is to show the simple buffer zone of the CCTV on 2D map. If to get the details of the CCTV viewable coverage, this has to be complimented by other software like augmented reality AR software. One of the link I found is this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GeoScopeAVS&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.youtube.com/watch?v=wGjQXLTtrv0"&gt;http://www.youtube.com/watch?v=wGjQXLTtrv0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;summerbay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 02:55:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475520#M2923</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-04-17T02:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: GIS mapping of CCTV location and its viewable coverage</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475521#M2924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could modify the following code to generate you polygons.&amp;nbsp; I use this for cell tower sectors.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
from math import radians, sin, cos
import pprint

import arcpy
arcpy.env.overwriteOutput = True
arcpy.env.workspace = r'C:\gis\cellTowers\missedTowers.gdb'

def getEndXY(origin_x, origin_y, distance, angle):

&amp;nbsp;&amp;nbsp;&amp;nbsp; (disp_x, disp_y) = (distance * sin(radians(angle)),\
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance * cos(radians(angle)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; (end_x, end_y) = (origin_x + disp_x, origin_y + disp_y)
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return end_x, end_y



def makeCellSector(startX, startY, azimuth):
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = 15000
&amp;nbsp;&amp;nbsp;&amp;nbsp; offsetAzimuthA = azimuth - (60)
&amp;nbsp;&amp;nbsp;&amp;nbsp; offsetAzimuthB = azimuth + (60)&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CreateFeatureclass_management( 'in_memory', 'temp', 'Polygon')
&amp;nbsp;&amp;nbsp;&amp;nbsp; cur = arcpy.InsertCursor('in_memory\\temp')
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray = arcpy.Array()
&amp;nbsp;&amp;nbsp;&amp;nbsp; start = arcpy.Point()
&amp;nbsp;&amp;nbsp;&amp;nbsp; (start.ID, start.X, start.Y) = (1, startX, startY)
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray.add(start)
&amp;nbsp;&amp;nbsp;&amp;nbsp; a = arcpy.Point()
&amp;nbsp;&amp;nbsp;&amp;nbsp; ax , ay = getEndXY(startX, startY, distance, offsetAzimuthA)
&amp;nbsp;&amp;nbsp;&amp;nbsp; (a.ID, a.X, a.Y) = (2, ax, ay)
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray.add(a)
&amp;nbsp;&amp;nbsp;&amp;nbsp; b = arcpy.Point()
&amp;nbsp;&amp;nbsp;&amp;nbsp; bx, by= getEndXY(startX, startY, distance, offsetAzimuthB)
&amp;nbsp;&amp;nbsp;&amp;nbsp; (b.ID, b.X, b.Y) = (3, bx, by)
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray.add(b)
&amp;nbsp;&amp;nbsp;&amp;nbsp; close = arcpy.Point()
&amp;nbsp;&amp;nbsp;&amp;nbsp; (close.ID, close.X, close.Y) = (4, startX, startY)
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray.add(close)
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat = cur.newRow()
&amp;nbsp;&amp;nbsp;&amp;nbsp; feat.shape = polyArray
&amp;nbsp;&amp;nbsp;&amp;nbsp; cur.insertRow(feat)
&amp;nbsp;&amp;nbsp;&amp;nbsp; polyArray.removeAll()
&amp;nbsp;&amp;nbsp;&amp;nbsp; del cur
&amp;nbsp;&amp;nbsp;&amp;nbsp; 

towers = {}
fields = ['CellNumber', 'Sector', 'City', 'Azimuthdeg', 'POINT_X', 'POINT_Y']
with arcpy.da.SearchCursor('missedTowers', fields) as c:
&amp;nbsp;&amp;nbsp;&amp;nbsp; for r in c:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; towers[r[0], r[1], r[2]] = r[3],r[4],r[5]

for k, v in towers.iteritems():

&amp;nbsp;&amp;nbsp;&amp;nbsp; print k
&amp;nbsp;&amp;nbsp;&amp;nbsp; print v

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management('missedTowers', 'towerLyr',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '"CellNumber" = ' + str(int(k[0])) + ' AND "City" = ' + "'" + k[2] +"'")
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Buffer_analysis('towerLyr', 'in_memory\\buffer', '1 mile')
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.DeleteIdentical_management('in_memory\\buffer', 'Shape')
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; makeCellSector(v[1], v[2], v[0])
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'made sector'
&amp;nbsp;&amp;nbsp;&amp;nbsp; name = k[2] + '_' +str(int(k[0])) + '_' + k[1] 

&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Intersect_analysis(['in_memory\\buffer', 'in_memory\\temp'], name, 'ONLY_FID', '#', 'INPUT')
&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'intersect complete'
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management('towerLyr')
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management('in_memory\\temp')
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Delete_management('in_memory\\buffer')
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/gis-mapping-of-cctv-location-and-its-viewable/m-p/475521#M2924</guid>
      <dc:creator>KevinBell</dc:creator>
      <dc:date>2021-12-11T21:01:54Z</dc:date>
    </item>
  </channel>
</rss>

