|
IDEA
|
ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB: The Table to Geodatabase GP tool imports .CSV text fields as NCLOB (1073741822 characters). That's too many characters. It would help to have the option to import text fields as NVARCHAR2(255) instead. https://community.esri.com/t5/arcgis-pro-questions/get-maximum-text-value-length-of-multiple-text/m-p/1552934/highlight/true#M89546
... View more
10-28-2024
01:01 PM
|
0
|
1
|
573
|
|
IDEA
|
Merged from a separate idea: “Select By Location” Feature Layer — Spatial query that is fast, modifiable, and refreshable The idea was previously named: "Convert selected features from Select By Location into a fully-functional feature layer" We need spatial queries that are: Fast Easy to set up Dynamic Modifiable Refreshable One option would be Spatial SQL Definition Queries. But as mentioned in that idea, spatial database operations are notoriously slow and are difficult to set up correctly (as @JoshuaBixby mentions in a comment here). So I'm wondering if “Select By Location” functionality could be used as an alternative mechanism, since that tool is surprisingly fast, even for large datasets. Idea: Could functionality be added to ArcGIS Pro that lets us convert the selected features from Select By Location into a fully functional feature layer? Refresh the layer dynamically. When the map refreshes, the spatial operation automatically re-queries. Or, the user could choose to manually refresh the layer as needed. We would need the ability to modify the Select By Location parameters after the feature layer was created. For example, put modifiable Select By Location parameters right in the layer properties. Or a button that brings up the Select By Location window with the existing layer's settings preloaded, ready to be adjusted and rerun. ---------------------------------------------- I’m aware that it’s possible to create a layer from a selection using the Create Layer from Selected Features tool. But I don’t think those layers are dynamic/modifiable/refreshable, so they have limited use. It might be possible to create a model or Python script to produce FCs that are similar to what we want — output a FC using spatial operations and re-run the script on-demand to replace the data. But that would require time, effort, and skill to develop. And couldn’t be refreshed automatically. Further, even manual refreshing would be slow because ArcPy is slow to initialize compared to Select By Location. One of the benefits of this idea is that it would use ArcObjects, which means it would support all datatypes, such as file geodatabases. Whereas the Spatial SQL Definition Query idea would only work for datatypes that have spatial functions in the database, such as enterprise and mobile geodatabases, not file geodatabases. I suppose, behind the scenes, the layer would be a list of objectids, which is somewhat similar to "Create Layer from Selected Features". But the difference would be: the layer is modifiable and refreshable.
... View more
10-28-2024
12:36 PM
|
0
|
0
|
2715
|
|
POST
|
I think the problem is the underlying Oracle field type is NCLOB. That's unusual for Oracle enterprise geodatabase tables. The underlying text datatype is usually NVARCHAR2. With that said, I think I found a fix: In ArcGIS Pro > Fields View, change the field data type in the empty table from TEXT to SHORT INT. Save. Then change it back to TEXT. Save. The underlying datatype is now NVARCHAR2(255 CHAR).
... View more
10-28-2024
11:44 AM
|
0
|
0
|
1826
|
|
POST
|
Unfortunately, changing the field lengths in the empty table using the Fields View didn't work: "ERROR 001624: Failed to alter field length."
... View more
10-28-2024
11:32 AM
|
0
|
1
|
1827
|
|
POST
|
Get maximum text value length of multiple text fields Idea: Import Table — Set text field length to input field's max text value length
... View more
10-28-2024
11:24 AM
|
0
|
0
|
2425
|
|
POST
|
Get maximum text value length of multiple text fields Idea: Import Table — Set text field length to input field's max text value length
... View more
10-28-2024
11:24 AM
|
0
|
0
|
2835
|
|
IDEA
|
ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB When importing a .CSV into an enterprise geodatabase as a standalone table using the Table to Geodatabase geoprocessing tool: The text field lengths get set to 1073741822 characters by default, which is way too long. The max text value length in any of my text fields is 114 characters. Instead of defaulting to a huge text field length, use the max length of the actual values in the field. Related: Get maximum text value length of multiple text fields
... View more
10-28-2024
11:05 AM
|
0
|
1
|
914
|
|
POST
|
One option is to use SQL in a SQL client like SQL Developer: select
max(length(WONUM)),
max(length(RECTYPE)),
max(length(DESCRIPTION)),
max(length(STATUS)),
max(length(WO_CLASSIFICATION)),
max(length(OWNERGROUP)),
max(length(ASSET_DESCRIPTION)),
max(length(ASSET_CLASSIFICATION)),
max(length(LOCATION)),
max(length(LOCATION_DESCRIPTION)),
max(length(REPORTDATE)),
max(length(STATUSDATE)),
max(length(ACTSTART)),
max(length(ACTFINISH)),
max(length(DIVISION)),
max(length(ASSETNUM)),
max(length(RECUNIQUEID)),
max(length(SA_ADDRESSLINE2)),
max(length(SA_STADDRSTREET)),
max(length(SA_STADDRNUMBER)),
max(length(SA_DESCRIPTION)),
max(length(SA_STREETADDRESS)),
max(length(SA_FORMATTEDADDRESS)),
max(length(SA_CODE)),
max(length(XYSOURCE)),
max(length(SUBZONE))
from
infrastr.a_test_tbl It would be ideal if I could pivot using Oracle SQL and then ORDER BY to find the max. I'm aware of the PIVOT clause in Oracle SQL, but I'm not sure how to use it for this.
... View more
10-28-2024
10:58 AM
|
0
|
0
|
1838
|
|
POST
|
ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB: I've imported a .CSV to an enterprise geodatabase as a standalone table using the Table to Geodatabase geoprocessing tool. Unfortunately, the tool has made the text fields way too long: 1073741822 characters, regardless of the max value length in a given field. I've deleted all rows in the table to allow me to change the field lengths using the Fields View. (I'll re-load the data afterwards.) But the question is: What lengths to use? If I could determine what the max value length in all of the fields, then I'd set the max length to, say, 255 for all fields. But I don't know what the max text value length is. How can I determine the max text value length of multiple fields using ArcGIS Pro? Import Table — Set text field length to input field's max text value length
... View more
10-28-2024
10:52 AM
|
0
|
3
|
1842
|
|
IDEA
|
For my notes, Table to Table (ArcGIS Pro 2.9.5) has been replaced with the Export Table geoprocessing tool in newer versions of Pro. https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/table-to-table.htm
... View more
10-28-2024
10:20 AM
|
0
|
0
|
1551
|
|
POST
|
Importing CSV — Is there a GP tool that correctly interprets values when setting field data types?
... View more
10-28-2024
09:13 AM
|
0
|
0
|
4769
|
|
IDEA
|
ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB: When importing a .CSV into an enterprise geodatabase as a standalone table: There are dates stored as text like this in the CSV (8 fields): Nov 7, 2023, 9:55 AM Sep 23, 2022, 1:11 PM May 9, 2023, 6:56 AM As part of the import process (Table to Geodatabase), I want to translate the text to true date values so that they can be loaded into date fields in the EGDB table. I want to do this in a single tool. For example, in Table to Geodatabase, there would be a list of fields, and I'd load a field calculator script, arcade expression, or SQL field expression into each field that needs to be translated. Otherwise, it is unnecessarily cumbersome to load data into a table if the data needs to be translated first.
... View more
10-28-2024
07:53 AM
|
0
|
0
|
352
|
|
POST
|
What reputable Pavement Management Systems (PMS) are available? (Canada) Here's a list to start: Stantec RoadMatrix Streetlogix Trimble Pavement Express StreetScan StreetSaver dTIMS Any others? Thanks.
... View more
10-25-2024
07:20 AM
|
0
|
0
|
2566
|
|
IDEA
|
ArcGIS Pro 2.9.5; Oracle 18c 10.7.1 EGDB: When importing or loading a CSV into an enterprise geodatabase standalone table: There are dates stored as text like this in the CSV (8 date fields): [edited] Nov 7, 2023, 9:55 AM Sep 23, 2022, 1:11 PM May 9, 2023, 6:56 AM Right now, my current workflow to get the text into proper date fields is: Load the values into temporary text fields. Create blank date fields. Use a Python or Arcade field calculation to convert the text into dates; populate the date fields. Delete the temporary text fields. That's cumbersome. Parsing dates using code is difficult and risky for non-experts. Instead of needing to convert text to dates using code, I'm wondering if GP tools like Table to Geodatabase could do the conversion, possibly using AI/machine learning. Right in the Table to Geodatabase or Append GP tool as a single step, not in a separate GP tool after the fact. And without explicitly defining the date format with MMM DD, YYYY, T:TT TT. I'm inexperienced with AI/machine learning, but if systems like ChatGPT can convert a textual table to SQL INSERT statements, then I'm wondering if a similar AI mechanism in Pro could convert text to dates, too. Or maybe AI isn't needed, but it could be done automatically with functions or regular expressions within the GP tool instead.
... View more
10-25-2024
03:39 AM
|
3
|
3
|
1048
|
|
POST
|
It looks like Table to Geodatabase might be doing a better job at interpreting the values when setting field types. The numbers are interpreted as doubles; a double field is created, not an integer, which is correct. The numbers with decimal places are loaded into the new table without issue.
... View more
10-24-2024
06:35 PM
|
0
|
0
|
1408
|
| 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 | 4 weeks ago |