POST
|
Layers are dynamic and point to datasets, they are not data sets themselves. I think your approach of trying to work entirely with layers is getting you into trouble -- it would make a lot more sense to create temporary feature classes and put them into the collector. I suggested a precondition because I misinterpreted your cut-off graphic.
... View more
05-18-2016
08:38 PM
|
0
|
0
|
157
|
POST
|
Not sure if this was already mentioned as a potential solution, but I'll throw it out. This will work if each feature that needs to be merged to another is be assigned the same value in an attribute field. The result of this tool will be a new (dissolved) layer as an output. For example, if I have several polygons that are coded "LDR" and several that are coded "MDR", they can be merged by running this tool, with the result being a "LDR" polygon and a "MDR" polygon. ArcGIS Help (10.2, 10.2.1, and 10.2.2) - Dissolve (Data Management) Chris Donohue, GISP
... View more
01-13-2017
11:09 AM
|
2
|
0
|
371
|
POST
|
Thank you Freddie, that Model and your explanation was a perfect base for my task!!
... View more
12-08-2015
02:30 AM
|
1
|
0
|
144
|
POST
|
I am not even sure updating the Shape field is supported in the Field Calculator. I tried a few quick things and none of them worked. In terms of ArcPy and cursors, the new ArcPy Data Access cursors do not support empty geometries. If you try to insert or update an empty geometry using those cursors, it will simply get converted to a NULL value in the Shape field of the table. Fortunately, the older/original cursors do support empty geometries. If you select the records in the layer you want to update, the following code in the interactive Python window will replace their existing geometries with empty geometries (assuming you are working with polygons). >>> cur = arcpy.UpdateCursor("layer") #replace "layer" with layer name to be updated. >>> for row in cur: ... row.setValue("SHAPE", arcpy.Polygon(arcpy.Array(None))) ... cur.updateRow(row) ... >>>
... View more
11-23-2015
08:55 AM
|
1
|
0
|
87
|
POST
|
Thank you Ted! This solved my Problem exactly! I did exactly the same steps as you suggested and got what I was looking for!
... View more
10-21-2015
02:02 AM
|
0
|
0
|
138
|
POST
|
Thank you a lot Curtis! The code worked when I tested it on a GDB with 2 feature classes with the same field names. However, I had to completed the process in FME as I have different field names in all FC and couldn't find it out how to do it with a script on time (Python is not really my strength..) ! Will definitively use it in the future though!
... View more
06-14-2015
11:58 PM
|
0
|
0
|
127
|
POST
|
Thank you a lot! This code worked PERFECTLY!!! I only added this line to it: env.qualifiedFieldNames = False
... View more
05-21-2015
07:56 PM
|
0
|
0
|
296
|
POST
|
Curtis and Sephe have given you the correct answers on how to write the label expressions. Another thing I have found when using non-English symbols is setting the reference scale can be really important too.
... View more
05-06-2015
09:27 PM
|
1
|
0
|
32
|
POST
|
The very worst is when, after several lengthy back-and-forths, a poster says your answer fixed their problem, and thanks you, but doesn't mark your answer correct. Then, when you gently nudge them to mark their question as answered, they mark it "assumed answered", and at the same time, ask you another question. Sorry for the Off-topic rant PV. This wasn't about you. I thought you handled things fine.
... View more
04-28-2015
07:32 AM
|
1
|
0
|
16
|
POST
|
In theory you might just try setting the joined data to show aliases and export your output with the same option. Third paragraph here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002p000000 I seem to remember this not working due to some bug....but maybe it got patched. I seem to remember something ... Maybe in that Advanced Settings GUI where there is a check box for this..... And they give it a fancy term that sadly I can't recall. Edit .....try searching "Qualified Field Names". Sure you could do this with python....but seems like needless pain to me.
... View more
04-23-2015
11:58 PM
|
1
|
0
|
51
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|