[fdo-users] SpatialExtents() in SQLite

Romica Dascalescu Romica.Dascalescu at autodesk.com
Thu Oct 27 10:29:22 EDT 2011

Hi Jackie,

Do you call the function like below?


FdoPtr<FdoISelectAggregates> select = (FdoISelectAggregates*)m_connection->CreateCommand (FdoCommandType_SelectAggregates);
FdoPtr<FdoIdentifierCollection> identifiers = select->GetPropertyNames();
FdoPtr<FdoIdentifier> identifier;

identifier = FdoComputedIdentifier::Create(L"SE_NAME", FdoPtr<FdoExpression>(FdoExpression::Parse(L"SpatialExtents(geometry)")));

From: fdo-users-bounces at lists.osgeo.org [fdo-users-bounces at lists.osgeo.org] on behalf of Jackie Ng [jumpinjackie at gmail.com]
Sent: Thursday, October 27, 2011 10:21 AM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] SpatialExtents() in SQLite

Hi All,

Does the SQLite FDO provider support the SpatialExtent() aggregate function?

The capabilities say it does, but when I try to execute an
FdoISelectAggregate command containing a SpatialExtent() computed property,
it throws back an exception:

no such function: SpatialExtents

- Jackie

View this message in context: http://osgeo-org.1803224.n2.nabble.com/SpatialExtents-in-SQLite-tp6936514p6936514.html
Sent from the FDO Users mailing list archive at Nabble.com.
fdo-users mailing list
fdo-users at lists.osgeo.org

More information about the fdo-users mailing list