Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

What is shapefile ?

What is shapefile and about shapefile

ArcGIS About Shape file? By Ashok Peddi What is shape file? Ü A sshapefile ape e sto stores es no o topo topological og ca geo geometry et y aand d attribute information for the spatial features in a data set. The geometry for a feature/object is stored d as a shape h comprising a set off vector coordinates i.e. points/lines/polygons Ü It is i d l developed d and d regulated l t d by b ESRI (Environmental Systems Research Institute), as a (mostly) Open specification for data interoperability among ESRI and other software products. How can we make shape file? Üfour ggeneral methods to make a shape p file 1)By exporting: from any data source to a shape file using ARC/INFO®,, PC ARC/INFO/ or ArcView® GIS,or , BusinessMAP™ software 2)By Digitizing: can be created by digitizing the features using Arc Map 3)By writing a programme using Avenue or AML(ArcMacro language) 4)) Write to the shapefile p specifications p byy creatingg a p program. g Data Automation Kit (DAK™), and ArcCAD® software provide shape‐to‐coverage data translators, and ARC/INFO also provides a coverage‐to‐shape translator.(by X,Y coordinates ) What are the files contains a shape file? Mandatory Files ÜA main file: .shp shp ,the the main file is a direct access, variable‐length file in which each record p with a list of its vertices describes a shape ÜIndex file:. .shx, index file, each record contains the offset of the corresponding main file record from the beginning of the main file • dBASE table: .dbf, the dBASE table,contains feature attributes with one record p per feature. Attribute records in the dBase file must be in the same order as records in the main file. Optional Files Ü.prj — projection format; the coordinate system and projection information information, a plain text file describing the projection using text format Ü.sbn and .sbx — a spatial index of the features Ü.fbn and .fbx — a spatial index of the features f shape for h fil files that h are read‐only d l Ü.ain and .aih — an attribute index of the active fields in a table or a theme theme'ss attribute table Ü.shp.xml — geospatial metadata in XML format such as schemas format, schemas. Naming Conventions Ü All file names adhere to the 8.3 naming convention. Ü The main file, the index file, and the dBASE file have the same refix. The prefix must start with an alphanumeric character (a–Z, 0–9), followed by zero or up to seven characters (a–Z, 0–9, _, ‐). The suffix for the main file is .shp. The suffix for the index file is .shx. The suffix for the dBASE table is .dbf. All letters in a file name are in lower case on operating ti systems t with ith case sensitive iti file fil names. Examples Ü Main file: counties.shp p Ü Index file: counties.shx Ü dBASE table: counties.dbf Types of Shapfiles • Points: Ü A point consists of a pair of double‐precision coordinates in the order X,Y. • Lines: Ü More specifically a polyline, is an ordered set of points, or vertices, that consists of one or more parts. A part is a connected sequence of two or more points. Parts may or may not be connected to one another. Parts may or may not intersect one another. • Polygons: Ü A polygon consists of one or more rings. A ring is a connected sequence of four or more points, or vertices, that form a closed, closed non‐self‐intersecting non self intersecting loop. loop Example