]> granicus.if.org Git - postgis/commitdiff
Applied patch from Jonne Savolainen fixing multilines handling
authorSandro Santilli <strk@keybit.net>
Fri, 4 Mar 2005 14:48:22 +0000 (14:48 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 4 Mar 2005 14:48:22 +0000 (14:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1481 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql.c

index 918c12f1c8c6f6867a915c1bce4ccbdc5b5cfd1b..55ec4f40f76a0e9e5bf9c4d3ae1e3985f26ec491 100644 (file)
@@ -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; vi<ve; vi++)
                {
                        print_wkb_double(obj->padfX[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
  *