OGR bug?
Ivano Picco
ivano.picco at AQUPI.TK
Thu Nov 11 03:35:02 PST 2004
Maybe it's stupid or maybe I found the way to specify another primary key. I
have to use the pair --with-oci_fid when i run configure as it is reported
in the source code, isn't it?
Can you add this information in documentation or in the configure help so it
can be read to the other people needed it?
Thanks a lot,
Ivano Picco
>About fetching features:
>>The GetFeature() method at
>>the OGR level is supposed to work with the OCI driver. If there isn't an
>>identified primary key (currently I just look for a field named OGR_FID)
>>then I end up just using a sequence number as the index, and then fetching
>>an individual feature can be very expensive (I have to run through all the
>>features to count to it).
>mmmh, I don't understand. Do you identify a primary key (I use a field named
>OBJECTID as a primary key, like SDE and shapefile format)? Would I have to
>specify it?, where?
>Do you load every layer's feature to get the one at index j?
More information about the MapServer-users
mailing list