122{
124 int32_t srid, rv;
125
126 srid = 4326;
129 CU_ASSERT_EQUAL(rv, srid);
130
131 srid = -3005;
134
136
140 CU_ASSERT_EQUAL(rv, srid);
141
145 CU_ASSERT_EQUAL(rv, srid);
146
147 srid = 100000;
150 CU_ASSERT_EQUAL(rv, srid);
151}
int32_t gserialized1_get_srid(const GSERIALIZED *s)
Extract the SRID from the serialized form (it is packed into three bytes so this is a handy function)...
void gserialized1_set_srid(GSERIALIZED *s, 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.