[postgis-users] ESRI Shapes from database

Obe, Regina robe.dnd at cityofboston.gov
Sun Oct 21 10:56:56 PDT 2007


Brent,
 
I know that SharpMap.NET piggy backs on GDAL for its support of OGR datasources such as MapInfo etc so I think the compiled bindings ready to use for .NET 2.0 is available as part of that project.
 
Not quite sure how that would help Lee though.
 
http://www.codeplex.com/SharpMap/Wiki/View.aspx?title=Extensions&referringTitle=Home
 
Hope that helps,
Regina

________________________________

From: postgis-users-bounces at postgis.refractions.net on behalf of Brent Wood
Sent: Fri 10/19/2007 5:20 PM
To: PostGIS Users Discussion; lee.keel at uai.com
Subject: RE: [postgis-users] ESRI Shapes from database




--- Lee Keel <lee.keel at uai.com> wrote:

> > Steffen,
>
> Thanks for the reply, but I am not sure how to call COPY using STDIN.  Do
> you have an example?  I really don't see how to call COPY using STDIN if I
> am using an npgsqlcommand object in .NET.  So I am guessing there is no
> specific permission that I can grant that will allow this?  Bummer.
>


Hi Lee,

>From the command line, you could use:

cat <file> | psql -d <db> -c "copy <table> from STDIN;"

How this can be invoked in .net I have no idea.... but there si an example :-)

If the user who makes the connection is a postgres superuser, you should be
able to copy to/from files directly.

Another option, are there any .net bindings for GDAL/OGR?


Cheers,

   Brent Wood

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users





-----------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20071021/efdd1b29/attachment.html>


More information about the postgis-users mailing list