Definition at line 680 of file lwout_geojson.c.
704 if ( i ) ptr += sprintf(ptr,
",");
705 ptr += sprintf(ptr,
"[%s,%s]",
x,
y);
722 if ( i ) ptr += sprintf(ptr,
",");
723 ptr += sprintf(ptr,
"[%s,%s,%s]",
x,
y, z);
const POINT3DZ * getPoint3dz_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT3DZ pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
#define OUT_DOUBLE_BUFFER_SIZE
#define OUT_MAX_DOUBLE_PRECISION
int lwprint_double(double d, int maxdd, char *buf, size_t bufsize)
References POINTARRAY::flags, FLAGS_GET_Z, getPoint2d_cp(), getPoint3dz_cp(), lwprint_double(), POINTARRAY::npoints, OUT_DOUBLE_BUFFER_SIZE, OUT_MAX_DOUBLE_PRECISION, precision, POINT2D::x, POINT3DZ::x, pixval::x, POINT2D::y, POINT3DZ::y, pixval::y, and POINT3DZ::z.
Referenced by asgeojson_line_buf(), asgeojson_multiline_buf(), asgeojson_multipoint_buf(), asgeojson_multipolygon_buf(), asgeojson_point_buf(), and asgeojson_poly_buf().