|
POST
|
I think the synopsis/subject line would be acceptable. And maybe some other non-sensitive information like the status and dates? I assume the full user story is confidential and can't be posted publicly. To be honest, I don't really know what info to ask for, since I've never seen a full ENH. They're a bit of a mystery to me. Sometimes I see ENH numbers in community posts, etc. But I don't have a way to look them up. Thanks.
... View more
03-02-2023
07:55 AM
|
1
|
0
|
7516
|
|
POST
|
Here's an example of a bug I reported 9 months ago, but it still isn't available on the Esri Technical Support website: https://support.esri.com/en/search-results#search?q=000150273&content-type=Bugs BUG-000150273 - ST_Geometry functions applied to the Shape field in Select By Attributes return the error message, "Error 000358: Invalid expression" if the feature class is registered as traditional versioned. Reported: June 24, 2022 I'm told the bug is still "In Review". Does it normally take that long for Esri to review bugs?
... View more
03-02-2023
07:12 AM
|
1
|
1
|
4528
|
|
POST
|
BUG-000150273 Status In Review Synopsis ST_Geometry functions applied to the Shape field in Select By Attributes return the error message, "Error 000358: Invalid expression" if the feature class is registered as traditional versioned. Environment Reproduced in: ArcGIS Pro 3.0 or ArcGIS Pro 2.9.3 or ArcMap 10.8.2 or ArcMap 10.7.1 Geodatabase version 10.9.2 or 10.7.1 Oracle 18c Steps to Reproduce Create a line feature class Add some features to feature class Use Select by Attributes to query fc Where: "sde.st_length(shape) > 400" (use whatever value makes sense for the length of the lines) The selection will work Register the feature class as versioned Repeat the Select by Attribute query from step 3 - you will receive an error "Error 000358: Invalid expression" Additional information Not reproducible in SQL Server (i.e. "SHAPE.STLength() > 400" Similar to BUG-000109287 Reproducible with other queries (i.e. query customer was using "abs(sde.st_maxm(shape) - sde.st_length(shape)) > 1" - find polylines where the maximum M-value doesn't equal the length) Error in ArcMap is: [ORA-00904: "SHAPE": invalid identifier] Workarounds Place the expression in subquery. For example: OBJECTID IN (SELECT OBJECTID FROM USER1.ACTIVE_TRANSPORTATION where sde.st_length(shape) > 400 ) [OR] Use calculate geometry or calculate field to populate new fields with the values. Then, apply any further ST_Geometry functions on the fields instead of using the shape field.
... View more
03-02-2023
06:53 AM
|
0
|
0
|
2161
|
|
POST
|
Is the following correct? All rings are closed, but not all closed are rings.
... View more
03-01-2023
08:01 AM
|
0
|
1
|
2138
|
|
POST
|
I think the answer is: I should be using isRing. The word "Ring" is self-explanatory. I was originally thrown off by the fact that some of my lines are multi-parts. So, an individual part could technically be a ring, even though the feature as a whole didn't appear to be a ring. So, both of my example features were being identified as closed and as rings (my query only looked at the first part of multi-part features; in my examples, the first part was a ring). I've accounted for the multi-part quirk, and other quirks, in the following query: objectid in (
select
objectid
from
roads
where
sde.st_numgeometries(shape) = 1 --Needs to be evaluated before isRing. Otherwise, isRing throws an error since it can't be used on multi-part features.
and sde.st_isRing(shape) = 1
and name not like ('% CT') --Some courts are literally just a loop with no straight portion. They are technically legitimate rings. So I'll omit them since I'm specifically looking for roundabouts, not courts.
--and ownership = 'ABC'
and sde.st_length(shape) <= 200 --If a road is longer than 200m, then it probably isn't a roundabout. --In the future, if needed, I could omit roads with this text in the name (similar to what I did with CT): PL, CIRCLE, DR, TRAIL, CRES, LOOP, SQUARE. --However, right now, that doesn’t seem to be necessary. Those road types get successfully excluded via the “must be shorter than 200m” criteria. )
... View more
03-01-2023
07:49 AM
|
0
|
0
|
2144
|
|
POST
|
It turns out the cul-de-sac in the second example is actually a multi-part feature: Bud_0-1677686951178.png
... View more
03-01-2023
07:10 AM
|
0
|
0
|
2190
|
|
POST
|
Oracle 18c; 10.7.1 Enterprise Geodatabase What's the difference between ST_IsClosed vs. ST_IsRing in SDE.ST_Geometry? For example, I want to query for lines that are near-circles like this: (in other words, I want to select roundabouts) Bud_0-1677681906203.png I don't want to select lines that close in on themselves midway like this: Bud_1-1677681940390.png I tested ST_IsClosed and ST_IsRing. Both of the lines in the screenshots above were identified as closed and as rings. So it's not clear to me what the difference between the two functions is. objectid in (
select
objectid
from
roads
where
sde.st_isClosed(sde.st_geometryn(shape,1)) = 1
) objectid in (
select
objectid
from
roads
where
sde.st_isRing(sde.st_geometryn(shape,1)) = 1
) Reason for wrapping the WHERE clause in a subquery: There is an Esri bug where ST_GEOMETRY functions can’t be used in a SQL Expression (definition query, attribute table, etc.) when the FC is versioned. Wrapping the WHERE clause in a subquery lets us work around that bug. Esri Case #03080875 - ST_GEOMETRY functions used in Select By Attributes tool on Shape field generate error "ORA-00904 Invalid Identifier "SHAPE" BUG-000150273 https://community.esri.com/t5/arcgis-pro-questions/find-multi-part-features-using-sql-st-geometry/m-p/1186467/highlight/true#M56563
... View more
03-01-2023
07:09 AM
|
0
|
4
|
2191
|
|
POST
|
Esri Canada Case 03268522 - Comments in SQL expressions - Single-line comment at and of statement causes error ENH-000156157 - ArcGIS Pro - Add a line break automatically to the end of any definition query SQL expression applied to a mobile geodatabase feature class to avoid the error "The SQL expression has invalid syntax." when a SQL single-line comment that is not terminated by a line break is inserted at the end of the expression. ENH-000156184 - ArcGIS Pro - Change the error message displayed when a SQL single-line comment that is not terminated with a line break and that doesn't include a space is inserted at the end of a definition query SQL expression applied to a mobile geodatabase feature class from "Fields do not match." to "The SQL expression has invalid syntax.". ENH-000156189 - ArcGIS Pro - Add documentation that outlines how to add single-line and multi-line comments to a definition query SQL expression applied to a mobile geodatabase feature class.
... View more
02-28-2023
10:33 AM
|
0
|
0
|
5419
|
|
BLOG
|
BUG-000156143 - An SQL query containing the EXISTS predicate validates successfully but returns incorrect results from a file geodatabase. ENH-000156158 - Raise exception when using unsupported SQL expressions in file geodatabases. Esri Canada Case 03264937 - Exception not raised when unsupported FGDB SQL used (correlated subquery)
... View more
02-27-2023
03:31 PM
|
0
|
0
|
2573
|
|
IDEA
|
BUG-000156143 - An SQL query containing the EXISTS predicate validates successfully but returns incorrect results from a file geodatabase. ENH-000156158 - Raise exception when using unsupported SQL expressions in file geodatabases. Esri Canada Case 03264937 - Exception not raised when unsupported FGDB SQL used (correlated subquery)
... View more
02-27-2023
03:31 PM
|
0
|
0
|
2353
|
|
IDEA
|
BUG-000156143 - An SQL query containing the EXISTS predicate validates successfully but returns incorrect results from a file geodatabase. ENH-000156158 - Raise exception when using unsupported SQL expressions in file geodatabases. Esri Canada Case 03264937 - Exception not raised when unsupported FGDB SQL used (correlated subquery)
... View more
02-27-2023
03:31 PM
|
0
|
0
|
2559
|
|
IDEA
|
BUG-000156143 - An SQL query containing the EXISTS predicate validates successfully but returns incorrect results from a file geodatabase. ENH-000156158 - Raise exception when using unsupported SQL expressions in file geodatabases. Esri Canada Case 03264937 - Exception not raised when unsupported FGDB SQL used (correlated subquery)
... View more
02-27-2023
03:27 PM
|
0
|
0
|
633
|
|
POST
|
Do you find you use the quote functionality much? I wonder if the UI/tree serves the same purpose when making replies.
... View more
02-27-2023
11:57 AM
|
0
|
2
|
1860
|
|
POST
|
What's the intended use case for the quote button in post replies? The toolbar when replying to a post (has blockquote and quote buttons): Bud_0-1677523677187.png The toolbar when creating a new post (only has the blockquote button, not the quote button): Bud_1-1677523744394.png Thanks.
... View more
02-27-2023
10:55 AM
|
0
|
4
|
1994
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-20-2026 02:12 PM | |
| 1 | 03-19-2026 11:42 AM | |
| 1 | 06-03-2026 04:02 AM | |
| 1 | 03-18-2026 07:08 PM | |
| 2 | 07-08-2026 01:29 PM |