Chapter 2 — Data Formats
3 min readJan 5, 2023
2.1 Vector Data File
a) GeoJSON
An example of a FeatureCollection that includes a point, line and polygon geometry
with some attributes stored as properties
:
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [102.0, 0.5]},
"properties": {"prop0": "value0"}
},
{ "type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[102.0, 0.0], [103.0, 1.0], [104.0, 0.0]…