Shapefiles: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
A shapefile is actually comprised of three or more files. The primary file is the *.shp and it contains the geometric information (coordinates and if necessary connectivity of the points, lines, polygons). The *.dbf file is a standard database file and stores the attributes of the feature objects. Finally, there will be a *.shx file which is an indexing file. There may be a few other files that accompany the shapefile and so always move them around together if copying or moving them to a new directory.
A shapefile is actually comprised of three or more files. The primary file is the *.shp and it contains the geometric information (coordinates and if necessary connectivity of the points, lines, polygons). The *.dbf file is a standard database file and stores the attributes of the feature objects. Finally, there will be a *.shx file which is an indexing file. There may be a few other files that accompany the shapefile and so always move them around together if copying or moving them to a new directory.


Only one theme, or type of feature, can exist in a shapefile. For example, it is not possible to store points and polygons in the shapefile, or streams and basin boundaries, so it may be required to import multiple files to make up the drainage coverage in WMS. The shapefile feature type will be displayed in the Project Explorer:
Only one theme, or type of feature, can exist in a shapefile. For example, it is not possible to store points and polygons in the shapefile, or streams and basin boundaries, so it may be required to import multiple files to make up the drainage coverage in WMS.  
{|
 
The shapefile feature type will be displayed in the Project Explorer as follows:
{|class="wikitable"
|-
|-
|Lines || [[File:GIS stream data shapefile icon.png]]
|[[File:GIS Stream Data Shapefile.svg|16 px]] || Lines
|-
|-
|Points || [[File:GIS scatter point shapefile icon.png]]
|[[File:GIS Scatter Point Shapefile.svg|16 px]] ||Points
|-
|-
|Polygons || [[File:GIS polygon data shapefile icon.png]]
|[[File:GIS Polygon Data Shapefile.svg|16 px]] || Polygons
|}
|}


WMS includes all of the tools necessary to import shapefiles and convert the geometric and attribute information into feature objects. This can be done by directly opening the shapefile and converting to feature objects in the active coverage or by loading the shapefile in the GIS module.
XMS includes all of the tools necessary to import shapefiles and convert the geometric and attribute information into feature objects. This can be done by directly opening the shapefile and converting to feature objects in the active coverage or by loading the shapefile in the GIS module.




Line 23: Line 25:
* [[WMS:Importing Shapefiles|WMS Importing Shapefiles]]
* [[WMS:Importing Shapefiles|WMS Importing Shapefiles]]


[[Category:General Information]]
[[Category:General Information|Shapefiles]]
[[Category:File Format|S]]
[[Category:File Format|S]]
[[Category:External Links]]
[[Category:External Links]]

Latest revision as of 14:07, 7 June 2017

One of the most common methods for creating feature objects is to import a shapefile. The concept of a shapefile was established by Environmental Systems Research Institute (ESRI) in their ArcView® program and it has become the defacto standard for sharing GIS vector data (points, lines, and polygons).

A shapefile is actually comprised of three or more files. The primary file is the *.shp and it contains the geometric information (coordinates and if necessary connectivity of the points, lines, polygons). The *.dbf file is a standard database file and stores the attributes of the feature objects. Finally, there will be a *.shx file which is an indexing file. There may be a few other files that accompany the shapefile and so always move them around together if copying or moving them to a new directory.

Only one theme, or type of feature, can exist in a shapefile. For example, it is not possible to store points and polygons in the shapefile, or streams and basin boundaries, so it may be required to import multiple files to make up the drainage coverage in WMS.

The shapefile feature type will be displayed in the Project Explorer as follows:

GIS Stream Data Shapefile.svg Lines
GIS Scatter Point Shapefile.svg Points
GIS Polygon Data Shapefile.svg Polygons

XMS includes all of the tools necessary to import shapefiles and convert the geometric and attribute information into feature objects. This can be done by directly opening the shapefile and converting to feature objects in the active coverage or by loading the shapefile in the GIS module.


See also