I am trying to evaluate PostGIS data provider. Can someone explain what is oidColumn in the constructor of PostGisProvider?
What i've understood from MapViewer demo oidColumn is the name of the primary key column. If it is so, so the name oidColumn is misleading because oid is a system
column in PostgreSQL with unique id of the row.
The question is why is it so important to provide the name of the primary key column? And what if i have more than one column as a primary key?
Also, why the data type of the primary key column should be provided as a generic parameter TOid ? I don't have any primary keys in my spatial data and it makes very difficult to use PostGIS provider.