Changeset 769
- Timestamp:
- 11/19/08 16:26:20 (21 months ago)
- Location:
- trunk/plugins/input/postgis
- Files:
-
- 2 modified
-
postgis.cpp (modified) (2 diffs)
-
postgis.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/input/postgis/postgis.cpp
r624 r769 58 58 : datasource (params), 59 59 table_(*params.get<std::string>("table","")), 60 geometry_field_(*params.get<std::string>("geometry_field","")), 60 61 type_(datasource::Vector), 61 62 extent_initialized_(false), … … 125 126 s << "select f_geometry_column,srid,type from "; 126 127 s << GEOMETRY_COLUMNS <<" where f_table_name='" << table_name<<"'"; 128 if (geometry_field_.length() > 0) 129 s << " and f_geometry_column = '" << geometry_field_ << "'"; 127 130 128 131 shared_ptr<ResultSet> rs=conn->executeQuery(s.str()); -
trunk/plugins/input/postgis/postgis.hpp
r557 r769 56 56 const std::string password_; 57 57 const std::string table_; 58 const std::string geometry_field_; 58 59 std::string geometryColumn_; 59 60 int type_;
