POST
|
Hi, I am using argis package version 2.0.1 and it appears to be an issue in this version. I have been trying to troubleshoot where the change in datetimes occurs in a scripl figuring it was earlier in the script tool but I've narrowed it down to later when I use the spatial.to_featureset() I also found the link below on github. I have to admit its pretty discouraging since I've been working to update code from arcpy to the API only to run into this bug. df = s_lyr.query(where = AK_dt_fltr, out_sr = 26931).sdf
gsa = GeoSeriesAccessor(df['SHAPE'])
df['LENGTH_NM'] = gsa.get_length('PLANAR', 'NAUTICALMILES')
s_lyr.edit_features(updates = df.spatial.to_featureset()) https://github.com/Esri/arcgis-python-api/issues/1301
... View more
03-22-2024
05:58 PM
|
0
|
0
|
453
|
POST
|
Today (3/19/24) we are no unable to download offline maps from the device for multiple devices, AGOL web maps. This has been are work around and now this is failing.
... View more
03-19-2024
09:57 AM
|
2
|
0
|
1134
|
POST
|
Hi,
We have geoprocessing script tools to run in ArcGIS Pro for updating AGOL hosted feature layer attributes and downloading to local file geodatabases.
We have been working to switch the python code from arcpy to the API for Python.
In the process, I can run the script tools fine on my machine but I'm seeing differences for some of the biologists that need to run the same tools that are getting errors.
For instance, in line 13 below this line works fine on 2 out of 4 users machines, but on one of them they are using ArcGIS Pro 3.1.x and continue to get the ValueError ("StringArray requires a sequence of strings or pandas.NA")
if arcpy.Exists(in_track_ln_fc):
arcpy.AddMessage("Updating track line fields for AKCreationDate, AKDate, Year, Management Area")
lyr = gis.content.get('xyzxy').layers[1]
df = lyr.query(where = "AKDate IS Null").sdf
df['ManagementArea'] = 'xyzx'
df['start_time'] = df['start_time']- timedelta(hours=16)
df['end_time'] = df['end_time'] - timedelta(hours=16)
df['AKCreationDate'] = df['start_time']- timedelta(hours=8)
df['AKDate'] = (df['AKCreationDate'] + timedelta(days=1)).dt.strftime('%m/%d/%Y')
df['Year'] = df['start_time'].dt.strftime('%Y')
df['created_date'] = df['created_date']- timedelta(hours=16)
df['last_edited_date'] = df['last_edited_date'] - timedelta(hours=16)
lyr.edit_features(updates = df.spatial.to_featureset())
I've checked the dataframe and it has the records to update, but I don't understand or know how to fix the error when the code runs fine on my and a coworkers machine. I have ArcGIS Pro 3.0.x still. I'm not sure on the other user.
Similarly different data but same use of the edit_features and the user is getting an error params["updates'] = json.dumps(
Has anyone else had issues with different versions of ArcGIS Pro and the edit_features? Any insights?
Thanks in advance!, Kathy
... View more
03-18-2024
07:19 PM
|
1
|
0
|
463
|
POST
|
Hi, Yes! I have been having the same issue with offline maps taking an hour to overnight to just not creating an offline map or progressing so I stop them. When I say progressing, sometimes I check what map layers have been packaged up within the 'Manage Offline Areas' and I'll see nothing has been packaged. These are offline maps from web maps we have been using for years now. I noticed the issue last week and do have an Esri tech support ticket open although they have not been able to pinpoint, but it is happening on multiple maps some with the same layers but not all. I've also noticed AGOL in general has been sort of locking up/slow behavior too. Earlier today the offline maps were noticeably faster and successful in creating them so I was hopeful the issue was resolved whatever it was. I'm glad I'm not the only one with an issue although that doesn't resolve it. I sent your post link to the Esri tech support as well. I know AGOL was showing as 'no issues' healthy but I've also learned that isn't always true. We are just starting field work for the year and so I'm not sure if this has been issue earlier than now. Thanks for posting and sharing this, @JustinColville do you have any info on the offline maps from AGOL being so slow? Kathy
... View more
03-14-2024
03:22 PM
|
3
|
0
|
1228
|
POST
|
Hi, I'm wondering when/if the new fields in AGOL (date only, time only) will be available in Field Maps (offline). Is this in the next release by chance? If not (yet) what would you suggest as the best workaround for time (HH:MM) military time? Thanks!, Kathy
... View more
02-21-2024
03:48 PM
|
0
|
0
|
523
|
POST
|
Hi @JonSwoveland , We did get this to 'sort' of work. The unique ID is by sampler and then their own sample counts so the max record in our case is specific to each user and I created a field that increments for each user with their sample count and increments with each record submitted. This helps with folks working offline and querying only for that sampler's max count. However, the table that gets downloaded offline is specific to the offline area extent so we did have someone that was sampling in another management area (jet plane distance away) return to their area and I had to add in specific code for their user name to compensate for the max record since those samples weren't included in their 'area' offline map. According to @JustinReynolds , the arcade expressions execute when the data is submitted for each record and shouldn't change. We didn't fully test this but I did have someone say twice that when they returned to Wi-Fi and synched data their record count updated (this was prior to us implementing the max id per sampler). I actually posted on this but never got a response, but I also do believe them since they were doing a lot of quality control at the time. I'm not sure if this info is useful or can be applied but the max record count in our situation works offline when it is combined with sampler initials and only their records. I'll have to to look up the VertiGIS Studio Mobile. Thanks, Kathy
... View more
02-01-2024
09:40 AM
|
1
|
1
|
1654
|
POST
|
Hi, Did you find a solution? I am trying to edit/remove individual labels using the Vector Tile Style Editor and searching for how to do this. Thanks, Kathy
... View more
01-20-2024
12:05 PM
|
0
|
0
|
143
|
POST
|
I'm right there with you on the best way to access the trace results in the stand-alone python script. I've tried Selection and Network Layers that I've been running as a script tool within ArcGIS Pro toolbox. My goal would be to have the script iterate over a few hundred starting points with a static downstream point. At the moment the tool runs and selects the section of stream within the map for just one set of starting points, but if I try and append the selection in the stand-alone script it doesn't recognize the selection and appends the entire layer. My thought was to have it iterate thru the points and append each path to an overall output layer of all paths. I'm using Pro 3.0.3 Thanks, Kathy
... View more
01-05-2024
04:03 PM
|
0
|
1
|
593
|
POST
|
Update: When I add the vector tile to ArcGIS Pro using the Catalog Pan -> 'Portal' -> My Content (AGOL) the vector tile layer looks the same as it does in AGOL. I had been adding the AGOL url in ArcGIS Pro ->Add Data ->Data from Path. In using the url I had the color differences. I'm so excited this will work thru the Catalog Pane...there is hope. Hi @tnguyen , I was using the ArcGIS Vector Tile Style Editor available thru the ArcGIS Developers dashboard in the link you shared above. I was able to turn labels off for certain features like rivers, but my issue is when I save the basemap to my AGOL folder I am seeing differences in how the vector basemap looks in AGOL Map Viewer compared to opening in ArcGIS Pro for the overall colors? I am trying to create a poster with a topo background, but I need to adjust the fonts to better align at a poster size. Anyone experience the same with customized basemap looking so different in ArcGIS Pro? Any work arounds? @BernSzukalski Thanks in advance, Kathy AGOL customized basemap colors as expected ArcGIS Pro customized basemap colors not as expected
... View more
12-06-2023
01:02 PM
|
0
|
0
|
400
|
IDEA
|
Hi, The dashboard reset toggle that was added in 2022 and is a great enhancement to the dashboard functionality/ease of use. I have a dashboard under review currently and numerous requests have asked for the reset to be moved elsewhere in the dashboard. Currently you can only enable the reset option, but functionality to allow placement of the reset in different locations with the dashboard would be valuable in dashboard design. Comments regarding the reset position being too low and thoughts it could be hidden on some monitors. The idea to have placement closer to dashboard selectors could make it more intuitive for users. Thanks for the consideration, Kathy
... View more
12-05-2023
05:20 PM
|
3
|
1
|
434
|
POST
|
Hi @OliverIshmael , At the Esri UC, the Field Maps team presented on using python notebooks with a polygon feature layer to create offline maps in Field Maps. If you access to the conference proceedings, it was presented in this session "ArcGIS Field Maps: Automating and Integrating Mobile Workflows" The notebook is here for download/reference. https://github.com/Esri/field-maps-scripts I haven't tried it, but hopefully it is useful if you haven't seen this. Thanks, Kathy
... View more
11-08-2023
10:15 AM
|
1
|
1
|
434
|
POST
|
Hi TonghuiMing, Thanks so much for the message and update. I am still seeing the same issue. I could share the app url with you thru a private message if that would be ok since it is still very much in review. Thanks, Kathy
... View more
10-11-2023
05:05 PM
|
0
|
0
|
404
|
POST
|
Hi, I'm working with a point dataset of tagged fish release/recoveries. This dataset has ~ 37,000 records in the AGOL hosted feature layer. Currently I have been working on an Experience Builder web app with embedded dashboard. I have a number of category selectors, charts, and a list set up within the dashboard. I cannot figure out a way to have the map filter based on a tag number that queries the entire dataset. I do have Search enabled in the map, but this isn't an obvious place to type in and search, plus this will only zoom or select each record that meets the criteria while all points remain on the map. This post is re-posting the issue in this post. Thanks, Kathy
... View more
10-02-2023
03:06 PM
|
0
|
0
|
323
|
POST
|
Hi!, I also have this issue trying to search a table of ~ 36,000 records. I was hoping similarly if I use the search option in the category selector it would return the records that met the search. However as you mention it only actually searches the number of records specified in the selector properties which essentially doesn't work and only confuses users. In the dashboard map, I have added the Search with the fields that folks are interested in searching by, but this isn't really that intuitive. I have fish tag locations/recoveries and people simply want to search/filter the data by a tag number as one option and have the corresponding points filter. I realize its a lot of data, but overall the dashboard and other filters are performing great. A side note is I found the dashboard to be about 100% more reliable for performance compared to the Experience Builder map/filter widget (unfortunately). Thanks in advance, Kathy
... View more
10-02-2023
12:41 PM
|
0
|
0
|
574
|
POST
|
Hi @FletcherHubbard , I just wanted to add in we have been using arcade expression in pop-ups in Field Maps offline that work great. Here is a link on attachments and arcade that might be useful. https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/ I think the arcade expression should also work in labels offline for attachment count. Thanks, Kathy
... View more
08-03-2023
05:04 PM
|
0
|
0
|
861
|
Title | Kudos | Posted |
---|---|---|
1 | 04-19-2023 03:09 PM | |
1 | 3 weeks ago | |
1 | 08-07-2024 11:47 AM | |
1 | 03-19-2021 10:07 AM | |
1 | 08-17-2022 01:03 PM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|