Week 6 - GIS and Spatial Data Mining
Week 6 - GIS and Spatial Data Mining
Week 6 - GIS and Spatial Data Mining
Lines
● Line data is the second category of vector data in the world of
geospatial data.
● They are the logical next step after points.
● In mathematics, we generally consider straight lines that go from one
point to a second point. Lines have no width, but they do have a
length.
● In geodata, line datasets contain not just one line, but many lines.
● Line segments are straight, and therefore they only need a from
point and a to point.
● This means that a line needs two sets of coordinates (one of the first
point and one of the second point).
● Lines consist of multiple line segments, and they can therefore take
different forms, consisting of straight line segments and multiple
points.
Polygons
● Polygons are the next step in complexity after points and lines. They
are the third and last category of vector geodata.
● In mathematics, polygons are defined as two-dimensional shapes,
made up of lines that connect to make a closed shape. Examples are
triangles, rectangles, pentagons, etc.
● In geodata, the definition of the polygon is not much different. It is
simply a list of points that together make up a closed shape.
● Polygons are generally a much more realistic representation of the
real world.
● As you get to a very close-up map, you would need to represent the
landmark as a polygon (the contour) to be useful.
● Roads could be well represented by lines (remember that lines have
no width) but would have to be replaced by polygons once the map is
at a small enough scale to see houses, roads, etc.
● Polygons are the data type that has the most information as they are
able to store location (just like points and lines), length (just like
lines), and also area and perimeter.