Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When I try to create a shapefile two of the boxes to fill in are "name of the attribute" and " shapefile name".

this may be very basic but I can't find and answer. I want to fill them in correctly. What are their purposes and what should one put in them? Why are their two names for the file? Thanks in advance.

share|improve this question

2 Answers 2

Every shapefile needs to have two things inside the file: the geography data (this is stored in binary form in the .shp file) and the at least one column/field that holds the name of each object. All the data in the fields are stored in the dbf file.

You can eventually have many fields/columns of many different types, but when creating a shapefile from scratch you need to provide the name of the required field.

share|improve this answer

Shapefile name is self explanatory I think.

Name of attribute is the name of at least one field to go in the shapefile's data table (dbf file). Like a database table, each shapefile must have one or more fields, therefore this is enforced on creation. Commonly, each shapefile will have fields such as an id (usually numeric), name and other attributes that will depend on the specific dataset. Each spatial object represented by the shapefile will have a corresponding row in the dbf file, representing the object attributes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.