|
POST
|
Related post: Idea: Support invisible SDO_GEOMETRY columns (That title is misleading — the page does have a related discussion...about why I can't just switch to SDO_GEOMETRY.)
... View more
05-31-2022
08:07 AM
|
0
|
0
|
5152
|
|
POST
|
I also (sometimes) have the same issue when simply trying to add the view to the map. The map crashes. Sometimes, the view crashes ArcMap 10.7.1 and ArcGIS Pro 2.6.8 — when I add the view to the map. Other times, the exact same view works fine. It doesn’t crash. It seems to go in cycles for me. It works for a few hours or days, then it doesn’t. Then it works again. I tried creating a new FC — by copy/pasting it in Catalog. I thought maybe there was an issue with the FC. But that didn't work either. The map still crashes. create or replace view bc_atn_copy_vw as (
select /*+ INDEX (bc_atn_copy atn_bc_copy_idx) */ --https://support.esri.com/en/technical-article/000009658
cast(rownum as number(38,0)) as rownum_unique_id,
st_startpoint(shape) as shape
from
infrastr.bc_atn_copy
where
st_startpoint(shape) is not null --https://stackoverflow.com/a/59581129/5576771
)
... View more
05-27-2022
01:23 PM
|
0
|
0
|
2671
|
|
POST
|
So you don't see an "Expand full message" button like this? When I hit that button, it displays the proper formatting with line breaks. To be honest though, I see different behavior for different message threads. Not sure why. Maybe I'm missing something. Also, it's a long shot, but I wonder if the type of line break affects things at all? (ENTER vs. SHIFT+ENTER)
... View more
05-26-2022
01:46 PM
|
0
|
1
|
1065
|
|
POST
|
If I understand correctly, SDO_GEOMETRY has similar attributes. Additionally, SDO_GEOMETRY has methods (aka member functions): Get_Dims Get_GeoJson Get_GType Get_LRS_Dim Get_WKB Get_WKT ST_CoordDim ST_IsValid Techniques for selecting an object's attribute Replace value in SDO_ELEM_INFO_ARRAY varray Modify SDO_ELEM_INFO_ARRAY of existing geometry
... View more
05-25-2022
12:27 PM
|
0
|
0
|
2165
|
|
IDEA
|
@KoryKramer Yes. In Oracle, we can select the domain data from the XML system tables as follows: select
substr(extractvalue(codedvalues.column_value,'CodedValue/Code'),1,255) as code,
substr(extractvalue(codedvalues.column_value,'CodedValue/Name'),1,255) as description
from
sde.gdb_items_vw i
join
sde.gdb_itemtypes it
on i.type = it.uuid, table(xmlsequence(xmltype(definition).extract('/GPCodedValueDomain2/CodedValues/CodedValue'))) codedvalues
where
i.name = 'PIPE_MATERIALS' So we can already use the domain data in queries, reports, labels etc. But what we can't do is store additional information/columns in the domain.
... View more
05-25-2022
09:29 AM
|
0
|
0
|
3318
|
|
POST
|
I have a multi-part road polyline FC. For the longest part of a given polyline, I want to use the line/part's midpoint to get the WARD_ID of the closest polygon (single-part polygon FC). The WARD polygons aren't topologically clean. There are slight overlaps and gaps. So that's why I want to get the closest polygon -- within a 30m tolerance. Is there a way to do that operation with geoprocessing tools? License level = Advanced. Thanks.
... View more
05-24-2022
02:29 PM
|
0
|
9
|
3862
|
|
IDEA
|
Idea: Release ST_GEOMETRY functions code (on GitHub, or something like that) Reasons: Esri seems to have stopped improving ST_GEOMETRY functions. Meanwhile, we still have issues and improvements that need addressing. If Esri isn’t going to address those needs, then it would make sense to let us do it ourselves. Currently, the code is locked down in the EXTPROC.DLL in Oracle. So we can’t see how the functions work or extend them. Why not let us see and use the code? I don’t think Esri would lose any money by doing this. It’s not as if customers buy ArcGIS Enterprise so that they can get SDE.ST_GEOMETRY (there are much bigger reasons than that). That might have partially been the case years ago, but these days, organizations tend to go with native spatial datatypes, since the functionality is broader, the DB vendors continue to improve the products, and performance is usually better. So Esri wouldn’t lose anything by opening up ST_GEOMETRY. One of the unspoken advantages of the ArcGIS platform is that users are empowered to build and manage their own stuff in the database. For example, as a data creator in Oracle, I can create tables, sequences, triggers, and views (and depending on the organization, functions too). Why not take it a step further and empower us to solve more advanced spatial database problems — by providing access to the ST_GEOMETRY code? Worth considering?
... View more
05-24-2022
03:34 AM
|
2
|
2
|
1137
|
|
POST
|
Does anyone have any SQL optimization tips they can share? Either for spatial queries or non-spatial queries? I work with SDE.ST_GEOMETRY and SDO_GEOMETRY in Oracle 18c. But info about optimization in other DBs/datatypes is fine too. For example, I learned recently that the cost of ST_GEOMETRY functions doesn’t get included in the explain plan cost. I had a query that used a bunch of nested ST_GEOMETRY functions (in the SELECT clause) that was really slow, yet the explain plan cost was surprisingly low. It took me a while to realize that Oracle doesn’t usually include the cost of user-defined functions in the explain plan. Especially not for SDE.ST_GEOMETRY functions, since they’re stored in the EXTPROC.DLL file, not in the Oracle kernel. So Oracle has no way to know how expensive they are. https://stackoverflow.com/questions/66671812/are-functions-considered-in-execution-plan Any others come to mind? Cheers.
... View more
05-23-2022
10:27 PM
|
0
|
0
|
1056
|
|
IDEA
|
Idea: Rebrand and expand Notebook Server as ArcGIS Automation Server (or something similar/appropriate). Reason: I've never had any luck explaining notebooks to senior management or core IT people. They don't seem to get it — and don't understand why we need it. Meanwhile, automation is a main theme in IT strategic plans. So buying a product that has automation right in the name would be a much easier sell...and directly align with corporate initiatives. The product could also be expanded to include more no-code options. For example, without writing code, let users set up scheduled emailed reports to notify them if x records exist in a FC.
... View more
05-23-2022
02:18 PM
|
1
|
1
|
1275
|
|
POST
|
I'm troubleshooting the following issue with Esri Canada support (case #03065700): Get map to use ST_GEOMETRY function-based spatial index Question: Are there any geodatabase system tables that I could register the db view with? (or register the view's ST_GEOMETRY shape column) I tried registering the view with the geodatabase. But unsurprisingly, that didn't work. The view still doesn't utilize the function-based spatial index, and so the view is still extremely slow. Thanks.
... View more
05-23-2022
01:30 PM
|
0
|
0
|
860
|
|
POST
|
In a related thread about ArcGIS Enterprise and ArcGIS Pro, @MichaelVolz and @DanPatterson suggested the following: Besides submitting an idea, I would join the Early Adopter Program as you have more direct access to development than just submitting an idea. I was previously registered for the early adopter program for ArcGIS Field Maps. So I was able to log in without issue. But when I look at the "Available Esri Opportunities" page, I only see early adopter programs for these products: ArcGIS Survey123 ArcGIS AppStudio ArcGIS QuickCapture ArcGIS for AutoCAD ArcGIS Maps SDK for game engines ArcGIS Field Maps ArcGIS CityEngine I don't see any early adopter programs for ArcGIS Enterprise or ArcGIS Pro. Where can I find the early adopter programs for Enterprise and Pro? Thanks.
... View more
05-23-2022
12:59 PM
|
0
|
6
|
2973
|
|
IDEA
|
@JonEmch Thanks for your comments. Fair points. Maybe my organization should request a demo from Esri Canada about automation in ArcGIS. Will give it some thought. I know there are resources from Esri Inc on Notebook Server. But a more general "Automation in ArcGIS" session might be more appropriate...rather than pitching a specific product.
... View more
05-23-2022
11:46 AM
|
0
|
0
|
2234
|
|
IDEA
|
Thanks Sarah. I think that functionality uses Windows Tasks Scheduler on your local computer and only runs if your computer is turned on and logged in. I’m looking for scheduled automations that are server-based, and can send emails, etc. Similar to these examples: - Scheduled emailed reports - Scheduled jobs to pre-compute fields and tables For example, if there are any construction projects in a FC where the status is FUTURE and the date is <= sysdate, then the GIS server should send me an email to tell me about it (aka a report). Or, on a nightly schedule, re-populate a HAS_CURVES field in a polyline FC, since we can't get that information via Arcade attribute rules or SDE.ST_GEOMETRY. I don’t really understand why there isn’t functionality like that…baked right into ArcGIS Pro/Server…that power-users could manage on their own. There is clearly an application server being used by Enterprise / ArcGIS server. It seems to me that power users should be able to to utilize that server to set up scheduled automations (without using windows scheduled tasks on our local computer, or dealing with IT by begging them to manually set up a scheduled task on a server somewhere). As data owners, we can do all sorts of other things in Pro, like publish layers to AGOL/Portal, do lots of things in the enterprise database like create tables, views, triggers, sequences, etc. Why not give us scheduled automation functionality too? Right in the layer properties in Pro? (or something like that) I’ve been told that most enterprise systems have functionality that lets users set up their own scheduled server-based automations. But when I tell people (who work in other enterprise industries) that ArcGIS doesn’t have automation functionality built in, they’re usually quite surprised. A direct quote from a lead IBM developer: "…that lack of automation in ArcGIS sounds painful. And it's a good reminder of some of the things IBM does well, that others don’t." Automation is normally included as standard functionality in enterprise systems. But it seems like an afterthought in ArcGIS -- and isn't practical for non-IT users.
... View more
05-22-2022
02:49 PM
|
0
|
0
|
2256
|
|
IDEA
|
Like this: select sdo_lrs.geom_segment_end_pt( sdo_geometry('MULTILINESTRING((1 2,3 4),(5 6,7 8))') ) from dual Result: { "point" : { "optimized" : false, "directposition" : [7,8] } } https://livesql.oracle.com/apex/livesql/s/nim5rs77hz9dytq5qxbvox7xd
... View more
05-21-2022
12:59 AM
|
0
|
0
|
1185
|
|
IDEA
|
SDE.ST_GEOMETRY in Oracle: Currently, the ST_STARTPOINT function can only be used for single-part features (aka a linestring). If we try to use ST_STARTPOINT on multi-part features (multilinesting) then the function fails. We are forced to workaround that limitation by isolating a specific part/geometry from the multi-part feature, which only adds to the complexity and slowness of a query. sde.st_startpoint(sde.st_geometryn(shape, 1)) It would be better if ST_STARTPOINT would just get the first point of the first part — by default. The same applies to ST_ENDPOINT. It would be better if it would just get the last point of the last part — by default. The workaround is too complicated/slow: sde.st_endpoint(sde.st_geometryn(shape, sde.st_numgeometries(shape))) Could ST_STARTPOINT and ST_ENDPOINT be improved with better support for multi-part features? For what it's worth, if that enhancement were implemented, we would still have the option to get the startpoint or endpoint of a specific part, if we wanted to. So that functionality wouldn't be lost. sde.st_startpoint(sde.st_geometryn(shape, n)) Edit: The ST_PointN function has the same problem.
... View more
05-21-2022
12:10 AM
|
1
|
1
|
1214
|
| 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 |