aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-01 20:23:48 +0100
committerGitHub <noreply@github.com>2018-03-01 20:23:48 +0100
commitcb144b3a6071805f4a9d70d4c2fc016c62a80344 (patch)
treec1f9addf9be1da218e5c1d7af5e246708a47bdbd /examples
parent7a351f161f639d50a89acb0fb5d87ff514d17209 (diff)
parentbe3791ffd5e802d5a3d38fa08f5ed24715b73c7c (diff)
downloadPROJ-cb144b3a6071805f4a9d70d4c2fc016c62a80344.tar.gz
PROJ-cb144b3a6071805f4a9d70d4c2fc016c62a80344.zip
Merge pull request #577 from OSGeo/docs-release-4.10.0
Docs for the upcoming release
Diffstat (limited to 'examples')
-rw-r--r--examples/pj_obs_api_mini_demo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/pj_obs_api_mini_demo.c b/examples/pj_obs_api_mini_demo.c
index 855c37f8..34021488 100644
--- a/examples/pj_obs_api_mini_demo.c
+++ b/examples/pj_obs_api_mini_demo.c
@@ -31,6 +31,9 @@
and destructor may be left out, and the default context selected
by passing a null-pointer to pj_create.
+ Note: This file is in-lined in the documentation. Any changes must be
+ reflected in docs/source/development/quickstart.rst
+
Thomas Knudsen, 2016-10-30/2017-07-06
*******************************************************************************/
#include <stdio.h>
@@ -53,7 +56,6 @@ int main (void) {
a = proj_coord (proj_torad(12), proj_torad(55), 0, 0);
/* transform to UTM zone 32, then back to geographical */
- /* note the use of union selectors to indicate what kind of coordinates are expected */
b = proj_trans_coord (P, PJ_FWD, a);
printf ("easting: %g, northing: %g\n", b.en.e, b.en.n);
b = proj_trans_coord (P, PJ_INV, b);