Skip to content

Commit cdd326c

Browse files
committed
Closes #34
1 parent 99c43a3 commit cdd326c

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

workshop/jupyter/content/notebooks/03-spatial-reference-systems.ipynb

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
"\n",
1111
"A Spatial Reference System (SRS) is a mathematical construct that is essential to the discipline of Geography. It has two important roles:\n",
1212
" 1. identify unequivocally and with precision the location of a spatial object;\n",
13-
" 2. accuratelly portray spatial objects in maps.\n",
13+
" 2. accurately portray spatial objects in maps. \n",
1414
"\n",
1515
"In its most basic form a SRS is composed by two elements:\n",
1616
" 1. *Datum* - a sphere or ellipsoid that approximates the shape of the Earth, positioned relative to the later. \n",
1717
" 2. *Cartographic Projection* - a set of mathematical functions that translate locations in the surface of the *datum* into the Cartesian plane.\n",
1818
" \n",
19-
"The WGS84 is standard *datum* issued by the World Geodetic Survey that is in wide use today. Most GPS or GNSS recievers today report geographic coordinates (e.g. longitude and latitude) in reference to this *datum*. For global cartography the WGS84 is an obvious choice, but for local mapping a bespoke *datum* can be more suitable. Most national surveys have defined *data* that suit appropriatly their country or region.\n",
19+
"The WGS84 is standard *datum* issued by the World Geodetic Survey that is in wide use today. Most GPS or GNSS receivers today report geographic coordinates (e.g. longitude and latitude) in reference to this *datum*. For global cartography the WGS84 is an obvious choice, but for local mapping a bespoke *datum* can be more suitable. Most national surveys have defined *data* that suit appropriately their country or region.\n",
2020
"\n",
2121
"![Geodesic Datum](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Gloabl_and_Regional_Ellipsoids.svg/640px-Gloabl_and_Regional_Ellipsoids.svg.png)\n",
2222
"*Sketch of geodesic data positioned relative to the Earth's surface. Source: [Wikipaedia](https://en.wikipedia.org/wiki/Geodetic_datum).* \n",
2323
"\n",
24-
"The Marinus of Tyre and Mercator projections are the most popular today, however, none of them is suited for either local or global cartography (appart from navigation applications in the case of Mercator). It is always useful to spend some time identifying the most appropriate projection for the work at hand. Cartagraphic projections introduce errors as they flaten the curved surface of the Earth onto a plane. A balance must be struck between the accuracy of areas, shapes and angles. For global mapping, projections like [Mollweide's Homolographic](https://en.wikipedia.org/wiki/Mollweide_projection), [Eckert IV](https://en.wikipedia.org/wiki/Eckert_IV_projection) or [Goode's Homolosine](https://en.wikipedia.org/wiki/Goode_homolosine_projection) present interesting compromises. For local mapping, the [Stereographic](https://en.wikipedia.org/wiki/Stereographic_projection#Applications_to_other_disciplines), [Lambert's Azimutal Equal-Area](https://en.wikipedia.org/wiki/Lambert_azimuthal_equal-area_projection) and [Gauss-Krüger](https://en.wikipedia.org/wiki/Transverse_Mercator_projection#Ellipsoidal_transverse_Mercator) are popular choices, but many more exist.\n",
24+
"The Marinus of Tyre and Mercator projections are the most popular today, however, none of them is suited for either local or global cartography (apart from navigation applications in the case of Mercator). It is always useful to spend some time identifying the most appropriate projection for the work at hand. Cartagraphic projections introduce errors as they flatten the curved surface of the Earth onto a plane. A balance must be struck between the accuracy of areas, shapes and angles. For global mapping, projections like [Mollweide's Homolographic](https://en.wikipedia.org/wiki/Mollweide_projection), [Eckert IV](https://en.wikipedia.org/wiki/Eckert_IV_projection) or [Goode's Homolosine](https://en.wikipedia.org/wiki/Goode_homolosine_projection) present interesting compromises. For local mapping, the [Stereographic](https://en.wikipedia.org/wiki/Stereographic_projection#Applications_to_other_disciplines), [Lambert's Azimutal Equal-Area](https://en.wikipedia.org/wiki/Lambert_azimuthal_equal-area_projection) and [Gauss-Krüger](https://en.wikipedia.org/wiki/Transverse_Mercator_projection#Ellipsoidal_transverse_Mercator) are popular choices, but many more exist.\n",
2525
"\n",
2626
"![Map Projections](https://upload.wikimedia.org/wikipedia/commons/0/02/Kaardiprojektsiooni_klassid.gif)\n",
2727
"*Visual examples of the transformations applied to the *datum* by simple map projections. Source: [Wikipaedia](https://en.wikipedia.org/wiki/Map_projection).*\n",
@@ -54,7 +54,7 @@
5454
"cell_type": "markdown",
5555
"metadata": {},
5656
"source": [
57-
"A more formal way to initialise a `SpatialReference` object is using an [OGC Well Know Text](https://www.opengeospatial.org/standards/wkt-crs) definition. This is far more verbose, but also more accurate. The following example iniatilises a new object with the geographic system based on the WGS84:"
57+
"A more formal way to initialise a `SpatialReference` object is using an [OGC Well Know Text](https://www.opengeospatial.org/standards/wkt-crs) definition. This is far more verbose, but also more accurate. The following example initialises a new object with the geographic system based on the WGS84:"
5858
]
5959
},
6060
{
@@ -87,7 +87,7 @@
8787
"source": [
8888
"Note that no projection was defined, this system is supposed to refer strictly to longitude and latitude. However, most GIS programmes interpret this SRS as including the Marinus of Tyre projection (beware of distance or area computations).\n",
8989
"\n",
90-
"The [European Petroleum Survey Group (EPSG)](http://wiki.gis.com/wiki/index.php/European_Petroleum_Survey_Group) was a scientific body supporting the Petroluem & Gas industry in Europe. It developed an [extensive database](http://www.epsg.org/) of parametres and complete SRS definitions, that helped the industry standardise its cartographic processes. The EPSG assigned a unique numerical identifier to each entry in its database, which became rather handy to quickly refer to a specific, well defined, SRS. Most FOSS4G support the EPSG identifiers as quick reference (some even enforce it). PROJ and GDAL are no exceptions, and therefore `SpatialReference` objects can too be initialised with an EPSG identifier:"
90+
"The [European Petroleum Survey Group (EPSG)](http://wiki.gis.com/wiki/index.php/European_Petroleum_Survey_Group) was a scientific body supporting the Petroluem & Gas industry in Europe. It developed an [extensive database](http://www.epsg.org/) of parameters and complete SRS definitions, that helped the industry standardise its cartographic processes. The EPSG assigned a unique numerical identifier to each entry in its database, which became rather handy to quickly refer to a specific, well defined, SRS. Most FOSS4G support the EPSG identifiers as quick reference (some even enforce it). PROJ and GDAL are no exceptions, and therefore `SpatialReference` objects can too be initialised with an EPSG identifier:"
9191
]
9292
},
9393
{
@@ -104,7 +104,7 @@
104104
"cell_type": "markdown",
105105
"metadata": {},
106106
"source": [
107-
"There are other methods to initialise a `SpatialReference` object, but these are the most common. There are also conversive methods, that export the parameters of into different "
107+
"There are other methods to initialise a `SpatialReference` object, but these are the most common. There are also converse methods, that export a `SpatialReference` into different formats that are simple to read:"
108108
]
109109
},
110110
{
@@ -163,11 +163,11 @@
163163
"cell_type": "markdown",
164164
"metadata": {},
165165
"source": [
166-
"Question: the central point of the European system is in Potsdam, which lies at a latitude of 52º N. Why are none of the coordinates output above negative?\n",
166+
"Question: the central point of the European system is in Potsdam, which lies at a latitude of 52º N. Why are none of the coordinates outputed above negative?\n",
167167
"\n",
168168
"### Working with geometries\n",
169169
"\n",
170-
"In most cases work evolves around existing spatial objects. Conviniently, the `Geometry` class in the `osgeo.ogr` module provides a method named `Transform` that takes as argument a `CoordinateTransformation` object. The segment below exemplifies its use:"
170+
"In most cases work evolves around existing spatial objects. Conveniently, the `Geometry` class in the `osgeo.ogr` module provides a method named `Transform` that takes as argument a `CoordinateTransformation` object. The segment below exemplifies its use:"
171171
]
172172
},
173173
{
@@ -196,7 +196,7 @@
196196
"source": [
197197
"### Practical example\n",
198198
"\n",
199-
"In many cases it is necessary to work with spatial data created by someone else. It is then important to clearly identify the SRS of such data to make sure it matches the SRS used for analysis.\n",
199+
"In many cases it is necessary to work with spatial data created by someone else. It is then important to clearly identify the SRS of such data to make sure it matches the SRS used in the analysis.\n",
200200
"\n",
201201
"The example below opens a dataset with the borders of Romania and inspects its SRS. This type of data is detailed in the [Vector Data](04-vector-data.ipynb) section."
202202
]
@@ -248,7 +248,7 @@
248248
"cell_type": "markdown",
249249
"metadata": {},
250250
"source": [
251-
"What if a different SRS is required for analysis? The `transformEurope` object is used again for convinient. With the `TransformPoints` method it is possible to transform a list of coordinate pairs. This method returns a list a tuples, that is converted to a set of lists with the `zip` method."
251+
"What if a different SRS is required for analysis? The `transformEurope` object is used again for convenience. With the `TransformPoints` method it is possible to transform a list of coordinate pairs. This method returns a list a tuples, that is converted to a set of lists with the `zip` method."
252252
]
253253
},
254254
{
@@ -295,9 +295,9 @@
295295
"source": [
296296
"## Conclusions\n",
297297
"\n",
298-
"- Always check the coordinate system of each dataset before using it. Be it in complex analysis or simply to plot.\n",
298+
"- Always check the coordinate system of each dataset before using it. Be it in complex analysis or simple mapping.\n",
299299
"- Make sure all datasets needed are in the same SRS before combining them.\n",
300-
"- Take same time to identify the best SRS for the study at hand:\n",
300+
"- Take some time to identify the best SRS for the study at hand:\n",
301301
" - Local versus global datum;\n",
302302
" - Projection distortion properties."
303303
]
@@ -313,8 +313,8 @@
313313
],
314314
"metadata": {
315315
"@webio": {
316-
"lastCommId": "5B053E852E0B4052807FF482DA06AF7E",
317-
"lastKernelId": "b0ed316c-5262-41e8-a447-4b72a47bbb11"
316+
"lastCommId": "56A1F3045305474389B1A94FB15B0B0C",
317+
"lastKernelId": "db35c6e7-b175-4f32-a31a-ae650cd42bfe"
318318
},
319319
"kernelspec": {
320320
"display_name": "Python 3",

0 commit comments

Comments
 (0)