[postgis-users] PostGIS and ADO.NET
Abe Gillespie
abe.gillespie at gmail.com
Wed Apr 25 15:52:08 PDT 2007
Hello Jeff,
There is no *direct* support per se (at least none that I know of).
But you can use Npgsql as the ADO.NET data access driver and retrieve
the shape data as byte arrays. To get instantiated shape objects
you'll then have to feed the byte array into libraries such as
NetTopolgySuite (http://nts.sourceforge.net/), SharpMap
(http://www.codeplex.com/SharpMap/), or consume the byte arrays
directly in your code as is done in zigGIS
(http://code.google.com/p/ziggis/).
You'll have to write your SQL spatial queries by hand. But I suspect
you'll want to do this anyway.
Good luck!
--
Abe Gillespie, abe at digital-pulp.com
Programmer for hire - GIS, Business Apps, Website Apps
http://code.google.com/p/ziggis/
On 4/25/07, Jeff Dege <jdege at korterra.com> wrote:
> I've done some web browsing, trying to find current information on how
> well PostGIS integrates with ADO.NET, and while I've found a number of
> discussions, none really seemed to answer.
>
> Are there current ADO.NET 2.0 drivers for PostGIS? Are there current
> drivers for PostSQL? If only the latter exist, how does that limit what
> I can do with PostGIS?
>
> _______________________________________________
> 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