From 577b454c4c4deda1486e1039f7f0728377d9d51e Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Tue, 15 Mar 2011 06:01:22 +0000 Subject: [PATCH] Fix copy comment error git-svn-id: http://svn.osgeo.org/postgis/trunk@6900 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/lwout_x3d.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/liblwgeom/lwout_x3d.c b/liblwgeom/lwout_x3d.c index fca8b9681..77aafd477 100644 --- a/liblwgeom/lwout_x3d.c +++ b/liblwgeom/lwout_x3d.c @@ -201,7 +201,7 @@ asx3d3_poly_size(const LWPOLY *poly, char *srs, int precision, int opts, const size_t defidlen = strlen(defid); int i; - size = ( sizeof("") + (defidlen*3) ) * 2; + size = ( sizeof("") + (defidlen*3) ) * 2 + 6 * (poly->nrings - 1); //size += ( sizeof("//") + (defidlen*2) ) * 2 * (poly->nrings - 1); //size += ( sizeof("") + (defidlen*2) ) * poly->nrings; //if (srs) size += strlen(srs) + sizeof(" srsName=.."); @@ -669,8 +669,7 @@ asx3d3_collection(const LWCOLLECTION *col, char *srs, int precision, int opts, c } -/* In X3D3, inside or , coordinates are separated by a space separator - * In X3D3 also, lat/lon are reversed for geocentric data +/* In X3D3, coordinates are separated by a space separator */ static size_t pointArray_toX3D3(POINTARRAY *pa, char *output, int precision, int opts, int type) @@ -759,4 +758,4 @@ pointArray_X3Dsize(POINTARRAY *pa, int precision) * 2 * pa->npoints; return (OUT_MAX_DIGS_DOUBLE + precision + sizeof(" ")) * 3 * pa->npoints; -} +} \ No newline at end of file -- 2.50.1