|
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
|
3250
|
|
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
|
3797
|
|
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
|
1107
|
|
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
|
1037
|
|
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
|
1251
|
|
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
|
851
|
|
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
|
2906
|
|
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
|
2198
|
|
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
|
2220
|
|
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
|
1166
|
|
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
|
1195
|
|
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
|
2137
|
|
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
|
2174
|
|
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
|
2399
|
|
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
|
2180
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | Wednesday | |
| 3 | Wednesday | |
| 1 | Friday | |
| 2 | Friday | |
| 4 | Friday |