[Gdal-dev] PGeo and ODBC support in OGR

Tamas Szekeres szekerest at gmail.com
Fri Dec 2 16:55:19 EST 2005


Frank,

After implementing such an enhancement in the ODBC driver I have
experienced, that the random feature access (using GetFeature) have not been
working without sustaining a fid column (It may be assigned to the Mapserver
line as well). Without using fid the feature had been returned from the
entire result set with the same record number as the provided id.

Does this change dissolve this problem.

Tamas Szekeres



-----Original Message-----
From: fwarmerdam at gmail.com [mailto:fwarmerdam at gmail.com] On Behalf Of Frank
Warmerdam
Sent: Friday, December 02, 2005 10:26 PM
To: Tamas Szekeres
Cc: Eugene Polishchuk; gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] PGeo and ODBC support in OGR

On 12/2/05, Tamas Szekeres <szekerest at gmail.com> wrote:
> Folks,
>
>
> If the data source could provide the bounding box of the shape adding a
> spatial filter support is not a difficult challenge.
>
> The only problem is how to inform the driver about the columns of the
> bounding box. Is applies to the reporting of the fid column as well.
>
> Due to the significant benefits of these issues it would be considerable
to
> maintain default column names (eg. ogc_fid, minx, miny, maxx, maxy) since
> one can apply the proper aliases to support them without any problem.

Tamas,

The ODBC driver will currently recognise tables with an xmin,
ymin, xmax, and ymax column and treat them specially as a
shape spatial extent for purposes of spatial queries.  This is a
fairly recent addition (2-3 weeks ago).

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

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005.12.02.
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 2005.12.02.
 




More information about the Gdal-dev mailing list