271{
272 int axis_count;
274 if (!pj_cs)
275 lwerror(
"%s: proj_cs_get_simplecs returned NULL", __func__);
276
277 axis_count = proj_cs_get_axis_count(NULL, pj_cs);
278 if (axis_count >= 2)
279 {
280 const char *out_name1, *out_abbrev1, *out_direction1;
281 const char *out_name2, *out_abbrev2, *out_direction2;
282
283 proj_cs_get_axis_info(NULL,
284 pj_cs, 0,
285 &out_name1, &out_abbrev1, &out_direction1,
286 NULL, NULL, NULL, NULL);
287
288 proj_cs_get_axis_info(NULL,
289 pj_cs, 1,
290 &out_name2, &out_abbrev2, &out_direction2,
291 NULL, NULL, NULL, NULL);
292
293 proj_destroy(pj_cs);
294
295
296 if(out_direction1 &&
STR_IEQUALS(out_direction1,
"north") &&
297 out_direction2 &&
STR_IEQUALS(out_direction2,
"east") )
298 {
300 }
301
302
303 if(out_direction1 && out_direction2 &&
308 {
310 }
311
312
315
317 }
318
319
320 proj_destroy(pj_cs);
322}
#define LW_TRUE
Return types for functions with status returns.
void lwerror(const char *fmt,...)
Write a notice out to the error handler.