[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Attribute help for new user
|
It seems you deleted the geometry column in the reshape panel.
With reshape default settings the features should be the same as the original shape. Just check to have in your new shapefile from the reshape panel the following line (usually it is the first line):
the_geom=the_geom
you can have some other words to refer to the geom depending on the language you are using.
You could also derive some geometries from the original one, as explained in the udig's help.
I really don't know if there is a fill operation in Axios extensions, probably Mauricio can help you.
Silvia
On Mon, Jun 22, 2009 at 8:52 PM, Gerald Bell
<bellvision1@xxxxxxxxx> wrote:
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
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