|
POST
|
Look at the layer's property page, it states "Max Record Count: 2000", which is typical. You will need to make multiple calls to retrieve all of the data. You should read the REST API documentation about how to use the Result Offset and Result Record Count parameters.
... View more
03-27-2025
10:04 AM
|
5
|
0
|
929
|
|
POST
|
Although George's guess of "enterprise" is reasonable, my money is on "esri," with a very small chance "enhanced." The earliest mentions of "multiversioned views" that I recall are from ArcGIS 9.2, which coincidentally the ArcGIS 9.2 Desktop Help is still available online (kudos to Esri for keeping the historical record alive online). From ArcGIS Desktop Help 9.2 - Using multiversioned views: What are multiversioned views? Multiversioned views incorporate database views, stored procedures, triggers, and functions to access a specified version of data in a geodatabase table using structured query language (SQL). In the early days, the documentation suggested using either a "mv_" prefix or "_mv" suffix: At a command prompt, execute the sdetable function to create a multiversioned view. sdetable –o create_mv_view –T permits_mv –t permits –i 4400 –D code –u sarja –p not4u The "mv" prefix or suffix made sense given the name of the feature was "multiversioned view." However, around that same time "mv" started becoming associated with "materialized views." As important as geodatabases may be to us GIS users, the non-spatial use of databases dominates the spatial use of databases, so most people in the database world would associate "mv" with "materialized view" and not "multiversioned view." There was a brief period after transitioning from "mv" where Esri adopted "vw," which is a standard suffix or prefix for any database view. I believe it was also around this same time that Esri moved away from "multiversioned views" and starting use just "versioned views." Although "vv" is a logical abbreviation for "versioned view," my guess is people didn't like it because it might be too easy for people to confuse "vv" for "w". Similar to Esri JSON, Esri JS, and other standard terms that Esri prefixes with their name, my guess is that "e" in "evw" is for Esri. Also, the change from "SDE" to "Enterprise geodatabase (EGDB)" came many years after the switch to "evw" so I don't think the word "enterprise" was the motivation.
... View more
03-25-2025
08:51 AM
|
4
|
0
|
950
|
|
POST
|
It can be simplified a bit more even. The [PtZ] doesn't have to be stored in a separate variable, it is already a variable: def FindLabel([PtZ]):
return [PtZ].split('.')[1]
... View more
03-17-2025
10:17 AM
|
4
|
1
|
625
|
|
POST
|
If you shared some of the code samples you tried along with the errors or unexpected results, people could comment on why the code samples aren't working for you. Also, sharing either example or sample data along with expected results helps people give better answers.
... View more
03-11-2025
06:19 AM
|
0
|
4
|
1327
|
|
POST
|
If the software is consistently telling you the token is invalid, there is likely something wrong with either the credentials or how the token is being generated. Unless you provide more information about how you setup the "simple basic API key" and how exactly you are using the key to generate a token, there isn't much for anyone to comment on here.
... View more
03-11-2025
06:09 AM
|
0
|
0
|
7473
|
|
POST
|
It would be helpful to share a specific example of text and code and the result. I can't say I completely understand the steps you are taking, so I can't offer any specific feedback.
... View more
03-05-2025
06:44 AM
|
0
|
0
|
288
|
|
POST
|
I tested your code on several file and mobile geodatabases on my machine, and the Walk code was almost an order of magnitude faster for all cases. I am not sure why it is slower in your tests on your machine. Can you run the tests not using a Notebook.
... View more
02-27-2025
07:41 AM
|
0
|
0
|
2453
|
|
POST
|
It is "Esri JSON," no 'geo' prefix, and "GeoJSON," no 'Esri' or 'general' qualifier. I took the GeoJSON shared in the question and tested it at GeoJSON Viewer & Validator, it fails with: Line 1: Polygons and MultiPolygons should follow the right-hand rule
... View more
02-27-2025
05:44 AM
|
2
|
0
|
792
|
|
POST
|
In general, don't upload a screenshot when you can write out the SQL and error code in text. No matter how busy you are, the people volunteering to read questions and provide replies are just as busy or more. There are at least a couple issues with the syntax being used. Firstly, the Select by Attributes tool expects a SQL WHERE clause, so your current syntax results in a complete SQL statement of: SELECT * FROM SDE.PassengerStartAndStops WHERE SELECT MAX(sys_timestamp) FROM SDE.PassengerStartAndStops The statement is invalid, as Pro is already informing you. The second issue I can't say exactly because I am confused what you are trying to do. sys_timestamp is a DBMS function and not a field in the table. Maybe take a step back and share what exactly you are trying to do, not in code but in words.
... View more
02-26-2025
06:18 AM
|
0
|
1
|
712
|
|
POST
|
Walk - ArcGIS Pro | Documentation is more functional, idiomatic, and performant then relying on the older ArcPy List functions.
... View more
02-26-2025
06:06 AM
|
1
|
2
|
2490
|
|
POST
|
The best way to know if it works is to test it, that is why you should have a test or staging environment, or maybe even just a development environment. Without testing, even the best plan that should work can go wrong and have unexpected consequences. Overall, the steps look fine, but there will be a brief outage between step 2 and 4 since there will be no registered Web Adaptors but users may still be attempting to connect using the Web Adaptor address.
... View more
02-21-2025
12:22 PM
|
1
|
0
|
1361
|
|
POST
|
Short answer, you can't download the geometry information because the service has been published in a way to prevent it. All of the non-spatial attributes are available, but they have decided to prevent access to the geometry information. There is nothing you can do on the end-user side. You can try contacting the organization and inquire how to get a copy of the data that includes geometry. The reason the one link shows the geometries on a map is that it is a different REST function. The link that works is returning images of data and not data itself.
... View more
02-05-2025
02:42 PM
|
1
|
0
|
565
|
|
POST
|
If unregistering and reregistering improves performance for a while, I would look into what the state tree looks like over time. Diagnose Version Tables only looks for specific kinds of issues, and the tool doesn't look at overall shape and length of state tree. Unfortunately I don't think Esri has gotten around to including a state tree diagram tool in Pro yet, but one can still query the system tables to get the state tree information.
... View more
02-05-2025
06:11 AM
|
0
|
0
|
900
|
|
POST
|
What you have is JSON data stored in a text field, so you should process it like JSON. Expression: sum_json_key(!FieldName!, "antal") Code block: import json
def sum_json_key(json_text, key):
j = json.loads(json_text)
return sum(i[key] for i in j)
... View more
01-24-2025
07:39 AM
|
2
|
1
|
1641
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 12-02-2025 07:31 AM | |
| 1 | 11-03-2025 08:26 AM | |
| 1 | 10-22-2025 12:57 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|