Definition at line 397 of file lwprint.c.
References lwalloc(), lwdouble_to_dms(), lwfree(), and lwprint_normalize_latlon().
Referenced by lwpoint_to_latlon().
410 result = (
char*)
lwalloc(strlen(lat_text) + strlen(lon_text) + 2);
411 sprintf(result,
"%s %s", lat_text, lon_text);
static void lwprint_normalize_latlon(double *lat, double *lon)
static char * lwdouble_to_dms(double val, const char *pos_dir_symbol, const char *neg_dir_symbol, const char *format)
void * lwalloc(size_t size)