105{
107 int32_t srid, rv;
108
109 srid = 4326;
112 CU_ASSERT_EQUAL(rv, srid);
113
114 srid = -3005;
117
119
123 CU_ASSERT_EQUAL(rv, srid);
124
128 CU_ASSERT_EQUAL(rv, srid);
129
130 srid = 100000;
133 CU_ASSERT_EQUAL(rv, srid);
134}
int32_t gserialized2_get_srid(const GSERIALIZED *g)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
void gserialized2_set_srid(GSERIALIZED *g, int32_t srid)
Write the SRID into the serialized form (it is packed into three bytes so this is a handy function).
#define SRID_UNKNOWN
Unknown SRID value.