[postgis-devel] Re: shp2pgsql

strk at refractions.net strk at refractions.net
Fri Oct 21 04:33:38 PDT 2005


Applied, thanks.
--strk;

On Fri, Oct 21, 2005 at 01:24:28PM +0200, Lars Rößiger wrote:
> Hi Sandro,
> 
> I noticed you're the maintainer for shp2pgsql.
> 
> I created a workaround for the problem pointed out at
> http://postgis.refractions.net/pipermail/postgis-users/2005-October/009711.html
> 
> I added the following two lines to shp2pgsql.c at line 315:
> 
>         // remove trailing decimal dots
>     if ( val[strlen(val)-1] == '.' ) { val[strlen(val)-1] = '\0'; }
> 
> Regards,
> Lars



More information about the postgis-devel mailing list