This project has moved. For the latest updates, please go here.

Postgres data

Topics: Data Access
Jul 4, 2012 at 7:18 PM

When I use this code

sitelayer.DataSource = New SharpMap.Data.Providers.PostGIS(tseConnection, "sites", "lonlat_wgs84", "pk_sites")

I get an error saying that the "lonlat_wgs84" column doesn't exist, but it does.

Ant ideas what I am doing wrong?
Jul 4, 2012 at 11:56 PM

Well, I found the problem. Seems that my geometry columns weren't in the geometry_columns table correctly.