[postgis-users] MapServer dies when trying to view a layergenerated with PostGIS

Nicolas Ribot nicky666 at gmail.com
Fri Nov 25 00:44:16 PST 2005


> Hi Nicolas/Carlo,
>
> Bear in mind that OID columns have been removed from tables for a reason;
> mainly because they take up extra space on your hard disk but also because
> OIDs are limited to 32 bits and PostgreSQL must be able to use them
> internally otherwise a lot of things will break.
>
> Instead of reloading the database, the easiest option is to modify your
> mapserver DATA clause to read "the_geom from bc_voting_areas using unique
> <id>" where <id> is the name of your primary key column.
>

Thanks for the precision Mark !
I completely missed this important point.
(i will revert my settings and change the mapfiles I use, instead :-)



More information about the postgis-users mailing list