Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
added corrections for Earth's curvature and refraction
Browse files Browse the repository at this point in the history
version 0.6.0
  • Loading branch information
JanCaha committed Oct 10, 2016
1 parent 8f0bd6f commit 1f62d7d
Show file tree
Hide file tree
Showing 14 changed files with 200 additions and 73 deletions.
2 changes: 1 addition & 1 deletion Line of Sight Analyst.AnalyzeGlobalLoS.pyt.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<metadata xml:lang="cs"><Esri><CreaDate>20160915</CreaDate><CreaTime>15122300</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20160922</ModDate><ModTime>14231000</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ItemDescription</ArcGISProfile></Esri><tool name="AnalyzeGlobalLoS" displayname="Analysis of Global Line of Sight" toolboxalias="losAnalyst" xmlns=""><arcToolboxHelpPath>c:\program files (x86)\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath><parameters><param name="in_los" displayname="Global Lines of Sight" type="Required" direction="Input" datatype="Feature Layer" expression="in_los"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;Input&lt;/SPAN&gt;&lt;SPAN&gt; Global&lt;/SPAN&gt;&lt;SPAN&gt; Lines of Sight in form of Feature Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_observer_offset" displayname="Observer points offset" type="Required" direction="Input" datatype="String" expression="in_observer_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of observers from the surface. Specified as field, as each observer point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_offset" displayname="Target points offset" type="Required" direction="Input" datatype="String" expression="in_target_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of the target from the surface. Specified as field, as each target point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_x" displayname="Target points X coordinate" type="Required" direction="Input" datatype="String" expression="in_target_x"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;X coordinate of the target point. Used to identify it on Line of Sight.&lt;/SPAN&gt;&lt;SPAN&gt; Specifed as Field in the atribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_y" displayname="Target points Y coordinate" type="Required" direction="Input" datatype="String" expression="in_target_y"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Y &lt;/SPAN&gt;&lt;SPAN&gt;coordinate of the target point. Used to identify it on Line of Sight.&lt;/SPAN&gt;&lt;SPAN&gt; Specifed as Field in the atribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param></parameters><summary>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the&lt;/SPAN&gt;&lt;SPAN&gt; Global&lt;/SPAN&gt;&lt;SPAN&gt; Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</summary></tool><dataIdInfo><idCitation><resTitle>Analysis of Global Line of Sight</resTitle></idCitation><idAbs>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the&lt;/SPAN&gt;&lt;SPAN&gt; Global&lt;/SPAN&gt;&lt;SPAN&gt; Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</idAbs><idCredit>Jan Caha - creator</idCredit><searchKeys><keyword>visibility</keyword><keyword>visibility analysis</keyword><keyword>line of sight</keyword><keyword>los</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"></ScopeCd></mdHrLv></metadata>
<metadata xml:lang="cs"><Esri><CreaDate>20160915</CreaDate><CreaTime>15122300</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20161009</ModDate><ModTime>12062300</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ItemDescription</ArcGISProfile></Esri><tool name="AnalyzeGlobalLoS" displayname="Analyze Global Lines of Sight" toolboxalias="losAnalyst" xmlns=""><arcToolboxHelpPath>i:\software\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath><parameters><param name="in_los" displayname="Global Lines of Sight" type="Required" direction="Input" datatype="Feature Layer" expression="in_los"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;Input&lt;/SPAN&gt;&lt;SPAN&gt; Global&lt;/SPAN&gt;&lt;SPAN&gt; Lines of Sight in form of Feature Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_observer_offset" displayname="Observer points offset" type="Required" direction="Input" datatype="String" expression="in_observer_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of observers from the surface. Specified as field, as each observer point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_offset" displayname="Target points offset" type="Required" direction="Input" datatype="String" expression="in_target_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of the target from the surface. Specified as field, as each target point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_x" displayname="Target points X coordinate" type="Required" direction="Input" datatype="String" expression="in_target_x"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;X coordinate of the target point. Used to identify it on Line of Sight.&lt;/SPAN&gt;&lt;SPAN&gt; Specifed as Field in the atribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_y" displayname="Target points Y coordinate" type="Required" direction="Input" datatype="String" expression="in_target_y"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Y &lt;/SPAN&gt;&lt;SPAN&gt;coordinate of the target point. Used to identify it on Line of Sight.&lt;/SPAN&gt;&lt;SPAN&gt; Specifed as Field in the atribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_use_curvature" displayname="Use earth curvature corrections?" type="Required" direction="Input" datatype="Boolean" expression="in_use_curvature"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Allows correction for the earth's curvature. Unchecked—No curvature correction will be applied(default). Checked—Curvature correction will be applied.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_ref_coeff" displayname="Refractivity coefficient " type="Required" direction="Input" datatype="Double" expression="in_ref_coeff"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Coefficient of the refraction of visible light in air (default value 0.13).&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param></parameters><summary>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the&lt;/SPAN&gt;&lt;SPAN&gt;Global&lt;/SPAN&gt;&lt;SPAN&gt;Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</summary></tool><dataIdInfo><idCitation><resTitle>Analyze Global Lines of Sight</resTitle></idCitation><idAbs>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the&lt;/SPAN&gt;&lt;SPAN&gt;Global&lt;/SPAN&gt;&lt;SPAN&gt;Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</idAbs><idCredit>Jan Caha - creator</idCredit><searchKeys><keyword>visibility</keyword><keyword>visibility analysis</keyword><keyword>line of sight</keyword><keyword>los</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv></metadata>
2 changes: 1 addition & 1 deletion Line of Sight Analyst.AnalyzeLoS.pyt.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<metadata xml:lang="cs"><Esri><CreaDate>20160915</CreaDate><CreaTime>13185200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20160922</ModDate><ModTime>14200400</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ItemDescription</ArcGISProfile></Esri><tool name="AnalyzeLoS" displayname="Analysis of Line of Sight" toolboxalias="losAnalyst" xmlns=""><arcToolboxHelpPath>c:\program files (x86)\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath><parameters><param name="in_los" displayname="Lines of Sight" type="Required" direction="Input" datatype="Feature Layer" expression="in_los"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Input Lines of Sight in form of Feature Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_observer_offset" displayname="Observer points offset" type="Required" direction="Input" datatype="String" expression="in_observer_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of observers from the surface. Specified as field, as each observer point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_offset" displayname="Target points offset" type="Required" direction="Input" datatype="String" expression="in_target_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of the target from the surface. Specified as field, as each target point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_object_size" displayname="Object size" type="Required" direction="Input" datatype="Double" expression="in_object_size"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Size of the object that is used to determine fuzzy visibility.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_recognition_acuinty" displayname="Recognition acuinty" type="Required" direction="Input" datatype="Double" expression="in_recognition_acuinty"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Recognition acuinty of the observer that is used to determine fuzzy visibility. Default value is 1 arc minute which equals to 1/60 of degree or 0,017.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_clear_visibility_distance" displayname="Clear visibility distance limit" type="Required" direction="Input" datatype="Double" expression="in_clear_visibility_distance"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Distance where the visibility is considered as ideal for fuzzy visibility determination .&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param></parameters><summary>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</summary></tool><dataIdInfo><idCitation><resTitle>Analysis of Line of Sight</resTitle></idCitation><idAbs>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</idAbs><idCredit>Jan Caha - creator</idCredit><searchKeys><keyword>visibility</keyword><keyword>visibility analysis</keyword><keyword>line of sight</keyword><keyword>los</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv></metadata>
<metadata xml:lang="cs"><Esri><CreaDate>20160915</CreaDate><CreaTime>13185200</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20161009</ModDate><ModTime>12074700</ModTime><scaleRange><minScale>150000000</minScale><maxScale>5000</maxScale></scaleRange><ArcGISProfile>ItemDescription</ArcGISProfile></Esri><tool name="AnalyzeLoS" displayname="Analyze of Lines of Sight" toolboxalias="losAnalyst" xmlns=""><arcToolboxHelpPath>i:\software\arcgis\desktop10.3\Help\gp</arcToolboxHelpPath><parameters><param name="in_los" displayname="Lines of Sight" type="Required" direction="Input" datatype="Feature Layer" expression="in_los"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Input Lines of Sight in form of Feature Layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_observer_offset" displayname="Observer points offset" type="Required" direction="Input" datatype="String" expression="in_observer_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of observers from the surface. Specified as field, as each observer point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_target_offset" displayname="Target points offset" type="Required" direction="Input" datatype="String" expression="in_target_offset"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Vertical offset of the target from the surface. Specified as field, as each target point can have different offset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_object_size" displayname="Object size" type="Required" direction="Input" datatype="Double" expression="in_object_size"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Size of the object that is used to determine fuzzy visibility.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_recognition_acuinty" displayname="Recognition acuinty" type="Required" direction="Input" datatype="Double" expression="in_recognition_acuinty"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Recognition acuinty of the observer that is used to determine fuzzy visibility. Default value is 1 arc minute which equals to 1/60 of degree or 0,017.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_clear_visibility_distance" displayname="Clear visibility distance limit" type="Required" direction="Input" datatype="Double" expression="in_clear_visibility_distance"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Distance where the visibility is considered as ideal for fuzzy visibility determination .&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference></param><param name="in_use_curvature" displayname="Use earth curvature corrections?" type="Required" direction="Input" datatype="Boolean" expression="in_use_curvature"><dialogReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Allows correction for the earth's curvature. Unchecked—No curvature correction will be applied(default). Checked—Curvature correction will be applied. &lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</dialogReference><pythonReference>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Coefficient of the refraction of visible light in air (default value 0.13).&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</pythonReference></param><param name="in_ref_coeff" displayname="Refractivity coefficient " type="Required" direction="Input" datatype="Double" expression="in_ref_coeff"/></parameters><summary>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</summary></tool><dataIdInfo><idCitation><resTitle>Analyze of Lines of Sight</resTitle></idCitation><idAbs>&lt;DIV STYLE="text-align:Left;"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;This tools calculates several characteristics from the Lines of Sight and adds the result as new fields to the attribute table.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</idAbs><idCredit>Jan Caha - creator</idCredit><searchKeys><keyword>visibility</keyword><keyword>visibility analysis</keyword><keyword>line of sight</keyword><keyword>los</keyword></searchKeys></dataIdInfo><distInfo><distributor><distorFormat><formatName>ArcToolbox Tool</formatName></distorFormat></distributor></distInfo><mdHrLv><ScopeCd value="005"/></mdHrLv></metadata>
Loading

0 comments on commit 1f62d7d

Please sign in to comment.