- #2019, ST_FlipCoordinates does not update bbox
- #2100, ST_AsRaster may not return raster with specified pixel type
- #2126, Better handling of empty rasters from ST_ConvexHull()
+ - #2165, ST_NumPoints regression failure with CircularString
- #2182, Fix issue with outdb rasters with no SRID and ST_Resize
- #2188, Fix function parameter value overflow that caused problems
when copying data from a GDAL dataset
LWGEOM *lwgeom = lwgeom_from_gserialized(geom);
int count = -1;
- if ( lwgeom->type == LINETYPE )
+ if ( lwgeom->type == LINETYPE || lwgeom->type == CIRCSTRINGTYPE )
count = lwgeom_count_vertices(lwgeom);
lwgeom_free(lwgeom);
SELECT DropGeometryColumn('public', 'circularstring', 'the_geom_2d');
DROP TABLE public.circularstring;
SELECT ST_AsText(st_snaptogrid(box2d('CIRCULARSTRING(220268.439465645 150415.359530563,220227.333322076 150505.561285879,220227.353105332 150406.434743975)'::geometry),0.0001));
-SELECT 'npoints_is_null',ST_NumPoints(ST_GeomFromEWKT('CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3)'));
+SELECT 'npoints_is_five',ST_NumPoints(ST_GeomFromEWKT('CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3)'));
public.circularstring.the_geom_3dm effectively removed.
public.circularstring.the_geom_2d effectively removed.
POLYGON((220187.3821 150406.4347,220187.3821 150506.7171,220288.8159 150506.7171,220288.8159 150406.4347,220187.3821 150406.4347))
-npoints_is_null|
+npoints_is_five|5