[postgis-users] About ESRI Shapefile ...

David Bitner osgis.lists at gmail.com
Wed Apr 19 07:55:31 PDT 2006

Because the shapefile is just flat files on the file system.  You need
to get the data into the db before you can do anything with it. 
That's what shp2pgsql does.  It's very similar to using copy to pull
in data from a delimited text file.  You can't just grab and use data
from the file, you need to import it into a table first.

What is an example case of what you are trying to do?  I for one can't
really follow what you are asking.

On 4/19/06, Thomas Chabaud <tc at geosys.com> wrote:
> Robert Burgholzer a écrit :
> > You can achieve this from the command line as:
> > pgsql2shp.exe [insert appropriate parameters here]
> >
> > pgsql2shp.exe, and the *nix counterpart pgsql2shp, come with the
> > standard postgis distro, if I am not mistaken.
> >
> > r.b.
> >
> I know that, but I wondered why these functionalities are not directly
> accessible from PostgreSQL stored procedure.
> _______________________________________________
> 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