This project has moved and is read-only. For the latest updates, please go here.

Postgres data

Topics: Data Access
Jul 4, 2012 at 8: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 5, 2012 at 12:56 AM

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