|
POST
|
This was logged as a defect and fixed in 11.2: BUG-000158050 for ArcGIS Web Adaptor (esri.com)
... View more
02-02-2024
11:35 AM
|
0
|
0
|
4901
|
|
POST
|
I addressed this in a comment to your question on GIS SE, but will post it here as well: ArcGIS Spatial Data Server (SDS) was a single-release product at 10.1, Esri deprecated it by ArcGIS 10.2 when ArcGIS Server's feature access capability was expanded to support non-geodatabase databases. I can't imagine you are seeing that in the wild these days.
... View more
02-02-2024
11:31 AM
|
0
|
2
|
2015
|
|
POST
|
See my comment question over at field calculator - Calculate date difference between current date and previous date using Arcade with ArcGIS Pro - GIS SE
... View more
01-30-2024
11:59 AM
|
1
|
0
|
1962
|
|
POST
|
Given that a semicolon has been the <SQL terminator> since the first SQL standard, and syntax rules have called for using a <SQL terminator> since the first SQL standard; this is definitely the correct answer. In fact, I think addressing some of the logged defects and enhancements would make the situation worse rather than better.
... View more
01-30-2024
07:32 AM
|
0
|
5
|
4833
|
|
POST
|
Have you run the Analyze tool on your to-be-published service? It will find if an existing cache exists and give you options for using it.
... View more
01-29-2024
09:22 AM
|
0
|
0
|
1827
|
|
IDEA
|
I am guessing one of Esri's responses, assuming they do respond, will be that uniqueness can be enforced through an Attribute Rule. I find Attribute Rules clunky, but they are portable across a range of Esri products: var val = $feature.FieldName;
var cnt = Count(Filter($featureset, 'FieldName = @VaL'));
Boolean(cnt < 2);
... View more
01-23-2024
10:13 AM
|
0
|
0
|
669
|
|
IDEA
|
This idea isn't really practical, and anything that looks like reordering in-place would actually be a multi-step recreation, renaming, and deletion bundled together, which wouldn't be any different than doing those steps manually oneself. In terms of SQL itself, there is no default order for records. Looking to the section of the SQL standard that defines the behavior of cursors, ISO/IEC CD 9075-2 Information technology — Database languages — SQL — Part 2: Foundation (SQL/Foundation), it clearly states (at least through SQL:99 that I have seen in person, but I assume the same language exists in later editions): When the ordering of a cursor is not defined by an <order by clause>, the relative position of two rows is implementation-dependent. The importance of that statement can't be emphasized enough. The default ordering of records in a table is implementation dependent, and most vendors will state somewhere they don't guarantee a default ordering. The Sort (Data Management)—ArcGIS Pro | Documentation gives a false-sense of assuredness to users because a table can be reconstructed a certain way, but Esri cannot guarantee the default ordering for every type of data store. The main value, in my mind, of the Sort tool is to support spatial reordering of records so that indexing can be optimized to improve analysis performance in certain situations. Do records in a file geodatabase tend to have a predicable default ordering? Yes, but it is an implementation artifact tied to ObjectID ordering and indexing. I am not sure if Esri has ever documented a guaranteed default ordering, so if order matters an ORDER BY clause should always be used.
... View more
01-23-2024
08:49 AM
|
0
|
0
|
3448
|
|
POST
|
The major issue I see with "deploy it all with high availability" is licensing, all that functionality and uptime will come at a pretty steep cost, especially if it isn't needed to meet business needs.
... View more
01-20-2024
11:51 AM
|
1
|
0
|
3653
|
|
POST
|
I think this question raises even larger questions about Esri's plan for .NET LTS releases when MS only supports LTS editions for 36 months. The issue of transitioning from .NET 6 to .NET 8 will be faced in another 36 months when they have to move from .NET 8 to .NET 10. Esri has been averaging around 8-10 months between releases of ArcGIS Pro, so they likely won't be able to squeeze two more releases in before November, 2024. The stickier issue with MS's support timelines for .NET is that Esri's support lifecycle for ArcGIS Pro aren't lining up with MS's support lifecycle. For example, ArcGIS Pro 3.2 was released on 11/07/2023 and is in "General Availability" support through 05/31/2025; however, .NET 6 support ends on 11/12/2024. From an enterprise security perspective, that creates an issue because .NET 6 will need to be removed from machines around that date, which means ArcGIS Pro 3.2 won't work anymore.
... View more
01-17-2024
07:47 AM
|
0
|
0
|
3689
|
|
POST
|
Regarding not being able to create a database view with CAST in the WHERE clause, that is interesting because CAST works in the Select By Attributes tool, which of course is the WHERE clause: CAST(t_date AS CHAR(20)) IS NOT NULL
... View more
01-16-2024
01:29 PM
|
1
|
1
|
4648
|
|
POST
|
Rewriting the documentation and rewriting the SQL support are very different, and I suspect they only mean the former and not the latter. That said, the documentation can definitely be polished up.
... View more
01-16-2024
01:15 PM
|
1
|
0
|
4650
|
|
POST
|
I wouldn't say it is logically impossible but technically impossible because of Esri's SQL implementation. Concatenating text with a date is possible, in certain places, with file geodatabases, but the date must be CAST to text before concatenating: SQL reference for query expressions used in ArcGIS—ArcGIS Pro | Documentation CAST function The CAST() function converts a value or an expression from one data type to another specified data type. The syntax is as follows: CAST (expression AS data_type(length)) When casting a date to text in a file geodatabase, the outputted date format is: File geodatabases support the use of a time in the date field, so this can be added to the expression: Datefield = timestamp 'yyyy-mm-dd hh:mm:ss' So, 2/2/2021 3:00 PM casted to text is '2021-02-02 15:00:00'. Although dates can be cast to text and concatenated with additional text, e.g., a species name, it apparently isn't allowed within a subquery, so that takes it off the table in this case. The following SQL works as a file geodatabase view SELECT
MAX(t_species || CAST(t_date AS CHAR(20)))
FROM
species_records
GROUP BY
t_species but embedding that same SQL into a subquery (even a subquery in another file geodatabase view) generates an error. Note: The MAX function needs to be applied to the concatenated result and not just the date field.
... View more
01-16-2024
09:22 AM
|
1
|
4
|
4658
|
|
POST
|
It is supported in Postgres, it is called a row constructor on the left-hand side instead of row value, but the same syntax works for both: https://www.postgresql.org/docs/current/functions-subquery.html#FUNCTIONS-SUBQUERY-IN row_constructor IN (subquery) The left-hand side of this form of IN is a row constructor, as described in Section 4.2.13
... View more
01-15-2024
07:17 AM
|
1
|
6
|
4686
|
|
POST
|
For n=1, the results of your query and mine are the same. That said, there are differences. As I already mentioned, your query is only applicable for n=1 so it would not work in other n-cases. Your query relies on a correlated subquery whereas mine relies on a couple co-routine calls and a couple subquery scans. The correlated subquery is an expensive operation, but having more execution steps like in mine can add up as well. How the two approaches perform relative to data set size? I don't know. Since SQLite supports a row value on the left-hand side of the IN operator, an alternative to n=1 that doesn't require a correlated subquery is: (t_species, t_date) IN (
SELECT
t_species,
max(t_date)
FROM
species_records
GROUP BY
t_species
)
... View more
01-14-2024
07:50 AM
|
1
|
8
|
4819
|
|
POST
|
The screenshot with the desired outcome appears to be greatest-n-per-group with "n" being 1 where the greatest has ties. Are you interested in greatest-singular or greatest-n? If the former, it simplifies the situation a bit. UPDATE: The following is a generalized greatest-n-per-group that supports ties in SQLite. I can't speak to its performance, and it is a bit ugly with the nested subquery (nesting is forced with a window function), but it works and is a place to start: ObjectID IN (
SELECT
ObjectID
FROM
(
SELECT
ObjectID,
DENSE_RANK () OVER (
PARTITION BY t_species
ORDER BY t_date DESC
) AS date_rank
FROM
speciesrecords
)
WHERE
date_rank <= 1
) The date_rank controls the "n" being selected.
... View more
01-13-2024
01:07 PM
|
1
|
12
|
9565
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-11-2026 07:04 AM | |
| 1 | 07-17-2026 06:54 AM | |
| 2 | 07-06-2026 12:29 PM | |
| 1 | 07-06-2026 12:00 PM | |
| 2 | 06-05-2026 10:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|