diff --git a/plugins/input/sqlite/sqlite_datasource.cpp b/plugins/input/sqlite/sqlite_datasource.cpp index a23cdda34..33e9b0207 100644 --- a/plugins/input/sqlite/sqlite_datasource.cpp +++ b/plugins/input/sqlite/sqlite_datasource.cpp @@ -59,7 +59,7 @@ sqlite_datasource::sqlite_datasource(parameters const& params) type_(datasource::Vector), table_(*params.get("table","")), metadata_(*params.get("metadata","")), - geometry_field_(*params.get("geometry_field","geom")), + geometry_field_(*params.get("geometry_field","the_geom")), key_field_(*params.get("key_field","PK_UID")), desc_(*params.get("type"), *params.get("encoding","utf-8")) { @@ -239,9 +239,9 @@ featureset_ptr sqlite_datasource::features(query const& q) const s << " and ymax>=" << e.miny() << " and ymin<=" << e.maxy() << ")"; } -#ifdef MAPNIK_DEBUG +//#ifdef MAPNIK_DEBUG std::cerr << "executing sql: " << s.str() << "\n"; -#endif +//#endif boost::shared_ptr rs (dataset_->execute_query (s.str()));