|
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
|
2187
|
|
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
|
1805
|
|
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
|
3114
|
|
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
|
1887
|
|
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
|
1832
|
|
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
|
3114
|
|
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
|
645
|
|
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
|
2567
|
|
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
|
1403
|
|
BLOG
|
Related: Nomenclature for file and layer naming in Multi-user data systems
... View more
05-13-2022
08:22 AM
|
1
|
0
|
8914
|
|
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
|
1397
|
|
POST
|
FAQ: What are the recommended naming conventions for geodatabase objects? How To Name Things In ArcGIS Source: Idea - Geodatabase object naming convention recommendations
... View more
05-11-2022
08:26 AM
|
1
|
0
|
6942
|
|
IDEA
|
Could Esri provide recommendations in the documentation regarding GDB object naming conventions? Examples: Prefix so that like-objects will be sorted together in Catalog: ROAD ROAD_EVENTS ROAD_INSPECTIONS Plural vs singular: “ROAD” vs. “ROADS”. Text case: all caps, title case, etc. Underscores or no underscores. Suffix database views with “_VW”. Suffix tables/FCs that are generated/loaded by a scheduled job as “_SKD”, or something like that. Use feature datasets where applicable. Indexes: use a “_IDX” suffix or "IDX_" prefix. Other? Related: Nomenclature for file and layer naming in Multi-user data systems
... View more
05-11-2022
06:24 AM
|
3
|
1
|
3532
|
|
POST
|
Not sure if you’re looking for SDE object naming conventions or not, but a few come to mind: Use common prefixes so that like-objects will be sorted together in Catalog: ROAD ROAD_EVENTS ROAD_INSPECTIONS Plural vs singular: “ROAD” vs. “ROADS”. Define a case standard: all caps, title case, etc. Define a standard for underscores or no underscores. Suffix database views with “_VW" or "_V” — so that you can tell what objects are tables vs. views in Catalog. Suffix tables/FCs that are generated/loaded by a scheduled job as “_SKD”, or something like that. Use feature datasets to group like-layers, where possible. Unfortunately, we can’t put non-spatial tables in feature datasets. Other standards as needed. Edit: Avoid creating lots of unnecessary owners/schemas/users in enterprise GDBs. When there are lots of owners, it's hard to remember where a FC lives. "What owner was it in again?"
... View more
05-11-2022
06:12 AM
|
4
|
0
|
6958
|
|
POST
|
Oracle 18c; 10.7.1 EGDB; SDE.ST_GEOMETRY. I have a polyline FC. I want to create a dynamic layer that will display the startpoints and endpoints of the lines as points. I'm looking for an option that is dynamic, such as: Create something like an XY event layer, except it shows the startpoint and endpoint of lines. Or, an option in the FC symbology to display the start/endpoints as points. Similar to we could do with endpoint arrows in ArcMap. Or, custom Arcade-based symbology. Write an Arcade expression to isolate the start/endpoints of the lines. Display as points. Other? I don't want to: Create a static point FC (via a GP tool, python script, etc). Nor do I want to update such a FC via attribute rules or a db trigger. Create static XY fields in the FC. For example, populate XY fields with an attribute rule or a database trigger. That would require creating 4 permanent fields (start_x, start_y, end_x, end_y). The extra fields would add clutter to the FC and be too much work to implement in other FCs. Update a static point FC on a schedule. I want the data to be dynamic. For example, if I create a new line, I want to see the start/endpoints immediately...as soon as I save the edit. I don't want to wait for a scheduled job to run. Use ST_GEOMETRY functions to get the start/endpoints. That has proven to be far too slow. And the ST_POINT subtype geometry that gets returned by ST_GEOMETRY functions is problematic in ArcGIS Pro/ArcMap. Convert the FC from ST_GEOMETRY to SDO_GEOMETRY in order to get the endpoints in an SQL query. That's not possible due to countless dependencies on the ST_GEOMETRY shape field in the FC. Create a geometric network to show the start/endpoints. I don't a need geometric network. As mentioned, the solution needs to be: Dynamic. Fast (just as fast as XY event layers, which are surprisingly fast) Easy to set up Symbol should be points, not arrows It would be ideal if we could visually differentiate between startpoints vs endpoints (i.e. different colors). But that's not a must-have; it would be acceptable if the start and endpoints for a given line were merged into a multi-part feature. I don't need to be able to select an individual point with the select tool. I just need to see the points in the map. Use case: ArcGIS Pro editing, Portal/Field Maps, etc. Is there a way to create a dynamic endpoints layer in ArcGIS Pro?
... View more
05-10-2022
08:09 PM
|
0
|
2
|
2683
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | yesterday | |
| 3 | yesterday | |
| 1 | Friday | |
| 2 | Friday | |
| 4 | Friday |