|
POST
|
Hi, Well your problem is that your newfile name is ending up as "C:\Users\Brubisgeo\Downloads\teste_1\intersected_C:\Users\Brubisgeo\Downloads\clipar tudo\BR_Municipios_2021\BR_Municipios_2021.shp" which seems to have joined your input on the end of your output to make a broken path, although from looking at your code I can't really tell why. I would recommend adding an arcpy.AddMessage() statement for your rename_shp and newfile to see what values they have before they're input into your intersect. It looks like the fc variable in the "intersectedo_{}".format(fc)" part is somehow putting the whole shapefile file path in there.
... View more
06-08-2023
11:05 PM
|
0
|
0
|
679
|
|
POST
|
Hi, It sounds like the field name you're using as the input doesn't match any fields in your input table. I'd try commenting the field calculator out and putting fields = [f.name for f in arcpy.ListFields(OutputfeatureClass)]
for field in fields:
print(field) as a way of double checking the names of each of your fields post-join and making sure that the names match exactly, and also working out whether the spatial join is running as you intend it to.
... View more
06-08-2023
10:43 PM
|
0
|
0
|
1687
|
|
POST
|
Unfortunately I don't believe that's possible with just an AGOL deployment. If you had enterprise you would be able to do this via Attribute Rules, but in AGOL alone generally you'd either have to 1) calculate the value via python/FME/webhooks as you mentioned or 2) use a hosted feature service view linking the tree with the most recent inspection - the catch being that views created in these ways cannot be used offline.
... View more
06-06-2023
12:59 AM
|
3
|
3
|
7384
|
|
POST
|
Hi Frank, It worked for me in the desktop publishing space! Would you be able to post the survey123 form or at least the relevant part from the repeat so I can take a look? Here's how mine looked:
... View more
05-29-2023
10:55 PM
|
0
|
0
|
1186
|
|
POST
|
Hi Frank, If you set the repeat_count column for the begin repeat row to 20 that will make it so that the repeat block is forced to repeat 20 times. This doesn't automatically mean that the user has to fill in the form 20 times (as currently it can create 20 repeats with null values) - however if any of the questions within the repeat have the required column set to "yes" then that will mean that the user does have to complete all 20 records before they can submit. Hope that helps! Kind regards, Josh
... View more
05-28-2023
10:34 PM
|
0
|
2
|
1209
|
|
POST
|
Hi Megan, In Survey123 Connect in the options settings you have the ability to limit the pixels of a captured photo like so Although I'm not sure whether this only works for photos being captured within the form itself or if it also compresses images that are being attached but have been captured separately (i.e. in the camera app).
... View more
05-26-2023
03:24 PM
|
0
|
0
|
2333
|
|
POST
|
Hi, To set up the relationships you'd want to get your staff to stop editing, copy the data into a geodatabase, add a relationship, republish and then get them editing again, I don't think you can do what you want in-situ. Alternatively you could use the "join features" tool in the Map Viewer classic to create a hosted feature service view linking the two datasets if there's a common key!
... View more
05-26-2023
03:18 PM
|
0
|
1
|
1730
|
|
POST
|
Are you able to post the troubleshooting logs from field maps when submitting the point? That usually gives a bit more info to help with debugging.
... View more
05-25-2023
12:05 AM
|
0
|
0
|
2715
|
|
POST
|
Hi, When you want to do calculations based on a select multiple question you want to use the "selected" function here: as the way data is stored in a select multiple question is all of the options selected concatenated with a ',', which means your relevant calculations are failing when multiple are selected because it's equating to '"data_library,stablization" = "stablization"' which will return as false. Hope this helps!
... View more
05-24-2023
11:46 PM
|
1
|
1
|
640
|
|
POST
|
Hi Leila, The only thing I could think of is that maybe it didn't update the feature service during the republish, could try restarting it or deleting and remaking the feature service - although I would think that this should've happened automatically when republishing the Map Image Service.
... View more
05-24-2023
12:37 PM
|
0
|
0
|
6871
|
|
POST
|
Hi, I'm fairly sure they are functionally the same, I think with the transition from ArcMap to ArcGIS Pro ESRI tidied up the ArcPy functions to be in the format arcpy.mapping, arcpy.management etc. but the historic versions are still around presumably for backwards compatibility? If you look at some of the older geoprocessing documentation for ArcMap you will see references to the older format of arcpy.AddField_management (see here https://desktop.arcgis.com/en/arcmap/10.6/tools/data-management-toolbox/add-field.htm). So I'd recommend using arcpy.management.AddField(), and sticking with whatever is referenced in the most recent ArcGIS Pro documentation for python snippets.
... View more
05-23-2023
12:54 AM
|
0
|
0
|
2379
|
|
POST
|
Hi Garrett, There's no ability to create a view from the join in the new map viewer, so any results will be static. ESRI have said they will be bringing this functionality into an updated "Create View" workflow for hosted feature services in the future, but for now this will need to be remade in the MapViewer Classic.
... View more
05-22-2023
10:37 PM
|
1
|
0
|
555
|
|
POST
|
Hi Garrett, Yes it will stay up to date, but just make sure you click the "Create hosted feature layer view" when running the join in the classic map viewer, as otherwise it will be static. I use that workflow for some of my projects too and it seems to work correctly 🙂 However the resulting live view layer isn't able to be made sync enabled and therefore cannot be used in the offline map unfortunately. You could run the join periodically and output a static layer that would be able to be sync enabled, but that would require automation and somewhat defeat the purpose. Kind regards, Josh
... View more
05-22-2023
10:34 PM
|
0
|
0
|
610
|
|
POST
|
Hi, Couple questions: Are you using the app in online mode or offline mode? If you go to the hosted feature service item that you're capturing data into and look at the "Data" tab, is it showing any new features in there? Are the created points able to be seen in the Field Maps app after they've been submitted and you refresh?
... View more
05-22-2023
10:24 PM
|
0
|
0
|
724
|
|
POST
|
Hi Leila, Is the labeling configured on the map service? Because I think if you have restrictions set on the visibilities for the label on the service itself for map image services they can't be enabled at different visibility scales on the web map side. Kind regards, Josh
... View more
05-21-2023
10:47 PM
|
1
|
0
|
6888
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2023 10:37 PM | |
| 1 | 04-05-2023 11:09 PM | |
| 1 | 05-21-2024 10:26 PM | |
| 1 | 04-20-2023 12:05 AM | |
| 1 | 05-21-2023 10:47 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-20-2025
08:52 AM
|