We have just bought ArcGIS Online subscriptions to work on a geo database that was created previously by a contractor. I uploaded the geo database to our organization but when I try to add the gdb to the map I get the error :
"Unable to establish a secure connection to the layer. The layer, [layername], cannot be added to the map."
I'm aware that this requires me to "Update the layer to use HTTPS" but I'm not sure how do I go about that. I tried to call the local provider ESRI support but the calls and emails are ignored.
Solved! Go to Solution.
Did you add the zipped File Geodatabase in My Content tab? Check the steps and pointers to consider (Supported Data Types, Spatial Reference, etc.) in Publish the contents of a file geodatabase
Can you view the item details page of the Hosted Feature Layer?
Add the Hosted Feature Layer to WebMap
Yes, I uploaded the zipped file to my content following the same instructions.
I can't view the item details (see below) could this mean that something went wrong during the upload? the gdb size is almost 20 GB.
I tried uploading zipped shapefiles of 1.8 GB, followed by creation of hosted feature services. Upload executed fast, but creation of hosted feature layer took around 3 hours. The size of the hosted Feature Layer was around 11 GB then.
You can upload files up to 500 GB to My Content through a web browser. Considering the increase in size of the hosted feature layer multi-folds, I will not recommend the process of uploading such large datasets to AGOL.
Publishing file geodatabase contents is a useful workflow if the geodatabase contains only a few datasets.
Rather, you should design the layers (symbology, visibility scale range, etc.) in ArcGIS Pro, and publish the hosted features from ArcGIS Pro.
Zip file was used to directly upload the File GDB (zipped) to ArcGIS Online (My Content).
For sharing web layers from ArcGIS Pro, you need to add the respective layers to Content tab of ArcGIS Pro, make necessary updates including its style. And then share them as web layers (hosted) to ArcGIS Online. Share a web feature layer