|
POST
|
Thanks. I updated the question so that it's clearer. What I meant was, even if the two geometry columns were the same shape type (i.e., both could be polylines), and even if the lines in the two columns were exactly the same other than the spatial type, despite all that...I think the assumption is that ArcGIS will have problems if there are multiple geometry columns.
... View more
05-19-2022
03:08 PM
|
0
|
0
|
2176
|
|
POST
|
I'm looking for Esri documentation that explicitly states that ArcGIS only supports a single geometry column per table. Example: In an Oracle ST_GEOMETRY polyline FC, I could technically add an extra geometry column via SQL, such as a SDO_GEOMETRY polyline column (essentially a duplicate geometry column, but it would let me use Oracle Spatial's linear referencing functions). But if I did that, the assumption is: it would cause problems in ArcGIS. Where can I find info about that rule in the docs? I've looked, but haven't found anything yet.
... View more
05-19-2022
01:11 PM
|
0
|
3
|
2213
|
|
POST
|
I was able to use that query from a user/schema/owner other than SDE (a ROADS user): --Oracle 18c select * from sde.version; It produced the correct information.
... View more
05-17-2022
07:38 PM
|
2
|
1
|
2435
|
|
POST
|
1. Use dot notation: select sde.st_geometry('LINESTRING EMPTY', 26917).len as shape from dual If the shape column wasn't already wrapped in brackets via a function, then we would need to add the brackets: select (shape).len from my_fc 2. Or, use a table alias: select a.shape.len from my_fc a 3. Or, use the TREAT() function: select treat(shape as sde.st_geometry).len from my_fc Although that might be misguided/unnecessary, since wrapping the column in brackets achieves the same thing (brackets is my preferred technique).
... View more
05-16-2022
12:11 PM
|
1
|
0
|
2221
|
|
POST
|
I have an SDE.ST_GEOMETRY value (Oracle 18c): select sde.st_geometry('LINESTRING EMPTY', 26917) as shape from dual I want to select one of the ST_GEOMETRY object's attributes: Entity Numpts Minx, miny, maxx, maxy Area Len SRID Points How can I do that with Oracle SQL?
... View more
05-16-2022
12:09 PM
|
0
|
3
|
2228
|
|
IDEA
|
On a related note, I thought this was interesting (Oracle): If you create a function-based index, a virtual column is added implicitly. create table t1(n number);
create index i1 on t1(abs(n));
insert into t1 values (-123);
commit;
col column_name format a15
select column_name, hidden_column, virtual_column from user_tab_cols where table_name='T1';
COLUMN_NAME HID VIR
--------------- --- ---
N NO NO
SYS_NC00002$ YES YES
select n, SYS_NC00002$ from t1;
N SYS_NC00002$
--------------- ------------
-123 123 https://community.oracle.com/tech/developers/discussion/comment/16835670#Comment_16835670 I know from experience that function-based indexes don’t break ArcGIS: How To: Create Oracle Spatial function-based indexing I wonder if that means we could create a hidden virtual column (via an SQL client), and ArcGIS wouldn’t have a problem with it, because it’s hidden? I imagine the only way you could see the column in ArcGIS is via a query layer or a view. So that’s not totally ideal. And the automatic column name isn’t very user-friendly. Although I suppose we could give it an alias in the query. Ultimately, I’m not sure how useful that is. We can just do the calculation in a view or query layer. A hidden virtual column doesn’t have any advantage. But it’s interesting to think about. Hidden virtual column created by FBI: Is the column name stable?
... View more
05-16-2022
03:48 AM
|
0
|
0
|
1846
|
|
IDEA
|
It has been 4,395 days since this idea was created. Hopefully, the under-consideration status pans out. As Paul mentioned, it applies to ArcGIS Pro too. It should be moved to the Pro Ideas community, since ArcMap is no longer being improved.
... View more
05-15-2022
09:14 PM
|
0
|
0
|
3185
|
|
POST
|
I know this post is ancient, but I just thought I’d add: In modern versions of ArcMap and ArcGIS Pro, it’s possible to register views with the GDB and publish those views as map services. My experience with views that have a calculated shape column is: ST_GEOMETRY views are slow, but SDO_GEOMETRY views are fast. Also, XY Event layers are surprisingly fast too. Something that might be of interest to Oracle people: function-based spatial indexes. If you are a data creator/owner, then you would have the privilege to make regular Oracle indexes. And if you can make regular indexes, then that means you can make function-based indexes too (via a SQL client like SQL Developer, Toad, etc.).
... View more
05-15-2022
09:45 AM
|
0
|
0
|
1921
|
|
IDEA
|
Confirmation that they’re not supported: FAQ: Are Computed/Virtual columns supported in an Enterprise environment in ArcGIS https://support.esri.com/en/technical-article/000008488
... View more
05-15-2022
09:29 AM
|
0
|
0
|
1873
|
|
IDEA
|
Regarding Esri technical article #000011694: How To: Create Oracle Spatial function-based indexing That article has out-of-date & incomplete information: 1. The article suggests that we should use the index type: MDSYS.SPATIAL_INDEX. That's the old way of doing it. Oracle now recommends we use the new version of that index type: MDSYS.SPATIAL_INDEX_V2. 5.1.1 Using System-Managed Spatial Indexes Effective with Release 12.2, spatial indexes can be system-managed by specifying INDEXTYPE=MDSYS.SPATIAL_INDEX_V2 at index creation. You are strongly encouraged to use this index type for all new spatial indexes you create, regardless of whether the spatial table or the spatial index is partitioned, and you may also want to use it if you decide to re-create legacy spatial indexes. 2. Also, the Esri article says: When creating a query layer that references an Oracle view containing an Oracle Spatial attribute, the attribute must have a spatial index. Without the spatial index, spatial queries cannot be executed. That's no longer true. Spatial Index No Longer Required Creating and using a spatial index is no longer required for the use of any Oracle Spatial and Graph features. However, spatial indexes are highly recommended, and not using them can negatively affect performance in some cases. Ideally, we would use spatial indexes whenever we can. But that's not always possible — and for small datasets, it's not always necessary. Edit — 2022-06-16: In hindsight, I'm not sure if point #3 is correct. Needs verification? 3. There is information missing from the article about performance and USER_SDO_GEOM_METADATA. In addition to creating an entry in USER_SDO_GEOM_METADATA for the SDO_GEOMETRY column/function, we also need to create an entry for any spatial views that use the column, so that those spatial views will be performant in the map in ArcGIS: Answer from Albert Godfrind (Oracle Spatial Team): If you want to also see the content of the view on a map (using some GIS tool), you will probably also need to define metadata for the view. This is NOT needed for spatial queries, but is a common requirement for GIS tools. insert into user_sdo_geom_metadata (table_name, column_name, diminfo, srid) values ( 'MY_SPATIAL_VV', 'SHAPE', sdo_dim_array ( sdo_dim_element('long', -180.0, 180.0, 0.5), sdo_dim_element('lat', -90.0, 90.0, 0.5) ), 4326 ); commit; Could Esri please update this technical article so that it has up-to-date information? Thanks.
... View more
05-14-2022
06:55 PM
|
2
|
4
|
3178
|
|
IDEA
|
I have scenarios where I need a real-time copy of a FC in the same GDB. For example, I have an Oracle ST_GEOMETRY FC. I have a requirement where I need to store a real-time copy of that FC where the SHAPE is SDO_GEOMETRY, not ST_GEOMETRY. It would help if there were an OOTB mechanism that could sync the master ST_GEOMETRY FC to the copy SDO_GEOMETRY FC in real-time. I'm aware that there are ways to do that with custom code, such as calculation attribute rules. Attribute rules would work, but I'm reluctant to add custom code to dozens of FCs — since my system already has numerous complex attribute rules and other customizations. I would prefer to keep things simple and use OOTB/no-code functionality instead. I also want to avoid customizing the db. That would involve painstaking project requests with the DBA team — not a realistic option. There are other difficulties too, such as versioning and using SQL to convert between spatial datatypes. Could Esri consider giving us a no-code option for syncing a table in real-time within the same GDB? Thanks.
... View more
05-13-2022
02:33 PM
|
0
|
0
|
659
|
|
POST
|
Anyone know if it's possible to upload that endpoints symbology/layer to ArcGIS Online?
... View more
05-13-2022
12:15 PM
|
0
|
0
|
2622
|
|
IDEA
|
When creating an enterprise geodatabase index in ArcGIS Pro: If I enter an index that is longer than 16 characters, ArcGIS Pro automatically truncates the index (to 16 chars): The index name I wanted: a2345678901234567 The index name I got: a234567890123456 Most enterprise databases now support object names that are 128 characters long (example: Oracle was 30, now 128). The 16-character limit in ArcGIS Pro is too short. When we have hundreds of tables with multiple indexes, we need long index names so that we can clearly describe and differentiate between like-indexes. Could Esri please consider supporting longer index names when creating indexes via ArcGIS Pro?
... View more
05-13-2022
08:55 AM
|
4
|
5
|
1459
|
|
BLOG
|
Related: Nomenclature for file and layer naming in Multi-user data systems
... View more
05-13-2022
08:22 AM
|
1
|
0
|
9067
|
|
POST
|
Esri Canada support did some testing and found the issue was fixed in ArcGIS Pro version 2.8.0. Case #03048202 Related: ”Support for updating z-values (using the Move tool) was added in ArcGIS Pro 2.8. If you haven’t updated yet, the steps described below should work to populate x,y,z attribute values when creating features and populate x,y attribute values when moving features.” https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/get-to-the-point-automatically-maintain-xyz-attribute-values-with-arcgis-pro-and-attribute-rules/
... View more
05-12-2022
09:47 AM
|
0
|
0
|
1431
|
| 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 | a month ago |