git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1880
b70326c6-7e19-0410-871a-
916f4a2858ee
- GiST indexing cleanup
- Loader: fixed string functions usage, reworked NULL objects check,
fixed segfault on MULTILINESTRING input.
+ - Fixed bug in MakeLine dimension handling
PostGIS 1.0.3
2005/08/08
pa = (POINTARRAY*)lwalloc(sizeof(POINTARRAY));
pa->dims = 0;
- TYPE_SETZM(pa->dims, hasz, hasm);
+ TYPE_SETZM(pa->dims, hasz?1:0, hasm?1:0);
pa->npoints = npoints;
- size=(2+hasz+hasm)*sizeof(double)*npoints;
- //pa->serialized_pointlist = lwalloc(size);
- //memcpy(pa->serialized_pointlist, points, size);
pa->serialized_pointlist = points;
return pa;