|
POST
|
I am trying to follow Esri documentation and create an "item" in ArcGIS Online consisting of the ArcGIS World Routing Service, so that I can have some control over the service's use: I have stored credentials for a particular user and limited the credits the service can use. This is all described in this documentation written by @ScottSandusky ; unfortunately it is from 11 years ago: https://www.esri.com/arcgis-blog/products/arcgis-online/transportation/public-access-to-arcgis-online-routing-and-traffic-services I want to use my AGOL "item" (the world routing service) in a third-party web app, used by staff in my organization for routing. So I need to figure out the URL I should use in this application to connect to my AGOL "item." My question is: The above documentation says to use the URL labeled as "ArcGIS Web API REST Connection," which is shown on the item's Item Details page. The problem is that since this documentation is from 11 years ago, much has changed in AGOL, and I do not see anything like that now. There is the item URL at the bottom of the Item Details page, but it is simply the standard, generic URL for the world routing service (see screenshot below). I am afraid that if I use this URL in my app, the app will use the routing service from the source, and it will have zero connection to my AGOL "item" and therefore not pay attention to the credit usage limit I have set for the routing service. Do you know what I mean? Like, I would think that my AGOL item for the routing service would have a unique URL that would tell the app to use my specific connection to the routing service (like a URL that includes a string of random letters and numbers, like all other items I create in AGOL), but this appears to not be the case. In other words, isn't it pointless to create this Routing Service item in AGOL if my third-party app will have to just use the standard routing service URL (https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World), which presumably leads the app to NOT connect to my AGOL item where I have configured credit limits? Scott Sandusky, would you be able to provide any insight? thank you for reading!! My AGOL item's URL:
... View more
05-01-2025
11:02 AM
|
0
|
5
|
951
|
|
POST
|
Starting with ArcGIS Pro version 3.2, there's the new option, "Add Spatial Join," rather than just "spatial join." "Add Spatial Join" allows you to temporarily join (like how "join by attributes" is temporary). You can remove the join after you're done with field calculations or whatever. So it does not produce a new feature class. https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-spatial-join.htm#
... View more
04-28-2025
11:23 AM
|
0
|
0
|
1848
|
|
IDEA
|
@HannesZiegler , hello and thanks for your comment. That's interesting and useful information. I've attended many Notebooks-related sessions at the UC and Dev Summit, but I had never heard that Esri was imagining that users would develop code in a separate IDE (if the code was complex). This makes sense to me the way you explained it, but I just didn't know that was the intention, because I didn't see any of this in the presentations. In that case, with Notebooks not being meant to be like a full IDE, I'm okay with keeping them how they are. My go-to has been to develop code (and execute it) with PyCharm, so I will mainly stick to that. I don't typically need to interact with maps/visualizations with Python in the ways that Esri showcases in their presentations, so maybe I don't need to get into Notebooks very much. (I mostly use Python for data management and wrangling.) Regardless, it's good to know Esri's perspective on usage of Notebooks. Thank you!
... View more
04-17-2025
03:07 PM
|
0
|
0
|
452
|
|
IDEA
|
I agree! I'm in the same situation. I have no reason to have the item summary or description in my gallery. I don't want to use the workaround of deleting the items' summaries/descriptions, since of course those are good for the sake of metadata. I simply don't want the text displayed in my Enterprise Site gallery.
... View more
02-11-2025
01:46 PM
|
0
|
0
|
368
|
|
POST
|
Thanks for sharing that this happened to you too! Interesting. Here's how I solved the problem. I checked the specs on the server where our scripts run, and it had way below the recommended RAM for ArcGIS Pro. We upgraded the RAM, as well as the processor, and rebuilding address locators is back to taking only a short time. It's still a little longer than with Pro 3.0, but maybe like twice as long rather than 20 times as long. My guess is that rebuilding address locators consumes way more resources with the newer version of Pro; I don't know why. However, a caveat is that before discovering this hardware issue, we had tested rebuilding locators in Pro (rather than a script) on other computers, all of which had okay hardware for Pro. But the rebuild still took a long time... so it's still kind of mysterious. I don't know if it needs a very particular processor or what, or if it's faster via script than via Pro interface.
... View more
02-03-2025
09:49 AM
|
0
|
0
|
1230
|
|
POST
|
Thank you, Dan! The Describe documentation for feature classes only listed 8 properties for feature classes - so, only a small portion of the ones you accessed. And it hadn't "clicked" for me that arcpy.da.Describe produces a dictionary and that the dictionary could be explored like that. For anyone else who may be wondering about this, here is how I got the feature class's alias into a variable: import arcpy
arcpy.env.workspace = "\\\\my\\file\\geodatabase"
fcs = arcpy.ListFeatureClasses()
for fc in fcs:
desc = arcpy.da.Describe(fc)
alias = desc['aliasName']
# Then print alias or put it in a list of things to write to a csv.
... View more
01-23-2025
01:26 PM
|
1
|
5
|
1600
|
|
IDEA
|
Add more helpful IDE functionality to Python Notebooks within ArcGIS Pro, such as automatic error detection, suggestions when you begin to type a variable that you have already created, suggestion dropdowns containing possible function or property names when you type a module or class etc. I'm using Pro 3.3 and Notebooks doesn't have any of this; its functionality in terms of these things is no better than IDLE, with the small addition of automatically adding the closing quotation mark or parenthesis when I type the opening one. I find this surprising, since at conferences and in documentation, Esri has been promoting Pro Notebooks as a Python development environment for a long time already. Yet without functionalities like other IDEs like PyCharm, I basically have no incentive to use Notebooks in Pro. If there's a plan to add more features, I'd be interested to hear about it. Thank you for your consideration!
... View more
01-23-2025
01:15 PM
|
3
|
3
|
601
|
|
POST
|
Is there a way to use Python/arcpy to access/list a feature class's alias? I'm talking about the name of the feature class, not field aliases (which I already figured out how to do). Based on my searching of Esri's documentation, there doesn't seem to be a way to do this via Describe or ListFeatureClasses. Is there some other way? I ask because I'm trying to create a CSV file that contains many feature classes' names, fields, and field aliases. I will use the file to review the field names and stuff and write notes about things I want to change when I migrate the data from a file geodatabase to an enterprise geodatabase. It would also be helpful to be able to see the feature class alias in this CSV file. Thanks in advance for any help!
... View more
01-23-2025
12:23 PM
|
1
|
7
|
1619
|
|
POST
|
I am currently having this same problem. My feature layers with this problem cover a large county but don't have a particularly large amount of features. I found that switching the map service to a feature service (or turning on "feature access" in the service's capabilities in ArcGIS Server Manager) solved the problem. However, you should not have to make everything a feature service in order for it to simply show up in the map!! I am using a state plane projection, so the posted solution makes me wonder if changing the projection would help... but that would be an extremely onerous undertaking, since I have a number of layers and again, this is not something one should have to do in order for the layers to simply show up!!
... View more
12-31-2024
10:40 AM
|
0
|
0
|
1752
|
|
POST
|
Thank you so much for your reply. That all makes sense and is helpful.
... View more
12-30-2024
09:36 AM
|
0
|
0
|
1205
|
|
POST
|
Can you publish a feature service (as opposed to a map service) from Pro if the data lives in a file geodatabase rather than an enterprise geodatabase? I am trying to do this, and when analyzing before publishing, I get Error 00134: "Layer's data source is not supported" for all the layers. All the layers come from a single file geodatabase that is stored in a folder on the same ArcGIS Server that all of our services are published on. That is, the data and the service would be on the same server. I searched Esri documentation about this question and couldn't find an answer that seemed clear to me. I also found this Esri Community post from 2016 that says it's not possible, but I'm wondering if things have changed or not. I'm using Pro 3.0.3 and Enterprise 11.3 (I should probably update Pro...). I don't need editing enabled; I just want a feature service because the layers have problems rendering in AGOL as a map service, and when I turn on feature access for the layers in Server Manager, the rendering problems go away.
... View more
12-24-2024
12:13 PM
|
0
|
2
|
1348
|
|
POST
|
Thank you. No, there haven't been any schema changes. I did use those tools to create and rebuild my locator.
... View more
12-03-2024
12:29 PM
|
0
|
0
|
1377
|
|
POST
|
Thanks for your reply. Well, since we have to stay on Server 11.3 for the foreseeable future, we don't want to use Pro 3.4 yet, since 3.3. is the one that's officially compatible with Server 11.3. But I can keep that idea in mind in case we want to at least test it out, like you said, just in case it provides any interesting information.
... View more
11-26-2024
09:59 AM
|
0
|
0
|
1452
|
|
POST
|
I kept digging into this and discovered that the warning was accurate - there really were unique ID fields mapped to all of the "join" role fields, for all of our address locators. Yet no one had done it. We do not even use alternate name tables for our address locators, which is what those fields are for. My guess is that this happened automatically in the software somewhere between Pro 2.7/2.8 and 3.0, when Pro gained the capability to have locators with alternate name tables joined to them (we have had the same address locators since around Pro 2.8 or so). And then the fields caused this warning to occur in 3.3. Anyway, it looks like we will have to re-create all of our locators anew with Pro 3.3, because it is not possible to edit out the fields mapped to those join ID role fields, even though the documentation says the configurations are editable. If anyone else is experiencing this situation, I'd be very interested to hear about it. I'm curious if we are the only ones or not.
... View more
11-26-2024
09:34 AM
|
0
|
0
|
593
|
|
POST
|
I've discovered that, since upgrading to Pro 3.3.2 from 3.0.3, rebuilding address locators takes about 20 minutes, whereas before, it took about 1 minute. This is the case both with a Python script and when doing it manually. It even happens when rebuilding an address locator I created from scratch in Pro 3.3.2 (as opposed to the existing locators I had made with Pro 3.0.3). This worries me because I'm wondering if it means something is wrong...? Does anyone know why this is happening? Has anyone else experienced this behavior? Thank you! Allen
... View more
11-26-2024
09:27 AM
|
0
|
12
|
1670
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2025 03:01 PM | |
| 1 | 09-30-2025 05:42 PM | |
| 1 | 11-01-2023 11:39 AM | |
| 1 | 11-21-2024 04:21 PM | |
| 1 | 08-05-2025 12:29 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|