I am creating polygons from the dissolved buffers of points and need to control the dissolve process. In the model the first stage is to assign high/med/blackspot using the following
f2='ERROR'
def re_score(my_field,f2):
if (my_field*1) < 14:
f2 = 'Black'
elif (my_field*1) < 24:
f2 = 'Medium'
elif (my_field*1) >= 24:
f2 = "High"
Expression = re_score(!Rx!,f2)
and then use the following settings in buffer...
arcpy.Buffer_analysis(Signal_Strength_Added, Buffered_tower_range, Distance__value_or_field_, "FULL", "ROUND", "LIST", "Signal_Strength")
If distance between points is 30m then I buffer at 35m
I want to deal with overlap by defaulting to the worst case scenario, so if when dissolving the buffers are "med" and "blackspot", then it should be incorporated into the blackspot zone - I don't know how to specify this!
Any ideas?
The base points dataset is
Latitude Longitude Rx_dB Best_unit
-17.06694 145.23158 -050.5 2
-17.06695 145.23297 -044.1 2
my_field in this case is the Rx_dB
The image below illustrates the issue...
_pts is the output point dataset with signal strength _Lamb is the 30m buffer with dissolve by signal strength _pts_30m_Buffer - is just the buffer without the dissolve
Areas around 1a should be red, 2a/2b area should be yellow and 3 is correct.
Each dataset is around 500,000 points and I am still trying to do a spatial join on a new dataset without the dissolve.
re_score
). Is this a correct interpretation?