[postgis-users] problem with shp2pgsql
TECHER Jean David
davidtecher at yahoo.fr
Fri Jul 16 02:17:52 PDT 2004
Hi Marie
In
shp2pgsql i5605r_p mydb > rail.sql
you forgot to add ".shp" for the name of your shapefile i5605r_p
and you forgot to explicit the name of the table "rail" you want to create
do
shp2pgsql i5605r_p.shp rail mydb > rail.sql
psql -d mydb -f rail .sql
or
shp2pgsql i5605r_p.shp rail mydb | psql -d mydb
TECHER JEAN DAVID
- Responsable Informatique 01MAP -
e-mail:davidtecher at yahoo.fr
Tél: 06 85 37 36 75
Site PostGIS: http://techer.pascal.free.fr/postgis/index.htm
> -----Message d'origine-----
> De : postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]De la part de
> Marie-Lise VAUTIER
> Envoyé : vendredi 16 juillet 2004 11:03
> À : postgis-users at postgis.refractions.net
> Objet : Re: [postgis-users] problem with shp2pgsql
>
>
> About the error "shape null" after using shp2pgsql, here are some details:
>
> my os is red hat 9, my shapefiles are in /home/postgres,
> shp2pgsql (version 0.7)
> is in home/postgres/postgres-7.4.3/contrib/postgis-0.8.1/loader.
>
> Is it that somehow shp2pgsql was not properly installed during
> the installation
> of postgis?
>
> Thank you in advance, Marie-Lise.
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
More information about the postgis-users
mailing list