PostGIS  2.5.0dev-r@@SVN_REVISION@@
lwprint.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "liblwgeom_internal.h"
Include dependency graph for lwprint.c:

Go to the source code of this file.


#define NUM_PIECES   9
#define WORK_SIZE   1024


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)
static char * lwdoubles_to_latlon (double lat, double lon, const char *format)
char * lwpoint_to_latlon (const LWPOINT *pt, const char *format)
static void trim_trailing_zeros (char *str)
int lwprint_double (double d, int maxdd, char *buf, size_t bufsize)