Select to view content in your preferred language

EnumRows::Next() thows error when non null raster field encountered.

3425
1
Jump to solution
06-06-2013 12:20 AM
ViksitAgarwal
New Contributor
While fetching the rows from table, if table is having the raster filed information then I want to skip the raster field and continue to fetch the rows. Current API throws an error as ???Function is not implemented??? when encounters raster data in the rows.

I am using C++ on the top of FGDB C++ API VS2010 version 1.3 to read FGDB data. My table is having 11 fields and 10 rows, 10th Field is raster. 7th and 10th rows are having raster information in the raster field. When I query on table or Geodatabase as
m_pTable->Search(L???OBJECTID???, ??????, true, Rows);

OR
pGeodatabase->ExecuteSQL(L??? Select * from Line???, true, Rows);

Then
m_RecordCount = 0; while(S_OK == hr) {  Row tmpRow; if ((hr = (Rows.Next(tmpRow))) != S_OK) {ErrorInfo::GetErrorDescription(hr,erorText); }   m_RecordCount++; }

Now I am getting the RecordCount as 6 only.

See the attribute information below:

[ATTACH=CONFIG]25045[/ATTACH]

Is there any workaround or solution for this problem?

Thanks in advance for the help.
0 Kudos
1 Solution

Accepted Solutions
VinceAngelo
Esri Esteemed Contributor
The FGDB API is documented as not supporting rasters.  You can strip out NOT NULL
raster rows with a WHERE clause constraint.

- V

View solution in original post

0 Kudos
1 Reply
VinceAngelo
Esri Esteemed Contributor
The FGDB API is documented as not supporting rasters.  You can strip out NOT NULL
raster rows with a WHERE clause constraint.

- V
0 Kudos