aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development
diff options
context:
space:
mode:
authorJoris Van den Bossche <jorisvandenbossche@gmail.com>2019-04-09 13:08:32 +0000
committerJoris Van den Bossche <jorisvandenbossche@gmail.com>2019-04-09 13:08:32 +0000
commit9e590916a2664af180d404844d380f666892933f (patch)
tree001f28c99df0dac2a6eee82a8b0ee59aa8844f95 /docs/source/development
parente87b3744350baca2b7fe35070e621a6b45bcbf67 (diff)
downloadPROJ-9e590916a2664af180d404844d380f666892933f.tar.gz
PROJ-9e590916a2664af180d404844d380f666892933f.zip
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