[postgis-users] oid field

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Tue Jun 20 10:15:15 PDT 2006


> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of Ezequias Rodrigues da Rocha
> Sent: 20 June 2006 17:48
> To: PostGIS Users Discussion
> Subject: Re: [postgis-users] oid field
> 
> No,
> 
> The PostGIS driver on OpenJUMP does not takes care of it yet. My problem
> is the Mapserver (a web server thar connects with a PostGIS database).
> 
> OpenJUMP can save and retrieve later, but mapserver needs this kind of
> data to exibit a map on the web or on OpenJUMP.
> 
> Thank you
> 
> Ezequias


Hi Ezequias,

If you mean UMN Mapserver (http://mapserver.gis.umn.edu) then the OID column
isn't required - it is just the default choice for the primary key. You can
override it using with the "USING UNIQUE" clause in the DATA statement - see
the Mapserver documentation for more information.


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