[postgis-users] MapServer config issues

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Wed Feb 22 00:56:36 PST 2006


> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net 
> [mailto:postgis-users-bounces at postgis.refractions.net] On 
> Behalf Of Kralidis,Tom [Burlington]
> Sent: 21 February 2006 20:35
> To: PostGIS Users Discussion
> Subject: RE: [postgis-users] MapServer config issues
> 
> 
> You're not? :)
> 
> It seems that I didn't ref the oid col correctly, and I had 
> issues with auto-oid generation in the db (turned off by 
> default).  Fixed in $PGSQL_HOME/data/postgresql.conf, then 
> redid the tables and all works.
> 
> Thanks much
> 
> ..Tom


Hi Tom,

I'd make a stronger statement than Alex and say that oids in table rows are
deprecated. The option in postgresql.conf is only there for the sake of old
applications that can't be modified, and I would caution developers writing
new applications that depend upon them.

In a pure mapserver/postgis environment, the only change you need to make is
to add a "using unique id" clause to end of your Mapserver DATA statement so
it is well worth taking the 5 mins to future-proof your application in this
way.


Kind regards,

Mark.

------------------------
WebBased Ltd
17 Research Way
Plymouth
PL6 8BT

T: +44 (0)1752 797131
F: +44 (0)1752 791023

http://www.webbased.co.uk   
http://www.infomapper.com
http://www.swtc.co.uk  

This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other
person.





More information about the postgis-users mailing list