|
POST
|
For a single feature, you can open the Edit Vertices tool, select one vertex in the list, hit Ctrl+A to select them all, then use the Z button to set the height for every vertex at once: If you have to do this for a ton of features I can't find an obvious tool for you. There's probably a way to use arcpy with Cursors and Geometry objects to write your own.
... View more
01-28-2025
08:43 AM
|
0
|
1
|
5270
|
|
POST
|
If it's not a method listed in the documentation I doubt you can get a connection going.
... View more
01-28-2025
08:34 AM
|
0
|
5
|
2258
|
|
POST
|
You can use the ConvertWebMapToProject function with a minimal map definition to get a project file in memory, which you can then save to disk: z = arcpy.mp.ConvertWebMapToArcGISProject("""{
"mapOptions": {
"extent": {
"xmin": -12933906.537,
"ymin": 3993856.886,
"xmax": -12933371.998,
"ymax": 3994375.189,
"spatialReference": {
"wkid": 102100
}
}
},
"operationalLayers": [],
"baseMap": [],
"exportOptions": {},
"layoutOptions": {},
"reportOptions": {}
}""").ArcGISProject.saveACopy(r"C:\path\to\project.aprx") A bit hacky but it works. If you want a more comprehensive project as a base you're better off with @CodyPatterson's template method.
... View more
01-27-2025
01:02 PM
|
3
|
1
|
2127
|
|
POST
|
For what it's worth, my machine has two user environments on top of the default one and the only python exes my method found was the Windows store one and the activated conda one. Leveraging propy.bat is a clever idea, good thinking.
... View more
01-27-2025
12:29 PM
|
0
|
0
|
1600
|
|
POST
|
You can get all the Python exe paths like so: subprocess.run(["where", "python"], capture_output=True, universal_newlines=True).stdout.strip().split("\n") If you have multiple paths then find the one with "conda" inside and you can take it from there.
... View more
01-27-2025
09:39 AM
|
1
|
2
|
1632
|
|
POST
|
Assuming your grid is like A-0, B-0, A-1, B-1 etc., would this work? (x % 2 == 1) && (y % 2 == 0)
... View more
01-24-2025
01:00 PM
|
0
|
1
|
761
|
|
POST
|
If you have a network capture tool like Fiddler on the same machine you can monitor all the requests Pro is making to AGOL. This can help you determine how much data is being sent out from your machine, how frequently, what AGOL's response time is and if it's throwing any errors. I'd also recommend working through a service ticket (or phone a friend) so that someone can replicate your setup and compare logs.
... View more
01-24-2025
10:05 AM
|
0
|
0
|
1684
|
|
IDEA
|
This would be a great addition, it's always annoying to create dummy data in the playground to test complex rules.
... View more
01-24-2025
10:00 AM
|
0
|
0
|
729
|
|
POST
|
Using a full Arcade expression instead of just a field is easy, here's an example: As for what you're proposing, I haven't played around with the advanced Dashboard data source options so I couldn't tell you if injecting a control value into the color field(s) is doable, you'll have to experiment with that once you get your layer up and running.
... View more
01-24-2025
09:44 AM
|
1
|
0
|
2467
|
|
POST
|
Because you have access to Pro you can use Attribute-driven Symbology to set the color from a field value. This doc page explains how to format the color data, you can either use the standard CSS colors or created a coded-value domain with RGB values as the code name and user facing names as the description. Make sure you set the property connection to use Arcade instead of VBScript or you'll get a publishing error. If this isn't powerful enough you have to dive into the world of dictionary renderers, hopefully that isn't required for your simple layer. I did a quick test and this doesn't work in Enterprise 11.1 or earlier but it does work in Online. It also requires the new map viewer and associated apps, if you need this to work in Web Appbuilder I think you're out of luck.
... View more
01-23-2025
10:36 AM
|
1
|
2
|
2486
|
|
POST
|
This is the best method if the schemas are mostly identical and you want Pro to automatically sort the map out. If you want to set a custom map to ignore certain fields, map fields to a target with different names etc. then there might be issues if the input is missing the field.
... View more
01-23-2025
10:16 AM
|
0
|
0
|
1363
|
|
POST
|
Add Field should fail to add a field that already exists and exit with a warning, so you can unconditionally add the field you need and then append, no need for a condition in the model
... View more
01-23-2025
10:14 AM
|
0
|
1
|
1364
|
|
POST
|
A cursory Google search brings up 1024 and 2048 as common limits to the query chunk of a URL so I have to assume that's what you've hit. Some potential workarounds: Use Arcade to format all your data as a JSON object, pass that into a single field, then use pulldata("@json") (docs link) to extract each field as a calculated default. This removes a ton of &field:fieldname= text which could squeak under the limit. Use a custom encoding format to get the payload even smaller, then use a custom JavaScript function in the survey to convert that to JSON for pulldata to process. For example: if you have to send data for 25 fields, you can send it like Pipe|Wrench|25|12|1|0||1 and then use the | character to break out each value. Pass through a unique ID for the parent feature, then use pulldata("@layer") to get the data from the parent feature service using a query. This won't work offline but allows you to transmit practically unlimited data
... View more
01-23-2025
08:18 AM
|
1
|
3
|
2516
|
|
POST
|
If I'm interpreting your process right, I think your best move is three hyperlinks (one for each workflow) or use arcade to dynamically present the right hyperlink, or some combo of the two. You can have hyperlinks in Survey123 forms that lead to other Survey123 forms but I found the user experience is poor due to the lack of geographic context.
... View more
01-22-2025
01:54 PM
|
0
|
0
|
1780
|
|
POST
|
My org uses the Field Maps to Survey123 route a ton, how are you getting pop-ups and how are you filling out the survey forms? If you're going from a web map/app to the Survey123 website you have fewer URL params to play with so my suggestions might not work.
... View more
01-22-2025
12:34 PM
|
0
|
2
|
1790
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 3 hours ago | |
| 1 | 4 hours ago | |
| 2 | Friday | |
| 1 | a week ago | |
| 1 | 05-24-2023 11:47 AM |
| Online Status |
Online
|
| Date Last Visited |
2 hours ago
|