POST
|
Just one last question, I cannot Calculate Field containing the silly ~ sign, such as in ALASKA~C. How can I improve my code to deal with these ~ signs?
... View more
01-29-2018
09:44 AM
|
0
|
2
|
589
|
POST
|
Found the solution! When there was a Null value in the joined table, the conditional statment could not "leave" a Null value in the shapefile. Instead, I inserted an else statment to return an empty value!
... View more
01-29-2018
09:09 AM
|
0
|
0
|
1711
|
POST
|
Dan, your advice helped with the syntax, with capital letters and indentation. Now ArcGIS Pro seems to recognize it and highlight python keywords in blue, and the box in ModelBuilder turns yellow for the process: But still when I run the tool, I get the error because the field in not nullable in the shapefile! It should not because the If statment from the Code Block is supposed to filter out Null values (None) This is just a nightmare!
... View more
01-29-2018
07:47 AM
|
0
|
5
|
1122
|
POST
|
Dan, it worked that was. Thanks But if you use the geoprocessing tool Delete Fields and perform the same field deletion, it does not work. The Field -> Design view still shows the field as if it was still here, just like if the geoprocessing operation was not committed or saved. This is illustrated below: And if I rerun my model, I get the error "OPERATOR already exists. Failed to execute". Deleting by hand in the Field -> Design, it works. But with the geoprocessing tool, it does not. No really good for chaining geprocessing on ModelBuilder.
... View more
01-29-2018
07:17 AM
|
0
|
1
|
395
|
POST
|
I tried and tried again and I cannot figure out the proper syntax: The Model joins a shapefile in which I would like to calculate the OPERATOR field (which cannot be Nullable) and a text tab delimited joined table. The Python function should be quite simple but it does not work! And the process in the Model do not even consider as correct and colored in green... Where is the error?
... View more
01-29-2018
05:29 AM
|
0
|
7
|
1122
|
POST
|
Hi, In ArcGIS Pro, every time I delete fields, either with the Geoprocessing tool Delete Field or in the Fields -> Design view, deleted fields do not disappear from the session! Messages indicate that fields were dropped but they still appear in the Field Design view... And if you try to re-create these Fields with Add Fields, the message tells the fields already exist! For the time being, the only workaround I found is to restart ArcGIS Pro to "refresh" the session. It looks like a bug! Anything wrong with my approach?
... View more
01-29-2018
05:21 AM
|
0
|
3
|
510
|
POST
|
Unless I write a Python expression in the Code Block with an if statment to test if there is a Null value: If Null value -> not calculate Else -> Calculate Tedious but it could work
... View more
01-26-2018
10:50 AM
|
0
|
9
|
1122
|
POST
|
Thanks Dan for your insight. You are correct, I cannot add a Nullable field in a shapefile. The Calculate Field in my Model gives an error when it tries to calculate a Null field. This is illustrated here from the attribute table: It is obvious. The column on the left cannot be Null and as a result, it cannot "calculate" the value coming from the right column. That's ok, but how is it possible to skip these Null values from Calculate Field? With ArcMap 10.5.1, I used to receive warnings for such cases but the processes could continue into my Model until it was finished...
... View more
01-26-2018
10:32 AM
|
0
|
10
|
1122
|
POST
|
Hi, Following my previous post, it looks like Nullable field are not possible on shapefile, which would explain the greyed out part in the Field Design pane and the IsNullable variable not applied in the ModelBuilder above... If that's the case, how a newly calculated field would work is Null value are not allowed? In the same model, I receive the following error and I cannot complete the ModelBuilder! How can I calculate this field?
... View more
01-26-2018
09:56 AM
|
0
|
1
|
1122
|
POST
|
Hi, Just a simple question. From the Catalog Pane, if I right-click a shapefile -> Design -> Fields, I can view the fields but cannot edit them, such as making a field Nullable for example. All the fields are greyed out! Morever, I made these fields with the ModelBuilder Add Field with a variable set to IsNullable (as the option is not included in the Add Field right-click settings in ModelBuilder) Finally, if I use Delete Fields (as below), these fields still show up in the Field design pane! As a result, the ModelBuilder crash because it considers these fields still existing... I am puzzled and I suspect ArcGIS Pro do not refresh features classes after geoprocessing... If I restart, these fields do not show up and I can run the Model... Any help appreciated
... View more
01-26-2018
08:05 AM
|
0
|
14
|
1860
|
POST
|
Hi, In regular ArcGIS Desktops application, such as ArcToolbox 10.5.1, it is easy to run a tool in batch in order to input multiple files. It is a simple right-click and select Batch. In ArcGIS Pro, I cannot find the equivalent! Is it possible to run geoprocessing tools in Batch mode in Pro? Thanks
... View more
01-23-2018
12:59 AM
|
0
|
3
|
1139
|
POST
|
Hi Thomas, In ArcGIS Pro 2.0, I managed to recreate several dynamic grids/graticule as shown below, for info. However, I have to admit that ArcGIS Pro became instable and crashed several times... I cannot figure out what was special in the script you mentioned. Although, I would be interested to know how to display extra labels within the map on the gridlines, as shown here:
... View more
12-22-2017
09:39 AM
|
0
|
1
|
1291
|
POST
|
Hi, In ArcGIS Desktop, I have always struggled to display line dashes correctly because lines tend to have to many vertices I suspect. I usually export the map to Illustrator in order to improve the dashes. However, in ArcGIS Pro, is there a setting, a symbol effect or anything to solve this problem, as illustrated below. Because at the moment, it doesn't look like dashed at all! Thanks
... View more
12-19-2017
09:39 AM
|
0
|
0
|
617
|
POST
|
Hi Craig, I recently discovered the graticule (screenshot below) in the Insert tab of the layout in ArcGIS Pro. It looks good and I liked the dynamic formatting of labels. I just cannot replicate the grid of ticks from ArcMap, as explained in this discussion: https://community.esri.com/thread/206037-arcgis-pro-20-how-to-display-a-graticule-as-a-grid-of-ticks If you have any advice on this, it would be really appreciated. Regards
... View more
12-19-2017
09:29 AM
|
0
|
0
|
1291
|
POST
|
Hi, In ArcGIS Pro, I managed to insert a graticule in a map frame of the layout. However, there is just one thing I cannot find: it is how to display lines of graticule as a grid of ticks. Just as in ArcMap, shown below. Is it possible in ArcGIS Pro?
... View more
12-01-2017
06:16 AM
|
0
|
3
|
3010
|
Title | Kudos | Posted |
---|---|---|
1 | 12-15-2022 03:32 AM | |
1 | 05-24-2018 02:11 AM | |
1 | 12-12-2023 08:54 AM | |
1 | 11-22-2023 08:59 AM | |
1 | 10-03-2023 06:03 AM |
Online Status |
Offline
|
Date Last Visited |
06-11-2024
02:03 PM
|