[fdo-users] select with filter

Orest Halustchak Orest.halustchak at brockwellit.com
Mon Aug 5 06:26:53 PDT 2019


Hi Artem,

What exception message did you get?

Is FeatId an integer type?

Orest.

Sent from my mobile.



From: artem
Sent: Monday, August 5, 4:10 a.m.
Subject: [fdo-users] select with filter
To: fdo-users at lists.osgeo.org


Hello,
here is my code:

FdoStringP sFilter1 = L"\"FeatId\" >= 1 AND \"FeatId\" < 11.2"; // exception
on pRowIterator->ReadNext()
FdoStringP sFilter2 = L"\"FeatId\" >= 1 AND \"FeatId\" < 11"; //works ok

select->SetFilter(sFilter1); // select->SetFilter(sFilter2);
FdoPtr<FdoIFeatureReader> pRowIterator = select->Execute();
while (pRowIterator->ReadNext())
{
  //...
}

why sFilter1 is not working? Is it Bug or am I doing smt wrong? FDO 4.0.0.

Best Regards,
Artem



--
Sent from: http://osgeo-org.1560.x6.nabble.com/FDO-Users-f3898664.html
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/fdo-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fdo-users/attachments/20190805/2da5fa62/attachment.html>


More information about the fdo-users mailing list