<DIV>Hi,</DIV>
<DIV>Im trying to use the pgsql2shp command to convert a very small table from pgadmin</DIV>
<DIV> </DIV>
<DIV>My database is called montreal and the table is called hotspots</DIV>
<DIV> </DIV>
<DIV>in the root dierectory i do the following. sometimes i get one error then i get another error.</DIV>
<DIV>the two errors that i get are as follows</DIV>
<DIV> </DIV>
<DIV>[root@p490ho3 root]# pgsql2shp Montreal Hotspots<BR>FATAL:  user "root" does not exist<BR>[root@p490ho3 root]# su - postgres<BR>-bash-2.05b$ pgsql2shp Montreal Hotspots<BR>Initializing... Geometry type unknown (have you enabled postgis?)<BR>-bash-2.05b$</DIV>
<DIV> </DIV>
<DIV>or sometimes i get the following error</DIV>
<DIV> </DIV>
<DIV>-bash-2.05b$ pgsql2shp Montreal Hotspots <BR>Initializing... No geometry column found.<BR>The DBF file will be created but not the shx or shp files.<BR>Done.<BR>Dumping: XX [4 rows].</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>What am I doing wrong????</DIV>
<DIV> </DIV>
<DIV>Nisa</DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com