Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+ use ST_xxx

  • Loading branch information...
commit 47e5b3c95eabd1236647d30c55f720baec44216d 1 parent 51bf0ef
@artemp artemp authored springmeyer committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  utils/pgsql2sqlite/pgsql2sqlite.hpp
View
2  utils/pgsql2sqlite/pgsql2sqlite.hpp
@@ -136,7 +136,7 @@ void pgsql2sqlite(Connection conn,
// add AsBinary(<geometry_column>) modifier
std::string select_sql_str = select_sql.str();
- boost::algorithm::replace_all(select_sql_str, "\"" + geom_col + "\"","AsBinary(" + geom_col+") as " + geom_col);
+ boost::algorithm::replace_all(select_sql_str, "\"" + geom_col + "\"","ST_AsBinary(" + geom_col+") as " + geom_col);
#ifdef MAPNIK_DEBUG
std::cout << select_sql_str << "\n";
Please sign in to comment.
Something went wrong with that request. Please try again.