POST
|
Dear Xander, am using ArcGIS Desktop 10.2.1. I attached my GDB plus the code I am using as wordDoc Thanks for your help!
... View more
01-30-2017
08:55 AM
|
0
|
1
|
1762
|
POST
|
Hey, You were right with the alias names (the fields were indeed renamed!). But still the same error message as before! Would it be helpful if I send you my gdb (including the dbf file)?
... View more
01-13-2017
11:20 AM
|
0
|
2
|
1762
|
POST
|
it looks like tgis for my case: ... # edit these field names !!! ... fld_oid_in = 'OID@' ... fld_X = 'INSIDE_X' ... fld_Y = 'INSIDE_y' ... fld_width = 'width' ... fld_height = 'length' ... fld_oid_out = 'ID' ..And does it make a difference whether the dbf is stored in a GDB or not?
... View more
01-13-2017
09:41 AM
|
0
|
4
|
1762
|
POST
|
Yes, I adapt it to the field names, whereby im not quite sure what 'fld_oid_out' was meant to be (? maybe just the ID for the output?)
... View more
01-13-2017
09:40 AM
|
0
|
5
|
1762
|
POST
|
That's amazing thanks!! But it still doesn't work for me, when I execute the script it says: Runtime error Traceback (most recent call last): File "<string>", line 69, in <module> File "<string>", line 39, in main RuntimeError: A column was specified that does not exist. But I can't find the mistake..
... View more
01-13-2017
09:27 AM
|
0
|
7
|
1762
|
POST
|
After the adaptions I made, it still says 'global name 'fc' not defined'..do you have an idea?! Im quite new to the programming stuff btw..
... View more
01-12-2017
10:27 AM
|
0
|
11
|
5296
|
POST
|
Thanks, it looks great I'll try the code as soon as possible.. I just didnt understand where the X,Y coordinates come from...I created center points from an underlying shapefile, can I e.g. take the coordiunates form these points and just add them to the dbf and go on with the script you just wrote? So..in your code are the X,Y coordinates meant to be the starting point for each rectangle, or sth like that? Best, Tim
... View more
01-12-2017
08:47 AM
|
0
|
12
|
5296
|
POST
|
Dear Xander, I wonder if it is possible to take width and length of the rectangle from a dbf table.. I have 24 rows with different length and width values, and hence I want to create 24 rectangles with different sizes according to width and length from the dbf table. Best, Tim
... View more
01-11-2017
09:01 AM
|
0
|
19
|
19501
|