|
POST
|
Shot in the dark: Does changing arcpy.conversion.TableToExcel to arcpy.TableToExcel_conversion fix the issue? As a hacksaw fix you can try checking the Python version and if it's 3 then pop any ArcMap paths in sys.path to unlink the old environment.
... View more
01-08-2026
04:40 PM
|
0
|
0
|
570
|
|
POST
|
Ah sorry, I forgot to sub out my playground test variable, replace f with $feature in your case.
... View more
01-08-2026
11:07 AM
|
0
|
0
|
1267
|
|
POST
|
If you're doing editing workflows on this data you can look into the ETL tools for your database to mirror a query as a standalone table, and then push changes back to the databases as needed. That way you can edit data while also keeping it appropriately warehoused. Not the best situation but it can work.
... View more
01-08-2026
11:06 AM
|
1
|
0
|
723
|
|
POST
|
There's no real equivalent to that on the ArcGIS side, but you can use Create Database Connection with some Python to quickly get connection files made to every database, then play around with the managed index settings so you can quickly find the feature classes and tables you need to search through. Running queries on multiple databases simultaneously isn't something you can do out of the box, you might be able to write a geoprocessing tool with Python that can apply a query to multiple tables at once but it'll take some custom work.
... View more
01-07-2026
03:53 PM
|
1
|
2
|
743
|
|
POST
|
That's the max field length in most databases (largest singed 32-bit integer) it usually means your field was designed to hold big blocks of text. In your case it looks like the data design process went sideways but if you can read the field as-is in the rest of ArcGIS then the length probably isn't the issue.
... View more
01-07-2026
03:37 PM
|
1
|
0
|
1296
|
|
POST
|
Your expression runs fine in the Arcade Playground so I doubt it's the issue. Maybe some parts of ArcGIS handle nonstandard formatting weird, you can sub in this 1-line version to test that: Iif(f.stop_id == "00627", "pile to the East", "") Does the pop-up work in the regular map viewer or is it broken everywhere? Some pictures of how you've configured the pop-up will help here.
... View more
01-07-2026
10:33 AM
|
0
|
2
|
1332
|
|
POST
|
Branch Versioned data stores all edits to DEFAULT in a single table. Updates appear as a new record with a creation timestamp and deletions appear as a copy of the record with a flag set and the name of which user deleted it. There's pros and cons to branch versioning beyond the archive table but if it meets your needs then go for it. My org uses branch versioning all over the place and the tables have been an invaluable audit source when someone fat-fingers the delete button. If DEFAULT-only is unacceptable and you need an audit trail of all activity then what @CodyPatterson suggested is required. Just keep in mind that A) the username logged will always be the Enterprise username for service edits, but it'll be the name of the DB user for direct connection edits so you'll have to proactively configure editing rights; and B) any triggers you add to a feature class/table have to be maintained outside of ArcGIS and you may have to rewrite them if fundamental changes are made through ArcGIS.
... View more
01-05-2026
04:26 PM
|
0
|
0
|
971
|
|
POST
|
If I'm reading your question right, you want to capture the data from an HTML form and feed that into Survey123, correct? To get the form data and prevent the usual submit action, you'll need some JavaScript, this StackOverflow question is a great jumping off point. Once you have the data, you can turn that into a URL which opens the web app with values filled by default. The user can then finish any remaining questions and submit the final form. If you want to skip the Survey123 interface altogether you can look into the JavaScript SDK to connect to the hosted feature service that stores the Survey data and insert a new record. Or use the REST API without the SDK if you need to minimize dependencies.
... View more
01-05-2026
04:16 PM
|
1
|
3
|
768
|
|
POST
|
If the Map Service has dynamic map layers turned on (it usually is as that's been the default for ages) you can try something like this sample code to query out certain data from that sublayer and/or substitute a renderer that hides the undesirable pixels.
... View more
12-11-2025
03:48 PM
|
1
|
1
|
882
|
|
POST
|
To prevent this in the future, make sure you have a required "geopoint" question in your form with the "press-to-locate" appearance, that forces your users to confirm a location themselves. It won't guarantee you won't get points dumped on an office but it'll minimize it to easily correctable situations. As for the backlog, if you have an address entered with each point you can dig into the various geocoding workflows to update the location (credits permitting) otherwise it's time to bite the bullet and fix those points yourself.
... View more
12-11-2025
11:47 AM
|
1
|
2
|
765
|
|
POST
|
An untested concept: generate the random points (probably at a higher density than you normally would), run Extract Multi Values to Points to get the population values in there, normalize those values to (0 .. 1), then field calculate a yes/no field using your preferred Python RNG function, flagging every point whose normalized pop value is higher than the normalized RNG value. Delete whatever failed and you should have some weighted results.
... View more
12-11-2025
11:10 AM
|
0
|
0
|
677
|
|
POST
|
Alfred's suggestion is the intended way to get a Double parameter so I can't say why it's failing for you. As a workaround, try getting all your parameters using arcpy.GetParameterInfo() and then use the value or valueAsText parameters as needed. For example, a drop-in replacement for the first line of your sample is: proximity_threshold = arcpy.GetParameterInfo()[1].value
... View more
12-11-2025
10:42 AM
|
0
|
2
|
1453
|
|
POST
|
Like Dan said, Dissolve with the "sector" field should be enough. If you need a more specific workflow, here's an arcpy function that'll condense a bunch of geometries into one multipart: import ujson
def reduce_geoms(geoms: list[arcpy.Geometry]) -> arcpy.Geometry:
iter_geom = iter(geoms)
first = next(iter_geom)
assert first.type != "point"
retval = ujson.loads(first.JSON)
has_curves = "curvePaths" in retval
path_key = "curvePaths" if has_curves else "paths"
for g in iter_geom:
gson = ujson.loads(g.JSON)
paths = None
if "curvePaths" in gson:
paths = gson["curvePaths"]
if not has_curves:
retval["curvePaths"] = retval["paths"]
del retval["paths"]
path_key = "curvePaths"
else:
paths = retval["paths"]
retval[path_key].extend(paths)
return arcpy.AsShape(retval, True)
... View more
12-11-2025
09:17 AM
|
0
|
1
|
876
|
|
POST
|
I ran this through support and buried in the links they sent is this fantastic tutorial: link. It's for polygon classification and doesn't use the road detection model but I think the same general process should transfer over. It's a shame all this detail is buried here, rewriting this for the standard Pro docs could cover the end-to-end DNN modelling process fantastically.
... View more
12-10-2025
09:27 AM
|
0
|
0
|
1077
|
|
POST
|
Unless it's hidden somewhere sneaky Arcade doesn't have any regex related functions, and that's all you have access to with the new Form specification. You'll either have to swap to Survey123 which does have more complex expression parsing or you can use Arcade functions like Find to see if a certain character appears in an answer or compare its location to another one.
... View more
12-05-2025
12:22 PM
|
1
|
0
|
548
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-24-2023 11:47 AM | |
| 2 | 04-09-2026 11:36 AM | |
| 1 | 09-08-2023 10:07 AM | |
| 3 | 03-26-2026 08:11 AM | |
| 2 | 03-12-2026 01:41 PM |
| Online Status |
Online
|
| Date Last Visited |
31m ago
|