fix spelling
This commit is contained in:
parent
ea895f7837
commit
d3d59c7ac4
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ featureset_ptr sqlite_datasource::features(query const& q) const
|
|||
std::ostringstream spatial_sql;
|
||||
spatial_sql << std::setprecision(16);
|
||||
// TODO - rowid must be explicitly included in subselects
|
||||
// should we used primary key here instead?
|
||||
// should we use primary key here instead?
|
||||
spatial_sql << " WHERE rowid IN (SELECT pkid FROM idx_" << geometry_table_ << "_" << geometry_field_;
|
||||
spatial_sql << " WHERE xmax>=" << e.minx() << " AND xmin<=" << e.maxx() ;
|
||||
spatial_sql << " AND ymax>=" << e.miny() << " AND ymin<=" << e.maxy() << ")";
|
||||
|
|
Loading…
Reference in a new issue