[Mapserver-users] Troubles with shapefiles

Paul Ramsey pramsey at refractions.net
Fri Feb 28 12:25:17 EST 2003


You have a number in your shapefile which is larger than int32 
representation can hold. The latest shp2pgsql in the CVS archive 
includes support for all these large nasty numbers, just download and 
compile the cvs snapshot.

P.

Alessandro Ceccotti wrote:
> Hello, I've got a problem using mapserver:
> I've to insert a .shp file in my postgis db. I use shp2pgsql to create a 
> .psql file then, when I go to insert it in my database, it gives me the 
> following error:
>  
> "
> 4: ERROR:  pg_atoi: error reading "30390019695586": Numerical result out 
> of range
>  NOTICE:  current transaction is aborted, queries ignored until end of 
> transaction block
> "
>  
> It creates all the tables in db, but not populate it.
> On what may be due to?
>  
> Thanks,
>  
> Ing.Alessandro Ceccotti.
>  


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the mapserver-users mailing list