|
DOC
|
There is this awesome blog by Esri Australia regarding joining multiple features to one feature: https://esriaustraliatechblog.wordpress.com/2015/06/22/spatial-joins-hidden-trick-or-how-to-transfer-attribute-values-in-a-one-to-many-relationship/ There is also official Esri documentation on this procedure as well: “Merge rules > Join A concatenation of input field values. You can use a delimiter to separate the various input values. If no delimiter is used, all values will be joined into one continuous string.” Analyze > Executing tools > Executing tools using the tool dialog > Special parameter controls: https://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/using-the-field-mapping-control.htm Looks like this is also possible with arcpy.SpatialJoin_analysis python tool: Analyze > Python > Working with sets of data in Python: https://desktop.arcgis.com/en/arcmap/10.3/analyze/python/mapping-fields.htm
... View more
04-22-2021
11:26 AM
|
2
|
10
|
7870
|
|
POST
|
Some more notes on in_memory: The in_memory workspace is only valid for geoprocessing tools; it is not a general-purpose virtual directory when you can write any data. Clean up after using "in_memory" using Delete_management For example, Projects = os.path.join("in_memory","Projects")
arcpy.MakeFeatureLayer_management(<pathToFC>,"Proj_lyr")
arcpy.CopyFeatures_management("Proj_lyr",Projects)
arcpy.Delete_management("Proj_lyr")
print("Projects Copied") https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/using-the-in-memory-output-workspace.htm https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/the-in-memory-workspace.htm https://desktop.arcgis.com/en/arcmap/10.3/analyze/modelbuilder/the-in-memory-workspace.htm https://gis.stackexchange.com/questions/35468/what-is-the-proper-syntax-and-usage-for-arcgis-in-memory-workspace https://community.esri.com/t5/arcgis-pro-sdk-questions/in-memory-workspace/m-p/787036
... View more
04-22-2021
10:01 AM
|
0
|
0
|
1851
|
|
POST
|
First, I had my company cyber team whitelist the recommended Esri and Conda urls to be allowed on the proxy: http://downloads.esri.com/resources/enterprisegis/AGOL_Domain_Requirements.pdf https://community.esri.com/thread/211474-web-appbuilder-login-issue-using-internet-explorer-11 https://*anaconda.org https://*.anaconda.com https://*.conda.io Then, I resolved by adding the http_proxy and https_proxy system environment variables: https://conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html#configure-conda-for-use-behind-a-proxy-server-proxy-servers Configure conda for use behind a proxy server (proxy_servers) By default, proxy settings are pulled from the HTTP_PROXY and HTTPS_PROXY environment variables or the system. set them to http: http://proxy_server:port and https: https://proxy_server:port, respectively After installing the Esri package, I removed those environment variables, since they were conflicting with access to other urls. Alternatively, within anaconda itself, set these configurations: conda config --set proxy_servers.http http://proxy_server:port conda config --set proxy_servers.https https://proxy_server:port
... View more
04-19-2021
07:23 AM
|
0
|
0
|
3334
|
|
POST
|
Thank you for your input @vipulsoni This is also documented in the Esri technical support article I reference above: https://support.esri.com/en/technical-article/000012610 Error: The server is not ready for publishing. Please check if the Publishing Tools on the server are started "Restart ArcMap and republish the MXD. In some instances for this recurring issue, restart ArcMap, load the MXD, and republish the service."
... View more
04-15-2021
11:15 AM
|
1
|
0
|
4826
|
|
POST
|
We also had an issue with an application in which the app would not load all the way. It turns out the Esri urls were being redirected to authenticate against the proxy. The cyber team added Esri urls to the whitelist and no auth list (a list so the urls can bypass proxy authentication, since it was conflicting with the slid proxy authentication) https://help.zscaler.com/zia/exempting-urls-cloud-apps-authentication I provided them the whitelist mentioned in this post. Also, when inspecting traffic, you can note if the Esri url is being Temporarily Redirected with a Status Code of 307 with the next line being the proxy url. This way, you can know if the cyber team should add the url to the no auth list.
... View more
04-14-2021
08:56 AM
|
1
|
0
|
2396
|
|
POST
|
Hi @yockee , I believe the utility service is included as part of the standard deployment of ArcGIS Enterprise. So, you can simply navigate to your specific portal url, like this: https://<portal.domain.com>/<webadaptor>/sharing/kml Also, in order to set the esriConfig.defaults.kmlService", you need to use the ArcGIS API for JavaScript, and require esri/layers/KMLLayer
... View more
04-10-2021
01:10 PM
|
0
|
0
|
1730
|
|
POST
|
I see some ArcGIS API for JavaScript documentation now: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html https://developers.arcgis.com/javascript/3/jsapi/kmllayer-amd.html https://community.esri.com/t5/arcgis-api-for-javascript/is-it-possible-to-load-kml-from-a-file/td-p/504613
... View more
04-09-2021
05:29 PM
|
0
|
0
|
2291
|
|
POST
|
Does Esri provide documentation for this portal url endpoint? How does this work? Seems like this is an endpoint to upload kml, and return features https://portal.domain.com/webadaptor/sharing/kml I do not see it here: https://enterprise.arcgis.com/en/portal/latest/administer/windows/components-of-arcgis-urls.htm# The url returns something like this: I noticed these articles that referenced a default url. https://utility.arcgis.com/sharing/kml https://community.esri.com/t5/arcgis-api-for-javascript/need-ip-address-of-http-utility-arcgis-com-sharing-kml/m-p/676496#M63044 https://community.esri.com/t5/arcgis-api-for-javascript/set-service-url-for-kml-layers/m-p/56575#M4970
... View more
04-09-2021
05:17 PM
|
0
|
1
|
2296
|
|
BLOG
|
Excellent @Anonymous User , thank you for commenting.
... View more
04-05-2021
10:12 PM
|
0
|
0
|
2521
|
|
BLOG
|
The methodology to update a web map can be summarized as such: 1 Get the web map json (item.get_data()) Similar to the ArcGIS Rest API: https://developers.arcgis.com/rest/users-groups-and-items/item-data.htm 2 Prepare the web map dictionary by overwriting the chosen dictionary values with the desired values: 3 Update the target web map (item.update(item_properties=desired web map dictionary keys:values)) Similar to the ArcGIS Rest API: https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm
... View more
04-05-2021
08:16 PM
|
2
|
0
|
2528
|
|
BLOG
|
Nice post! Here are some additional snippets to manage a webmap, including updating the web map layer symbology, label, item id, popup configuration, search configuration, and checking if the web maps have the expected layer. https://community.esri.com/t5/arcgis-api-for-python-blog/snippets-to-manage-a-web-map-with-the-arcgis-api/ba-p/1043716
... View more
04-04-2021
03:39 PM
|
5
|
0
|
15009
|
|
BLOG
|
updateWMRenderer&Label
checkWMLayerOrder
configureWMSearch
updateWMLayerItemID&ConfigurePopup
... View more
04-04-2021
03:34 PM
|
1
|
6
|
3439
|
|
POST
|
Also just noticed that in the second for loop in the try block of the API code sample, it should be user.items(folder=f), not user.folders(folder=f). The API does not have any folders method for any of the classes in the arcgis.gis module I will raise an issue in the API repo.
... View more
04-02-2021
02:33 PM
|
0
|
0
|
2720
|
|
POST
|
Nice, thanks @jcarlson dot tab after item did not show in the docstring any size property, but like you said, dir() does:
... View more
04-01-2021
09:45 AM
|
0
|
0
|
2730
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2024 08:12 PM | |
| 1 | 10-03-2024 07:58 AM | |
| 1 | 01-13-2025 10:30 AM | |
| 1 | 04-18-2025 04:53 PM | |
| 1 | 02-21-2025 09:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-25-2025
04:55 PM
|