diff --git a/utils/pgsql2sqlite/pgsql2sqlite.hpp b/utils/pgsql2sqlite/pgsql2sqlite.hpp index 35f0d857c..3b30054ea 100644 --- a/utils/pgsql2sqlite/pgsql2sqlite.hpp +++ b/utils/pgsql2sqlite/pgsql2sqlite.hpp @@ -65,7 +65,7 @@ namespace mapnik { bool valid_envelope(mapnik::Envelope const& e) { - return (e.minx() < e.maxx() && e.miny() < e.maxy()) ; + return (e.minx() <= e.maxx() && e.miny() <= e.maxy()) ; } std::string table_from_sql(std::string const& sql)