POST
|
I was able to resolve this issue by upgrading the ArcGIS Online notebook to the advanced runtime (I was originally using Standard). A question for Esri folks that are monitoring these threads - are there any documents out there online that indicate why it needs to be advanced? Is there a different way that the pandas.DataFrame.spatial.from_featureclass() function is run in standard versus advanced? I could not find anything in the documentation online referencing this, unless I’ve missed something on my end. I don’t know how many other users are affected by this change, but it seems like it would be major, especially for those that have had scripts running in ArcGIS Online notebooks for a while.
... View more
07-28-2023
09:22 AM
|
0
|
1
|
1988
|
POST
|
I am not sure why it isn't working on my end. Using that same shapefile and attempting to run this in an ArcGIS Online notebook, it fails to execute properly, stating it can't find a SHAPE field. Could the ArcGIS Online notebook environment be a root cause to this for processing? It properly finds the file using my earlier code, but seems to fail during the sdf = pd.DataFrame.spatial.from_featureclass(shp_file) step. And here's the logs pertaining to it: 2023-07-24 21:00:51,264: INFO - extracting shapefile(s) to /arcgis/home/attachments/220_115 2023-07-24 21:00:51,274: INFO - extracted shapefile(s) 2023-07-24 21:00:51,276: INFO - converting to featureset - shapefile: /arcgis/home/attachments/220_115/dfc620cf6643426fb2e01d5e33f56a91.shp 2023-07-24 21:00:51,281: ERROR - Column SHAPE does not exist
... View more
07-25-2023
02:31 PM
|
0
|
0
|
2040
|
POST
|
I'm getting an issue when trying to use the shapefile method: "Shapefile dbf header lacks expected terminator." The files that we are attempting to import appear to have blank dbf files. I tried adding it to Pro, but it won't work, stating "Empty Path Specified". Just attempting to add in a zip file directly to the new map. I've attached an example zip file for reference.
... View more
07-24-2023
10:08 AM
|
0
|
0
|
2071
|
POST
|
Just edited it. Hadn't posted code in a forum in a long time. Thanks for the reminder.
... View more
07-21-2023
08:40 AM
|
0
|
0
|
2117
|
POST
|
I'm running a script to process an attached zipped shapefile, which converts it to a featureset to append into a hosted feature service. When processing the zipped shapefile, I'm running into an error when using the pandas.DataFrame.spatial.from_featureclass method. Here's the error that I'm getting: Column SHAPE does not exist Here's the extract of my code: def extract_geometry_from_shp(layer, objectid, attachmentid):
#download shapefile and create a featureset.
import pandas as pd
from arcgis.features import GeoAccessor, GeoSeriesAccessor
attachment_folder = os.path.join(os.getcwd(), "attachments")
file_path = download_attachment(layer=layer, oid=objectid, attachmentid=attachmentid, download_folder=attachment_folder)
extract_path = os.path.join(attachment_folder, f"{objectid}_{attachmentid}")
logger.info(f"extracting shapefile(s) to {extract_path}")
shutil.unpack_archive(file_path, extract_path)
logger.info(f"extracted shapefile(s)")
for shp_file in os.listdir(extract_path):
if shp_file.endswith(".shp"):
shp_file = os.path.join(extract_path, shp_file)
logger.info(f"converting to featureset - shapefile: {shp_file}")
sdf = pd.DataFrame.spatial.from_featureclass(shp_file)
logger.debug(sdf.tail())
f_set = sdf.spatial.to_featureset()
logger.debug(f_set)
return f_set To further clarify, I am running this in an ArcGIS Notebook. This used to work last year, but seems to not be working any more. Further, the zipped shapefiles are able to be added using the "Add Data" tool in a Web Appbuilder product we have. Thoughts?
... View more
07-21-2023
08:16 AM
|
0
|
9
|
2140
|
POST
|
Just checked our apps and they appear to be working again.
... View more
06-28-2022
03:26 PM
|
1
|
0
|
2214
|
POST
|
It looks like we're having possibly similar issues with our story maps not displaying the embedded webmaps. Here's a few of them: https://oregon-oem-geo.hub.arcgis.com/apps/2021-february-winter-storm-spotlight/explore https://oregon-oem-geo.hub.arcgis.com/apps/2020-february-flooding-spotlight/explore https://oregon-oem-geo.hub.arcgis.com/apps/2019-april-flooding-spotlight-1/explore https://oregon-oem-geo.hub.arcgis.com/apps/2019-february-winter-storms-spotlight-1/explore
... View more
06-28-2022
07:19 AM
|
1
|
0
|
3738
|
POST
|
Are there plans to support that functionality soon? For those of us that have multiple story map series and want to test-drive that functionality, it is critical for us.
... View more
09-27-2021
08:45 AM
|
1
|
1
|
1669
|
IDEA
|
I'm attempting to convert our story map series template over to using the Portfolio app and I've noticed that the screen real estate seems to be severely impacted by the bottom navigation options. Has the team given thought to having the navigation area collapse further or use the left side of the screen to switch between the apps and/or maps? One of the advantageous settings we had with the original story map series template was the ability to look at what options were available to select from and also at that same time display the relevant information to accompany that link, such as how often data updates and what the authoritative source for that information was. As we're working during emergency events, it is critical for us to have a one-stop shop for information with descriptors for how that information is obtained and updated on a regular basis.
... View more
09-27-2021
08:39 AM
|
3
|
1
|
740
|
POST
|
I'm attempting to convert our story map series template over to using the Portfolio app and I'm running into an issue to where I'm not able to use the URL function for one of my subjects. This URL is a public-facing site and is currently in use by our existing application. I don't know if there are some settings that are preventing this from being recognized as an acceptable URL, but here's the link I'm trying: https://tripcheck.com. It is stating that it is not a valid URL. I'd appreciate any insight if anyone else has experienced this issue.
... View more
09-27-2021
08:36 AM
|
1
|
8
|
1675
|
POST
|
We're encountering the same issue with our forms. Ours is the same case - to where we have published a survey using connect. We can enter in new records via the web form or via the app. However, when attempting to edit a record (groups checked and all have access and I'm testing using the owner account), this error persists. I've updated to connect version 3.12 and there's the same error. Any thoughts?
... View more
03-23-2021
08:35 AM
|
0
|
0
|
2352
|
IDEA
|
FYI - this has been logged as an enhancement: ENH-000135167: Enable JavaScript function on public surveys. Use the Survey123 pulldata from an existing feature service option for public surveys.
... View more
11-05-2020
07:36 AM
|
0
|
0
|
3765
|
BLOG
|
I just created an idea for public surveys to have this functionality. You can check it out here: https://community.esri.com/ideas/19272
... View more
11-03-2020
12:05 PM
|
2
|
0
|
48736
|
IDEA
|
We are looking at creating a public survey that would pre-populate information based upon user location selection in order to gather and update data on a particular service, similar to the pulldata from another service idea (https://community.esri.com/ideas/12910 ). However, we are wanting this functionality for public surveys for a specific project we're working on as it relates to fire recovery response and pre-pulling data on the backend to populate taxlot information about the property affected.
... View more
11-03-2020
12:01 PM
|
18
|
8
|
3825
|
POST
|
We noticed an issue when opening a new story map from a hub site is preventing users from seeing the embedded YouTube links in fullscreen mode. We have our hub set up to load it in a separate tab in the browser, which still maintains the hub title on top, then the story map details below. I'm wondering if the issue is that the story map is being embedded in the hub site, then it would be a YouTube embed underneath another embed, which may be preventing full screen viewing. Thoughts?
... View more
02-18-2020
02:48 PM
|
0
|
1
|
1173
|
Title | Kudos | Posted |
---|---|---|
1 | 06-28-2022 03:26 PM | |
1 | 06-28-2022 07:19 AM | |
1 | 09-27-2021 08:36 AM | |
1 | 09-27-2021 08:45 AM | |
3 | 09-27-2021 08:39 AM |
Online Status |
Offline
|
Date Last Visited |
06-13-2024
05:36 PM
|