+ don't read bounding box for null shapes

This commit is contained in:
Artem Pavlenko 2010-07-25 19:55:32 +00:00
parent 0be5f95e9e
commit 964f17bc31

View file

@ -63,7 +63,7 @@ void shape_io::move_to (int pos)
type_ = shape_null;
}
if (type_ != shape_point && type_ != shape_pointm && type_ != shape_pointz)
if (type_!= shape_null && type_ != shape_point && type_ != shape_pointm && type_ != shape_pointz)
{
shp_.read_envelope(cur_extent_);
}