aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-04-09 21:06:34 +0200
committerGitHub <noreply@github.com>2019-04-09 21:06:34 +0200
commitb8d3821a9cfbae826a5fc0997913337af01a3753 (patch)
tree90f96cb40edd9e231e27b0fb0ab113547cde2ef3 /docs/source/development
parent3087886ce3a274490d9bed004a0a5a14eb05e286 (diff)
parent79bb57eecdd7b6cdf0bc34a1cf1705aa9456043d (diff)
downloadPROJ-b8d3821a9cfbae826a5fc0997913337af01a3753.tar.gz
PROJ-b8d3821a9cfbae826a5fc0997913337af01a3753.zip
Merge pull request #1417 from jorisvandenbossche/doc-dev-quickstart
DOC: update line numbers in dev quickstart example
Diffstat (limited to 'docs/source/development')
-rw-r--r--docs/source/development/quickstart.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/source/development/quickstart.rst b/docs/source/development/quickstart.rst
index 960cddbf..267270fb 100644
--- a/docs/source/development/quickstart.rst
+++ b/docs/source/development/quickstart.rst
@@ -35,7 +35,7 @@ this in detail.
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 48
+ :lines: 49
:dedent: 4
Next we create the ``PJ`` transformation object ``P`` with the function
@@ -51,7 +51,7 @@ details.
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 50-52
+ :lines: 51-53
:dedent: 4
PROJ uses it's own data structures for handling coordinates. Here we use a
@@ -62,17 +62,17 @@ for further details.
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 56
+ :lines: 57
:dedent: 4
-The coordinate defined above is transformed with ``proj_trans_coord``. For this
+The coordinate defined above is transformed with ``proj_trans``. For this
a ``PJ`` object, a transformation direction (either forward or inverse) and the
coordinate is needed. The transformed coordinate is returned in ``b``.
Here the forward (``PJ_FWD``) transformation from geodetic to UTM is made.
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 59-60
+ :lines: 60-61
:dedent: 4
The inverse transformation (UTM to geodetic) is done similar to above,
@@ -80,14 +80,14 @@ this time using ``PJ_INV`` as the direction.
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 61-62
+ :lines: 62-63
:dedent: 4
Before ending the program the allocated memory needs to be released again:
.. literalinclude:: ../../../examples/pj_obs_api_mini_demo.c
:language: c
- :lines: 65-66
+ :lines: 66-67
:dedent: 4