aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2017-09-04 22:32:20 +0200
committerKristian Evers <kristianevers@gmail.com>2017-09-04 22:32:20 +0200
commit5dc4fb39db01bf06945b063116c10af7661a7999 (patch)
tree0ce1c41f5d00283abb27ba199e4d2702a57e5968 /examples
parentc58d26841a4a4459c1d7dabb04ea504853bd0634 (diff)
downloadPROJ-5dc4fb39db01bf06945b063116c10af7661a7999.tar.gz
PROJ-5dc4fb39db01bf06945b063116c10af7661a7999.zip
Added more pages to 'development' chapter. Moved old API description to section named 'deprecated'. Created a quickstart page for the development chapter. Scaffolding in place for the rest of the chapter.
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);