Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/interactions/chapter-9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
:license: Creative Commons Attribution-Share Alike 3.0 https://creativecommons.org/licenses/by-sa/3.0

###############################################################################
Using Qgis
Using QGIS
###############################################################################

.. image:: ../basic/images/pedestrian/pedestrian_one_to_one.png
:width: 250pt
:align: center

Other kind of functions are in `pl/pgsql`.
As applications requirements become more complex, using previously defined functions
Other kinds of functions are in `pl/pgsql`.
As application requirements become more complex, using previously defined functions
becomes necessary.

.. contents:: Chapter Contents
Expand Down Expand Up @@ -39,13 +39,13 @@ locate the nearest vertex to a lat/lon location.
.. image:: images/chap_QGIS/qgis2.png
:height: 50pt

#. Close the broswer pannel
#. Close the browser panel

.. image:: images/chap_QGIS/qgis3.png
:height: 50pt
:width: 300pt

#. Connect to a posgGIS enabeled potsgreSQL database clicking on :menuselection:`Add postGIS layer`
#. Connect to a PostGIS enabled PostgreSQL database by clicking on :menuselection:`Add PostGIS layer`

.. image:: images/chap_QGIS/qgis4.png
:height: 50pt
Expand All @@ -68,12 +68,12 @@ locate the nearest vertex to a lat/lon location.
:User name: ``user``
:Password: ``user``

#. Allow qgis to remember login and password
#. Allow QGIS to remember the login and password

.. image:: images/chap_QGIS/qgis7.png
:height: 50pt

Add a postGIS Layer
Add a PostGIS Layer
===============================================================================

Click :menuselection:`Connect` and a list of tables and views from the database will show.
Expand Down Expand Up @@ -115,7 +115,7 @@ Format a Routing Layer
Copy/Paste Format
===============================================================================

#. Choose a formmated layer and :menuselection:`Right click --> Styles --> Copy Styles`
#. Choose a formatted layer and :menuselection:`Right click --> Styles --> Copy Styles`

.. image:: images/chap_QGIS/qgis13.png
:height: 50pt
Expand Down
2 changes: 1 addition & 1 deletion docs/un_sdg/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ of all the Sustainable Development Goals.
- Promote sustained, inclusive and sustainable economic growth, full and
productive employment and decent work for all
* - Goal 9
- Industry Innovation and Infrastructure
- Industry, Innovation and Infrastructure
- Build resilient infrastructure, promote inclusive and sustainable
industrialization and foster innovation
* - Goal 10
Expand Down
12 changes: 6 additions & 6 deletions docs/un_sdg/sdg11-cities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ how the data is stored in it.
Processing waterways data
================================================================================

This section will work the graph that is going to be used for processing. While
This section prepares the graph that is going to be used for processing. While
building the graph, the data has to be inspected to determine if there is any
invalid data. This is a very important step to make sure that the data is of
required quality. pgRouting can also be used to do some Data Adjustments.
required quality. pgRouting can also be used to do some data adjustments.

Exercise 5: Remove waterways not for the problem
--------------------------------------------------------------------------------
Expand All @@ -194,7 +194,7 @@ Exercise 5: Remove waterways not for the problem
:alt: Waterways to be removed

This exercise focusses only the areas in the mainland, where if it rains the city is
affected. Hence, the rivers which are there in the swamp area wich is in a lower
affected. Hence, the rivers which are there in the swamp area which is in a lower
altitude of the city, are to be removed from the ``waterways.ways`` table.

.. rubric:: Remove swamp rivers
Expand Down Expand Up @@ -296,7 +296,7 @@ Next query uses this output and stores the component id in the waterways.ways
Exercise 7: Creating a function that gets the city buffer
--------------------------------------------------------------------------------

A function can be created for the same task. This will be help when the table
A function can be created for the same task. This will help when the table
has more than one city.

.. literalinclude:: ../scripts/un_sdg/sdg11/sdg11.sql
Expand Down Expand Up @@ -340,7 +340,7 @@ city would be affected, is calculated. This area is called ``rain zone`` in the

Create a Buffer around the river components.

- Add columns named ``rain_zone`` in waterways.ways
- Add a column named ``rain_zone`` in waterways.ways

- To store buffer geometry of the rain zones.

Expand Down Expand Up @@ -369,7 +369,7 @@ Create a Buffer around the river components.

.. literalinclude:: ../scripts/un_sdg/sdg11/get_rain_zone2.txt

This will give us the requires area, where if it rains, the city will be affected.
This will give us the required area, where if it rains, the city will be affected.

Exercise 10: Create a union of rain zones
================================================================================
Expand Down
2 changes: 1 addition & 1 deletion docs/un_sdg/sdg3-health.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Following image shows the roads and buildings.
:align: center
:scale: 50%

PostreSQL basics
PostgreSQL basics
================================================================================

Preparing work area
Expand Down