|
POST
|
I want an export on the Select tool. Why are there two? If I go into the Data action tab of the Select tool and disable the data action they both go away. How do you get just one? 1 2
... View more
|
0
|
0
|
79
|
|
POST
|
I have a feature with precipitation amounts and a time field. It's actually 24 points that are all in the same geographic location as it's one weather station with its relevant data for the the month of 7/2025. I then ran the Disperse Markers tool so I can see all the points, which does a nice job. But, I'm looking for a way to sort the symbology. It's all over the place. Short of converting the labels to annotation, I've tried to sort using the feature drawing order in the Advanced symbology options of the Symbology tab. It didn't change anything. I'd like to sort the time field while displaying both it and the prcp field.
... View more
Wednesday
|
0
|
1
|
107
|
|
POST
|
I have a List widget that's using an attribute field as text and also two buttons linked to URL fields. It works as intended. I needed a way to select features in the map. At first I tried the map's Select tool but it doesn't allow selectable layers. Then I tried the Select widget. I can select features in the map, but when I click on one in the List widget they all disappear? How do you avoid having them disappear? I've tried record selection changes between the map and the List widget. But, when the Select widget is there the actions no longer work.
... View more
2 weeks ago
|
0
|
2
|
162
|
|
POST
|
I wonder if it has something to do with there being the *.pdf extension in the ALT tag and no extension on the values in the DXF_TEXT column?
... View more
06-25-2026
12:25 PM
|
1
|
1
|
600
|
|
POST
|
Yes, before and after line 15 prints this: print(alt)
01-01B-E.pdf
01-01B-W.pdf
01-01A-E.pdf
01-01A-W.pdf Yes, I get a print statement for alt_to_url after that loop too: print(alt_to_url)
{'01-01B-E.pdf': 'https://www.willcountysoa.com/section/TaxMaps/25_01-01B-E.pdf', '01-01B-W.pdf': 'https://www.willcountysoa.com/section/TaxMaps/25_01-01B-W.pdf', '01-01A-E.pdf': 'https://www.willcountysoa.com/section/TaxMaps/25_01-01A-E.pdf', '01-01A-W.pdf': 'https://www.willcountysoa.com/section/TaxMaps/25_01-01A-W.pdf'}
... View more
06-25-2026
12:21 PM
|
0
|
2
|
602
|
|
POST
|
Looking for some help. The title of my post isn't the greatest. What I'm trying to do is update an empty field (Pdfs) of my feature class with a full URL that's pulled from HTML of a webpage. I'm matching the ALT values of the webpage with the DXF_TEXT column in the feature class and writing the matching URL into the Pdfs column. # existing column in the table of my feature class
DXF_TEXT
01-01A-E
01-01A-W
01-01B-E
01-01B-W import requests
from bs4 import BeautifulSoup
from urllib.parse import urljoin
import arcpy
base_url = "https://www.willcountysoa.com/section/TaxMaps/wheatland.htm"
resp = requests.get(base_url)
soup = BeautifulSoup(resp.text, "html.parser")
taxmapgrid_feature = r'\path\to\featureclass'
# dictionary of ALT text to the corresponding URL.
alt_to_url = {}
for a in soup.find_all("area"):
alt = a.get("alt")
if alt:
alt_to_url[alt] = urljoin(base_url, a["href"])
# Match the ALT values with the DXF_TEXT column in the feature class and
# write the matching URL into the Pdfs column.
with arcpy.da.UpdateCursor(taxmapgrid_feature, ["DXF_TEXT", "Pdfs"]) as cursor:
for row in cursor:
row[1] = alt_to_url.get(row[0])
print(row)
cursor.updateRow(row) This code will run without error and print but no values are put into the table. Prints: ['01-24B-E', None]
['01-24B-W', None]
['02-24C-E', None]
['02-24C-W', None]
... View more
06-25-2026
12:08 PM
|
0
|
4
|
612
|
|
POST
|
Anyone ever design a widget that allows you to upload a CSV file with an address field? I've tried what I could to circumvent the broken Add Data widget. It has a BUG. It stopped allowing CSV uploads with an address field, of all things. I created a python script tool and connected to it through the Analysis widget but that won't let you upload CSV files either.
... View more
05-13-2026
01:51 PM
|
0
|
2
|
486
|
|
POST
|
This seems really basic but I can't wrap my head around it. When you use the Geocode File tool to geocode a CSV file and set the Output Fields to Location Only for clarity it gives you a Shape X and Shape Y field. The coordinate system of the locator on our Portal is NAD 1983 StatePlane Illinois East FIPS 1201 (US Feet). So, the values are in this CRS, I assume. And they look like this, for example: Shape X Shape Y
1079735.426634 1755288.295226
1073135.900792 1775480.932334
1045202.383496 1836304.838901 What are these field values? They aren't mentioned here. Can I get decimal degrees from them? EDIT: here is a test address--1029 Shagbark Ct Apt 2e, New Lenox, IL 60451
... View more
05-07-2026
12:05 PM
|
0
|
3
|
750
|
|
POST
|
This code is in the def execute() function of a python toolbox. A table is geocoded. Then I want to remove spaces in two column names with the same out file parameter. The tool runs without error, and the file is saved to a directory. But, the spaces are not removed. I'm thinking this is because the arcpy.geocoding.GeocodeFile() function hasn't been returned yet. Can anyone clue me in? def execute(self, parameters, messages):
"""The source code of the tool."""
import arcpy
import os
import pandas as pd
outfile = parameters[1].valueAsText
outloc = os.path.dirname(outfile)
outname = os.path.basename(outfile)
arcpy.geocoding.GeocodeFile(
in_table=parameters[0].valueAsText,
locator="https://filepathto/GeocodeServer/Locators/Locator_AddPts",
address_fields="'Address or Place' ADDRESS VISIBLE NONE;Address2 <None> VISIBLE NONE;Address3 <None> VISIBLE NONE;Neighborhood <None> VISIBLE NONE;City CITY VISIBLE NONE;County COUNTY VISIBLE NONE;State STATE VISIBLE NONE;ZIP ZIPCODE VISIBLE NONE;ZIP4 <None> VISIBLE NONE;Country <None> VISIBLE NONE",
output_type="CSV",
output_location=outloc,
output_name=outname,
country=None,
location_type="ROUTING_LOCATION",
category=None,
output_fields="LOCATION_ONLY"
)
# Pandas section ------
df = pd.read_csv(parameters[1].valueAsText)
#replace white space in column name with no white space
df = pd.DataFrame(columns=['Shape X','Shape Y'])
df.columns = [col.replace(' ','') if isinstance(col, str) else col for col in df.columns]
df.to_csv(os.path.join(parameters[1].valueAsText))
return I tried putting the pandas section in this section of the python toolbox, but it produces an error and I'm not even sure what goes here. def postExecute(self, parameters):
"""This method takes place after outputs are processed and
added to the display."""
return
... View more
05-05-2026
09:20 AM
|
0
|
1
|
368
|
|
POST
|
@Robert_LeClair This locator originated in ArcMap 10.8.1. It's based on a field from our county-wide Address Points layer. It's updated weekly.
... View more
05-04-2026
11:52 AM
|
0
|
1
|
764
|
|
POST
|
Your suspicion was correct. I simply removed the field parameter and hardcoded what the Geocode File tool accepts and the tool ran without any error. def execute(self, parameters, messages):
"""The source code of the tool."""
import arcpy
import os
outfile = parameters[2].valueAsText
outloc = os.path.dirname(outfile)
outname = os.path.basename(outfile)
arcpy.geocoding.GeocodeFile(
in_table=parameters[0].valueAsText,
locator=parameters[1].valueAsText,
#Geocode File tool Address Field Mapping parameter
address_fields="'Single Line Input' ADDRESS VISIBLE NONE",
output_type="CSV",
output_location=outloc,
output_name=outname,
)
... View more
05-04-2026
11:44 AM
|
0
|
0
|
868
|
|
POST
|
Thanks for the reply @Robert_LeClair , I can say that all of the locators but one can be added using that method. The one I have highlighted loads for five minutes, appears in the catalog for two seconds and then disappears. But, this locator does work as I've used it outside of Pro in a script. So, I'm not sure what the problem is.
... View more
05-04-2026
08:45 AM
|
1
|
1
|
794
|
|
POST
|
Thanks @AlfredBaldenweck , 1.) Yes, I have only been testing CSVs. Added a filter anyway. 2.) I should've had this filled out completely to begin with. It's a lot clearer now. 3) Added a filter here too. Seems to be fine now. All in all those were good fixes. It's narrowed down to two errors tied to the GeocodeFile() function which have pretty unhelpful pages. Error 003346 and Error 002617 arcgisscripting.ExecuteError: ERROR 003346: Geocode File failed.
ERROR 002617: Batch Geocoding stopped with status esriJobFailed.
Failed to execute (GeocodeFile). Things I've looked into regarding the geocoding errors: 1. Our locators are hosted on Enterprise Portal v. 11.3 which allows batch geocoding up to 1000 rows. 2. I've tested with different CSVs, different addresses and different field value formats. 3. The locator coordinate system is set for NAD_83. 4. I've been trying different locators and the tool has not ran with any of them while every time it has produced at least one of the two errors above. Error 002618 was also produced once too.
... View more
05-04-2026
08:27 AM
|
0
|
1
|
883
|
|
POST
|
Is BUG-000103046 really fixed? I'm in Pro v. 3.5.2 and I can not add a locator to a project from an Enterprise Portal using the Catalog. I can navigate to the locator I want but when I click it it never loads. The one time I got it to show up in Catalog it was broke.
... View more
05-04-2026
07:03 AM
|
0
|
5
|
850
|
|
POST
|
Thanks @DanPatterson , I'm using a Python Toolbox because the end product not mentioned here requires it. Value table got me a step closer it appears. Now I'm able to get param1 Address Field to populate with fields from the input CSV. I also gave it an out file param. But, all the params still don't seem to be functioning as a whole. def getParameterInfo(self):
"""Define the tool parameters."""
# 1st param
param0 = arcpy.Parameter(
displayName="Your CSV",
name="your_csv",
datatype="DEFile",
parameterType='Required',
direction='Input'
)
param1 = arcpy.Parameter(
displayName='Address Field',
name='ADDRESS',
datatype='GPValueTable',
parameterType='Required',
direction='Input'
)
param1.parameterDependencies = [param0.name]
param1.columns = [['Field', 'Field']]
# 2nd param
param2 = arcpy.Parameter(
displayName="Geocoder",
name='geocoder',
datatype="DEAddressLocator",
parameterType='Required',
direction='Input'
)
# 3rd param
param3 = arcpy.Parameter(
displayName="Out File",
name='out_file',
datatype="DEFile",
parameterType='Required',
direction='Output',
)
params = [param0,param1,param2,param3]
return params
def execute(self, parameters, messages):
"""The source code of the tool."""
import arcpy
arcpy.geocoding.GeocodeFile(
in_table=parameters[0].valueAsText,
locator=parameters[2].valueAsText,
address_fields=parameters[1].valueAsText,
output_type=parameters[0].valueAsText,
# output_location=r"C:\Users\me\test",
# output_name="geocodedfile",
# country=None,
# location_type="ROUTING_LOCATION",
# category=None,
# output_fields="ALL"
)
... View more
04-30-2026
09:15 AM
|
0
|
3
|
997
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-25-2026 12:25 PM | |
| 1 | 05-04-2026 08:45 AM | |
| 1 | 04-20-2026 01:20 PM | |
| 1 | 07-24-2025 01:27 PM | |
| 1 | 11-13-2025 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|