[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Attribute help for new user
|
Thank you for your help. I made some progress, using your tip, but only ran into more trouble. I expected that the new shapefile made using the reshape operation would contain the features from the original, along with the new attribute that I entered during the reshape operation. The new shapefile was empty of features, but
did include the attribute I added.
I then tried to use the Axios fill operation. I downloaded and installed the Axios uDig extensions, but the fill operation doesn't show up in the operations list of the spatial operations view. So far, I have tried to update the extensions (even though they were newly downloaded).
Any ideas?
Thanks again, Gerry
On Sat, Jun 20, 2009 at 4:23 AM, Silvia Franceschi
<silvia.franceschi@xxxxxxxxx> wrote:
Hi Gerald,
honestly I don't think that there is something to connect attribute of two shapefiles, but the second option of adding a new attribute in your shapefile is fine.
I tried to do this by adding an attribute "LEASED". I then planned to manually enter the data for some of the parcels as an integer, and use a theme to display the data as colored parcels on the map. However, I can't add an attribute.
I tried reshaping the shapefile to add a column by adding a line at the bottom of the list of attributes, but I got the following error message "Attribute 'xxx' is assigned to a non-existant attribute: 'xxx'" I can't find how to create that attribute.
Reshape is the right command, I think you did an error. Reshape allows you to create a new shapefile from an existing one and so you can define new attributes starting from old ones or starting from zero. If you want to create a new attribute field that doesn't exist in the old shapefile and that has nothing to do with the old attributes, you have just to add a line at the end of the attributes list, as you did, but you have to write:
NewAttriuteName=0
If you want to create a new attribute field with integer values all setted to zero, or put 1, 2 or whatever you prefer.
If you want to have a new attribute field with double values, use 0.0 and so on... if you need to put a text try with ' '.
But you can not write
NewAttributeName=NewAttributeName
because you don't have this one in your old shapefile.
You can find some other informations about reshape command in uDig's help.
Hope this helps,
Silvia
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users