From d60a918fb8a13851cda264bd66abff4cadbfde5a Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 4 Mar 2009 22:27:22 +0000 Subject: [PATCH] + accept empty bboxes for point geom --- utils/pgsql2sqlite/pgsql2sqlite.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)