+ accept empty bboxes for point geom

This commit is contained in:
Artem Pavlenko 2009-03-04 22:27:22 +00:00
parent f50f908546
commit d60a918fb8

View file

@ -65,7 +65,7 @@ namespace mapnik {
bool valid_envelope(mapnik::Envelope<double> 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)