11
Introduction to Shapefile Prof. Dr. Sajid Rashid Ahmad [email protected] Atiqa Ijaz Khan _ Demonstrator [email protected]

Lec_1_Shapefile

Embed Size (px)

DESCRIPTION

Introduction to shapefile

Citation preview

Page 1: Lec_1_Shapefile

Introduction to ShapefileProf. Dr. Sajid Rashid Ahmad

[email protected]

Atiqa Ijaz Khan _ Demonstrator

[email protected]

Page 2: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

2Shapefile

• “Shapefile is a simple, non-topological (No Neighborhood) format for storing the geometric locations/spatial features (associated with lat/long.) and attribute information of geographic features (features on Earth surface).”

• It can support: Point, Line, and Polygon.

• Geometry is stored as ‘Shape’ format.

• Attributes are stored in dBASE format file.

• They stored projection or coordinate system as ‘.prj’ format file.

Page 3: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

3

Page 4: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

4

POINT

POLYGON

LINE

Page 5: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

5

Page 6: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

6

Highlighted Features

Attribute Table

Page 7: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

7WHY shapefile?

• As it does not hold topology so it draws faster.

• It can be easily copied.

• Dose not required importing and exporting.

• Hold one-to-one relationship with spatial features.

• Supported by number of software.

Page 8: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

8Shapefile Extensions

• It consists of 3 core extensions:• Maine File (.shp)• Index File (.shx)• dBASE File (.dbf)

• And, 3 other extensions named as:• Projection File (.prj)• Spatial Index (.sbn)• Spatial Index (.sbx)

Page 9: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

9

Page 10: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

10Shapefile Requirements

• In order to create shapefile, following are the required parameters:• Type of Feature (point, line or polygon)• Coordinate system• 3-D values (Z-values)• Route values (M-values)

• These values are define at first, and will not alter after that.!

Page 11: Lec_1_Shapefile

Wednesday, April 12, 20233rd Prof. BS. Applied Geology, Inst. of Geology, University of the Punjab

11