[ms4w-users] MS4W, GDAL/OGR and Oracle Spatial

Frank Warmerdam fwarmerdam at gmail.com
Tue Aug 23 16:58:02 EDT 2005


On 8/23/05, Luciano Lovate Fardin <luciano at inflor.com.br> wrote:
> All tables belonging to our geodatabase have their primary keys defined..

Luciano, 

Are they all simple integers (and single fields)?  Are they getting
mapped to be the FID by OGR (check an ogrinfo report).  The
most common source of problems with MapServer query support
through OGR is that if OGR does not identify something intrinsic
in the record to use as the FID (an integer primary key) they
it will fallback to assigning sequential FIDs.  But these FIDs will
not mean anything if/when mapserver tries to fetch the query
results.  

So it is imperative that things be setup such that the FID is
dependably associated with particular records, regardless of
what filter query is in place.  

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the ms4w-users mailing list