[Mapserver-users] Troubles with shapefiles

Alessandro Ceccotti alessandro.ceccotti at netxcalibur.com
Fri Feb 28 05:06:43 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C2DF32.A2F577B0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit


 
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.
 

------=_NextPart_000_001B_01C2DF32.A2F577B0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Messaggio</TITLE>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DTahoma size=3D2><BR></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D703415611-28022003>Hello, =
I've got a=20
problem using mapserver:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D703415611-28022003>I've =
to insert a=20
.shp file in my postgis db. I use shp2pgsql to create a .psql file then, =
when I=20
go to insert it in my database, it gives me the following=20
error:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2>"</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2>4: ERROR:  pg_atoi: error reading=20
"30390019695586": Numerical result out of range<BR> NOTICE:  =
current=20
transaction is aborted, queries ignored<SPAN class=3D703415611-28022003> =

</SPAN>until end of transaction block</FONT></DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2>"</FONT></SPAN></DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial size=3D2>It =
creates all the=20
tables in db, but not populate it.</FONT></SPAN></DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial size=3D2>On =
what may be due=20
to?</FONT></SPAN></DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D703415611-28022003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV>Ing.Alessandro Ceccotti<SPAN =
class=3D703415611-28022003>.</SPAN></DIV>
<DIV> </DIV></BODY></HTML>

------=_NextPart_000_001B_01C2DF32.A2F577B0--





More information about the MapServer-users mailing list