|
IDEA
|
Regarding Make Query Table event layers: If the first table in the list of tables/joins is 1:1 (i.e. only one row per record), then the columns from that table should be editable. For example, that's how it works with Oracle views (outside of ArcGIS): views are editable via SQL if the data is 1:1. Reason: We have use cases where we want to query data for the purpose of filtering certain records as well as utilizing supporting information from other tables. And we want to edit the data while doing it. Yes, that can be achieved with in-map joins for simple cases -- such as only joining on a single field. But for more complex cases like joining on multiple fields, a Make Query Table is the only option. So it would help if we could edit in the resulting Make Query Table event layer. Note: Other event layer types such as route event layers (linear referencing) are editable. Why not allow editing in Make Query Table event layers too?
... View more
10-27-2022
11:39 AM
|
0
|
0
|
678
|
|
IDEA
|
I 100% support this idea. There are lots of Oracle functions that would be extremely handy, such as Oracle Spatial functions, LRS functions, etc. Are there any db-level workarounds? Have you played around with using a database trigger instead of an attribute rule? Such as a db trigger that uses a db function with the permit number to retrieve information about the permit from the other database via the database link? And then populate that information on the GIS record in other columns using the trigger. Or is there a reason you need to use attribute rules? Or, what if you created a view on your subdivision table in your GIS db. The view would have a calculated column that utilizes the database link in the external db to get the permit info. Then, in your attribute rule, you could get the permit info from the related subdivision view, just like you would if you were getting info from a related table/FC. That might work? I believe it is possible to get info from related views using Arcade. Unrelated, but still interesting: Idea: Attribute rule arcade expression calling webservice and processing result.
... View more
10-27-2022
07:10 AM
|
0
|
0
|
2084
|
|
POST
|
What kind of database is it? If it's Oracle, then you could use the SQL from this post for coded value domains: Select domain codes/descriptions. --create or replace view d_all_coded_value_domains_vw as
select
cast(rownum as number(38,0)) as rownum_,
x.code,
x.description,
i.name as domain_name
from
sde.gdb_items_vw i
cross apply xmltable(
'/GPCodedValueDomain2/CodedValues/CodedValue'
passing xmltype(i.definition)
columns
code varchar2(255) path './Code',
description varchar2(255) path './Name'
) x
where
i.name is not null --https://gis.stackexchange.com/questions/434701/find-problem-domains-in-gdb-items-vw And this post for subtypes: https://gis.stackexchange.com/a/434583/62572 --create or replace view sub_lc_events_asset_class_activity_vw as (
select
x.subtype_code,
x.subtype_description,
x.subtype_field,
x.subtype_field_domain,
i.name as table_name
from
sde.gdb_items_vw i
cross apply xmltable(
'/DETableInfo/Subtypes/Subtype/FieldInfos/SubtypeFieldInfo[FieldName="ACTIVITY"]'
passing xmltype(i.definition)
columns
subtype_code number(38,0) path './../../SubtypeCode',
subtype_description varchar2(255) path './../../SubtypeName',
subtype_field varchar2(255) path './FieldName',
subtype_field_domain varchar2(255) path './DomainName'
) x
where
i.name is not null
and i.name = 'INFRASTR.LC_EVENTS' Or use the sample Oracle or SQL Server queries here: Example: Resolving domain codes to description values using SQL
... View more
10-26-2022
08:47 AM
|
0
|
0
|
2137
|
|
POST
|
This post might interest linear referencing folks — as a way to find possible duplicate LRS events: Select duplicates (including near-duplicate numbers) Summary: I want to select rows where the ROAD_ID, YEAR_, STATUS, FROM_MEASURES, and TO_MEASURES are duplicated. In the case of FROM_MEASURES and TO_MEASURES, I want to use a 5 metre tolerance. For example, these TO_MEASURES would be considered duplicates: 200.6, 199.3, and 201. PROJ_ID ROAD_ID YEAR_ STATUS FROM_MEASURE TO_MEASURE
---------- ---------- ---------- -------- ------------ ----------
100 1 2022 APPROVED null 100.1 --duplicates (other than PROJ_ID); null is to be treated as zero
101 1 2022 APPROVED 0 100.1
102 1 2022 APPROVED 0 200.6 --duplicates: TO_MEASURES are approximately the same (within a 5 metre tolerance)
103 1 2022 APPROVED 0 199.3
104 1 2022 APPROVED 0 201
105 2 2023 PROPOSED 0 50 --not duplicates: FROM_MEASURES are different and TO_MEASURES are different
106 2 2023 PROPOSED 75 100
107 3 2024 DEFERRED 0 100 --not duplicates: YEARS are different and TO_MEASURES are different
108 3 2025 DEFERRED 0 110
109 4 2026 PROPOSED 0 null --not duplicates: STATUSES are different
110 4 2026 DEFERRED 0 null Solution: select * from road_projects rp
where exists (
select null
from road_projects rp2
where rp2.proj_id != rp.proj_id
and rp2.road_id = rp.road_id
and rp2.year_ = rp.year_
and rp2.status = rp.status
and abs(coalesce(rp2.from_measure, 0) - coalesce(rp.from_measure, 0)) < 5
and abs(coalesce(rp2.to_measure, 0) - coalesce(rp.to_measure, 0)) < 5
)
order by proj_id 52D7861C-F33E-4217-B91A-D3703D4FB8D1.jpeg fiddle
... View more
10-18-2022
04:33 PM
|
1
|
0
|
1278
|
|
IDEA
|
In Catalog: It would be helpful if we could filter/show/hide enterprise geodatabase connection items (FCs, tables, views, relationship classes) by owner. For example, if there are items from several owners (ROADS, WATER_RES, WATER), let me only see items from WATER. My connection is OS Authentication (items from lots of owners), not a DB/owner-based connection (only one owner). Oracle 10.7.1 EGDB
... View more
10-12-2022
09:38 AM
|
1
|
12
|
5913
|
|
POST
|
@TanuHoque https://community.oracle.com/tech/apps-infra/discussion/comment/16848629/#Comment_16848629 "Good news! Spatial geometry ADTs are supported with the result cache mechanism, but you need to use the special optimizer hint: /*+ result_cache(force_spatial) */ For example: SQL> SELECT /*+ result_cache(force_spatial) parallel(2) */ c.market.shape 2 FROM cola_markets_2 c 3 WHERE c.market.name = 'cola_a' 4 ORDER by c.mkt_id;"
... View more
10-03-2022
09:59 PM
|
0
|
0
|
6922
|
|
IDEA
|
For what it's worth, copy/pasting works well in ArcMap. I use that functionality often; it's very efficient. 1. Click the rectangle in the top-left corner of the Coded Values section: Bud_2-1661961625772.png 2. CTRL+C 3. Paste in Excel: Bud_3-1661961739409.png I don't know why that functionality doesn't work in my version of Pro: 2.6.8. It looks like it ought to work: Bud_0-1661962073658.png But when I try to paste the data in Excel, nothing happens; no data is pasted. Bud_1-1661962152592.png
... View more
08-31-2022
09:02 AM
|
0
|
0
|
8627
|
|
POST
|
We register as versioned because: We want undo functionality in an edit session. That's only possible with versioning -- undo functionality comes with all types of versioning. We don't actually use named versions. We always edit the default version. In other words, we don't actually care about versioning functionality (i.e. long edit transactions) -- other than the undo functionality. We register with the option to move edits to base because: We access our data via SQL. The easiest and most performant way to access up-to-date versioned data with SQL is to use the "move edits to base" option. The edits get automatically posted to the default version. So the default version always has up-to-date info.
... View more
08-29-2022
09:26 PM
|
2
|
0
|
11016
|
|
IDEA
|
@KoryKramer Thanks. I think it's worth keeping this idea separate. There are other cases where specifying the SQL would be useful. For example, using an SQL expression or function in the join clause.
... View more
08-25-2022
06:22 AM
|
0
|
0
|
2661
|
|
IDEA
|
It would be nice if this functionality would work for enterprise geodatabases too. For example, in Oracle EGDBs, objects are prefixed with the owner/schema/user. CORPORATE.PARCELS OPERERATIONS.CREEKS OPERERATIONS.ROADS OPERERATIONS.SIDEWALKS TRANSPORTATION.TRAFFIC_LIGHTS If I were to type "O", then the selection would move to the first object in the OPERATIONS owner/schema/user. That works, but it would be great if there were a way to navigate to an object within a given prefix. So, within the OPERATIONS prefix, search for an object with a specific name by searching for "OPERATIONS.R" for ROADS.
... View more
08-24-2022
09:33 PM
|
0
|
0
|
3240
|
|
IDEA
|
It would be helpful if we could view related records right in the attribute table underneath a parent record: Bud_1-1661377343876.png I'm aware that there are similar mechanisms in the attribute window/identify window. And I'm aware that it's possible to show related records via a separate/stacked section in the attribute table. Those mechanisms work, but they have limitations. It would be better if we could explore parent/child records all within a single expanded tree right in the attribute table. Related: Subdatasheets in MS Access
... View more
08-24-2022
02:47 PM
|
6
|
0
|
789
|
|
IDEA
|
When creating a dynamic/in-map join, it would be helpful if we could specify the join clause using SQL. For example, join on multiple fields: Instead of joining only on EVENT_ID=EVENT_ID, join on multiple fields: EVENT_ID=EVENT_ID AND YEAR=YEAR. Bud_1-1661376632521.png Bud_0-1661376474497.png
... View more
08-24-2022
02:31 PM
|
8
|
5
|
2727
|
|
IDEA
|
It would be helpful if there were OOTB functionality in Pro that would track all edits in a separate table (including tracking deleted rows). For example, a rough idea might be: Bud_0-1660138227726.png (would need further consideration / open to ideas) Not the same thing as editor tracking fields (only tracks creation date/editor and last editor/date; doesn't track deletes). We don't want to use archiving. We don't want to store all edits in the master table. That makes things messy when it comes to SQL queries...we don't want to deal with the clutter of having old edit info in the master table. We're aware that this kind of thing can be done using attribute rules or with custom database functionality. But we don't want to write custom code for this. It would be better if we could use OOTB functionality. This seems like a common requirement. Lots of people seem to write attribute rules for this kind of thing...to track transactions in a separate table. Ideally, we wouldn't all be writing the same custom functionality. Could it be offered OOTB instead?
... View more
08-08-2022
09:30 AM
|
0
|
0
|
754
|
|
POST
|
Related: Use Power Automate to send scheduled emailed GIS notifications? Send me an email telling me if my geoprocessing task failed or was successful
... View more
08-02-2022
06:24 AM
|
0
|
0
|
1523
|
| 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 |