|
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
Thursday
|
1
|
1
|
124
|
|
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
Thursday
|
1
|
2
|
110
|
|
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
Thursday
|
0
|
0
|
110
|
|
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
Thursday
|
0
|
2
|
142
|
|
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
Thursday
|
0
|
0
|
75
|
|
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
Wednesday
|
0
|
0
|
79
|
|
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
a week ago
|
1
|
0
|
157
|
|
POST
|
I know if you have access to full Attribute Rules you can return a complex object to update multiple fields in a single rule, might be worth trying with the form designer (or submit an Idea if it doesn't work).
... View more
2 weeks ago
|
0
|
0
|
148
|
|
POST
|
Thanks Dan! There's some good info on how to prep the Export tool and the suggestion to use the Multi-Task Road Extractor model type. Unfortunately this has the usual blog post issue where many inputs aren't explained and it also neglects to mention how to prepare the polylines. Are these long features that are diced up along the training chip boundaries or were individual features drawn over individual chips? Will the tool dice my inputs for me?
... View more
2 weeks ago
|
0
|
1
|
254
|
|
POST
|
I'm exploring a process where I take polyline street features and the imagery they were HUD-ed from to train a model to spit out polylines from new imagery. I've looked over the Export Training Data For Deep Learning and Use Training Samples Manager pages and at first glance it looks like the tools are designed around extracting points & areas, not linear features. Is there a recommended workflow for training an Image to Polyline model in ArcGIS? If not, has anyone had success exporting polyline data into a format a ML framework can process?
... View more
2 weeks ago
|
0
|
4
|
285
|
|
POST
|
The cache format between the tools you run locally and the server are usually identical, at least if your Pro and Enterprise versions are close enough. Try building a cache for a small area on the server, then build the full cache locally. You can open most cache package formats with 7-zip and compare the file structure to what's in your server directories, if this is a new service with nothing to lose then swap the files and see if everything works as intended. This probably isn't a supported workflow so I can't guarantee anything but I do this with vector tile packages when the server rebuilds randomly fail and it works like a charm (Pro 3.1, Enterprise 11.1).
... View more
2 weeks ago
|
0
|
0
|
147
|
|
POST
|
I'm virtually certain Outbox surveys only exist on the device and there's no trace on any server, a side-effect of the offline first design ESRI picked for the field app. If you have form elements that don't work offline (such as a search query for live choice updates) you might be able to correlate service hits with field activity to get rough ideas of what hasn't been submitted but this is incredibly vague at best. I've run into this with my own projects and the only solution here is to tie crew performance to finalized submissions.
... View more
2 weeks ago
|
1
|
1
|
210
|
|
POST
|
Looks like the whole share toolbar is greyed out, do you see your name and org at the top-right of Pro (in the title bar, next to the notification bell)? You can use the little menu in that spot to sign in or swap to another portal, that might enable all your publishing options.
... View more
3 weeks ago
|
0
|
1
|
269
|
|
POST
|
If you create a feature class that has Z coordinates and then append your data in, you can set the Z height from the start depths using arcpy. This big post should kick you off in the right direction, just remember that a positive depth is a negative Z value, and you might have to set starting Z values using a source of elevation if your depths are relative to ground (they probably are). Once you have that, you can subtract the start depth from the end depth to get the full depth, then use that to extrude your 3D points into accurate tubes.
... View more
3 weeks ago
|
0
|
1
|
221
|
|
POST
|
Count Overlapping Features can also generate a table linking every input buffer to the final overlaps. You can use that table to find which overlaps relate to which buffers and ensure you're only summing up the appropriate polygons.
... View more
a month ago
|
2
|
1
|
229
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Thursday | |
| 1 | a week ago | |
| 1 | 2 weeks ago | |
| 2 | a month ago |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|