|
POST
|
Ok I solved my own problem: 1) I added a Filter on my Feature layer to get one Site Location the time fExpression = "FUID='" + f.attributes['FUID'] +"'"
SLHFL.filter = fExpression and then , after I ran the buffer I am adding the new feature to my Buffer Layer using the following code buffLyr = use_proximity.create_buffers(SLHFL, distances=[dDist], units = 'Feet')
#Append to Buffer HFL
BufferHFL.edit_features(adds=buffLyr.layer.featureSet.features) working great!
... View more
11-04-2022
01:41 PM
|
0
|
0
|
1382
|
|
POST
|
Hello I have an AGOL item with 3 layers: Site Location (pts), Site Buffer (poly) and Site Area (poly). The Site Area has a field with a Distance value that I would like to use to create my buffers (different value for each area). So in my Notebook, I have a piece of code that select all the Site Location where the BufferFlag='N' then I intersect each of the records with my Site Area to get the proper value of the Distance to create the buffer…. AND THEN I AM STUCK! below is the section of code that I can't figure it out.(line 15 to 20) i=0
###for each Site Location WORKING
for f in SLHFLcount:
print(f.attributes['FUID'] + ' -- '+ f.attributes['BufFlag2'])
ptFeat = SLHFLcount.features[i].geometry
print(ptFeat)
print("~~~~~~~~~")
###Intersect with my Site Location WORKING
AreaHFLqry = AreaHFL.query(where='1=1', geometry_filter=filters.intersects(ptFeat))
print(len(AreaHFLqry))
if len(AreaHFLqry) >=1:
AreaHFLqryFeatures = AreaHFLqry.features
print(AreaHFLqryFeatures[0].attributes['Area1']+ ' -- '+ AreaHFLqryFeatures[0].attributes['Area2'] + ' -- '+ str(AreaHFLqryFeatures[0].attributes['Dist']))
###Create individual buffers NOT WORKING
dDist = AreaHFLqryFeatures[0].attributes['Dist']
buffLyr = use_proximity.create_buffers(SLHFL, distances=[dDist], units = 'Feet',output_name=BufferHFL)
#buffLyr_fc = buffLyr.layer
#print(buffLyr_fc)
map1.add_layer(BufferHFL)
###update BufFlag to Y
#strExpression = "FUID='"+str(f.attributes['FUID']+"'")
#SLHFL.calculate(where=strExpression,calc_expression={"field":"BufFlag2", "value": "Y"})
else:
print("we don't have a polygon yet")
i +=1
print("----------------")
print("Process completed") How can I create the buffer JUST for that selected Site Location and append the buffer to my Site Buffer layer? Any help would be much appreciated. Thanks!
... View more
11-03-2022
01:55 PM
|
0
|
1
|
1424
|
|
POST
|
I am not familiar with squarespace but if you can add a HTML tag in you code, the following code should do it: <iframe frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"
src="https://cityofamesgis.maps.arcgis.com/apps/dashboards/5367247413a24b0784414e7f18eb5b97"></iframe> the final product is accessed through the following HTML page https://gis.cityofames.org/images/AFD/AFDburnpermits.html
... View more
10-11-2022
11:19 AM
|
2
|
6
|
14610
|
|
POST
|
Hello while in edit mode, if you click and hold the C key, you will be able to move around. Below is the list of all the short cuts in AGS pro. https://pro.arcgis.com/en/pro-app/latest/get-started/arcgis-pro-keyboard-shortcuts.htm
... View more
10-10-2022
12:03 PM
|
1
|
1
|
5044
|
|
POST
|
I didn't realized he needed the geometry... this one will returns all the records select * from COA_CEMETERY_SECTIONS
where OBJECTID in(select UID from
(
select l.*, s.SECTION_NAME,s.SUB_SECTION_NAME,s.SUB_SUB_SECTION_NAME,s.OBJECTID as UID
from
(select
OBJECTID,Shape,Name
from COA_CEMETERY_BURIAL_SITES where Name='Limited Sale') as l
cross JOIN
(select * from COA_CEMETERY_SECTIONS) as s
WHERE (s.Shape.STContains(l.shape.STCentroid()) = 1)) t
group by t.UID)
... View more
10-04-2022
12:17 PM
|
0
|
0
|
3928
|
|
POST
|
here an example: I have Burial sites flagged as Limited Sales. I want to know where in the Cemetery Which Sections) So I use this query to create custom reports. Is that what you were looking for? select SECTION_NAME, COUNT(*) as RecCount
from
(
select l.*, s.SECTION_NAME,s.SUB_SECTION_NAME,s.SUB_SUB_SECTION_NAME,s.OBJECTID as UID
from
(select
OBJECTID,Shape,Name
from COA_CEMETERY_BURIAL_SITES where Name='Limited Sale') as l
cross JOIN
(select * from COA_CEMETERY_SECTIONS) as s
WHERE (s.Shape.STContains(l.shape.STCentroid()) = 1)) t
group by t.SECTION_NAME
... View more
10-04-2022
11:36 AM
|
0
|
2
|
3937
|
|
POST
|
hello would this works for you: search_result = gis.content.search("*", item_type = "Web Map", max_items=2000)
print(len(search_result))
t = len(search_result)
while i <t:
print(i)
print(search_result[0])
print(" "+str(search_result[0]['title']) +" "+ str(search_result[0].id) + " -- "+ str(len(search_result)))
search_result.pop(0)
i+=1
... View more
09-26-2022
07:23 AM
|
0
|
0
|
1550
|
|
POST
|
Seems like my issues have been resolved as well with the latest patch (initial patch didn't worked for us). My data source is SQL Server 2016 with ArcGIS Server 10.8. Thank you ESRI
... View more
07-05-2022
06:12 AM
|
0
|
0
|
1784
|
|
POST
|
Still not working for me. As other have mentioned previously, it's VERY frustrating and disappointing from ESRI as we all rely on their technology to be reliable and consistent from one version to the other. I have zero interest in re-building dozen of dashboards (in house and public) each time ESRI release an update. Please ESRI, fix it ASAP!
... View more
06-29-2022
07:07 AM
|
1
|
0
|
1816
|
|
POST
|
Hello I am trying to create an input connector to get the Geoevent REST Admin API calls (using Poll an External Website for JSON, version 10.8.1). I get what I am looking for in Postman (Returns the token and expires value) but I am not sure how/where to setup the Parameters info in the Input Connector. Should I put the Parameters info in the Parameters section or change the Post From: section from Content Body to Parameters and then put the info there Any help would be much appreciated. Thanks!
... View more
05-25-2022
03:40 PM
|
0
|
1
|
828
|
|
POST
|
Hello I am creating a survey for volunteers to register for a specific event. The event has multiple days, multiple time slots and multiple positions per time slots. I was able to use cascading select to get all that working fine, the only thing remaining is to LIMIT the number of volunteers to register for a specific job. and because the survey will be public, I can't use a JavaScript function... My question is: Once 2 volunteers register for that task below, how can that job NOT be available in my position dropdown? DAY, TIME SLOT JOB MAX VOL NEEDED July 29, 6:00 PM-10:00PM, Overnight Security, 2 this is what I could use as a lookup table: Any help would be much appreciated. Thanks!
... View more
05-11-2022
07:36 AM
|
0
|
0
|
579
|
|
POST
|
Sorry I was not very clear. What I was suggesting was, try to create a new Flow using the tutorial (hyperlink from previous message) to create a web hook on the hosted feature layer using Power Automate. You will then have access to all the attributes from your HFL. I am experiencing the same issue as you, I can't see the Creator, CreationDate, Editor, and EditDate from a flow using Survey123 task and don't see a way to change that. Just an idea...
... View more
04-25-2022
10:15 AM
|
0
|
0
|
1547
|
|
POST
|
If you feature layer is hosted on AGOL, you could create a web hook using the "tutorial" from this link: https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate/ you will then be able to get what you are looking for Hope this help. D
... View more
04-22-2022
01:11 PM
|
0
|
2
|
1569
|
|
POST
|
what is you try something like this: fields = ['PARCEL_ID', 'Acres']
with arcpy.da.SearchCursor(templayer3, fields) as cursor:
for row in cursor:
print(u'{0}, {1}'.format(row[0], row[1]))
... View more
03-29-2022
12:13 PM
|
0
|
1
|
6080
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-26-2026 01:47 PM | |
| 1 | 08-05-2024 06:19 AM | |
| 1 | 06-11-2025 08:07 AM | |
| 1 | 07-13-2025 04:58 PM | |
| 1 | 02-27-2025 08:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|