+ don't read bounding box for null shapes
This commit is contained in:
parent
0be5f95e9e
commit
964f17bc31
1 changed files with 4 additions and 4 deletions
|
@ -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_);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue