From: Sandro Santilli Date: Fri, 4 Mar 2005 14:48:22 +0000 (+0000) Subject: Applied patch from Jonne Savolainen fixing multilines handling X-Git-Tag: pgis_1_0_0RC4~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a404fa004ebfb51bc0fb772be2e5e26c3d397fb1;p=postgis Applied patch from Jonne Savolainen fixing multilines handling git-svn-id: http://svn.osgeo.org/postgis/trunk@1481 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index 918c12f1c..55ec4f40f 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -841,7 +841,7 @@ InsertLineString(int id) else ve = obj->panPartStart[pi+1]; vs = obj->panPartStart[pi]; - print_wkb_int(obj->nVertices); + print_wkb_int(ve-vs); for ( vi=vs; vipadfX[vi]); @@ -1382,6 +1382,9 @@ utf8 (const char *fromcode, char *inputbuf) /********************************************************************** * $Log$ + * Revision 1.80 2005/03/04 14:48:22 strk + * Applied patch from Jonne Savolainen fixing multilines handling + * * Revision 1.79 2005/01/31 22:15:22 strk * Added maintainer notice, to reduce Jeff-strk mail bounces *