I did the following: 
 
shp2pgsql (path_to_shapefile).shp tabename > namedsql.sql
psql -h XXX -U XXX -d XXX -f namedsql.sql
 
J

>>> [EMAIL PROTECTED] 4/11/2008 9:03 AM >>>

How did you generate the sql file.  Was it dump of a table from
8.0?  Can you post a snippet of the sql file?
 
Thanks,
Regina

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Jessica Fendos
Sent: Friday, April 11, 2008 9:55 AM
To: [email protected] 
Subject: [postgis-users] Upload Table Warning Message



Hi list: 

I uploaded a table using psql command to both Postgres 8.0 and 8.2.
The upload to 8.2 (with a newer version of PostGIS), I got a warning
message: 
  
INSERT 01 
psql:XXXX.sql :01: WARNING:  OGC WKT expected, EWKT provided - use
GeomFromEWKT <> for this 
.... 
  
What does this mean and how can I avoid this? Thank you for your
advice. 
  
Jessica 



The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended solely for the
addressee. If you received this in error, please contact the sender
and delete the material from any computer. 


Help make the earth a greener place. If at all possible resist
printing this email and join us in saving paper. 

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to