From 5dc4fb39db01bf06945b063116c10af7661a7999 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Mon, 4 Sep 2017 22:32:20 +0200 Subject: 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. --- examples/pj_obs_api_mini_demo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples') 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 @@ -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); -- cgit v1.2.3