]> granicus.if.org Git - postgis/commitdiff
fixed a bug which made the last column value in the dbf file loading
authorJeff Lounsbury <jeffloun@refractions.net>
Mon, 29 Oct 2001 17:52:37 +0000 (17:52 +0000)
committerJeff Lounsbury <jeffloun@refractions.net>
Mon, 29 Oct 2001 17:52:37 +0000 (17:52 +0000)
incorrect if you were using Dump format.

git-svn-id: http://svn.osgeo.org/postgis/trunk@95 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql.c

index 20ea53a5bb820145fdf17c2d1b88c40773217143..421967a04fd87d38f80812778ae0e5bb60696a46 100644 (file)
@@ -313,7 +313,7 @@ int ring_check(SHPObject* obj, char *table, char *sr_id, int rings,DBFHandle hDB
        Insert_attributes(hDBFHandle,rings-1);
 
        if (dump_format){
-               printf("%i\tSRID=%s ;MULTIPOLYGON(",rings,sr_id );
+               printf("\tSRID=%s ;MULTIPOLYGON(",sr_id );
        }else{
                printf(",GeometryFromText('MULTIPOLYGON(");
        }