+ cleanup
This commit is contained in:
parent
3436fe0f05
commit
7a00511a56
1 changed files with 0 additions and 6 deletions
|
@ -74,12 +74,6 @@ void shape_io::move_to (int pos)
|
||||||
reclength_ = shp_.read_xdr_integer();
|
reclength_ = shp_.read_xdr_integer();
|
||||||
type_ = shp_.read_ndr_integer();
|
type_ = shp_.read_ndr_integer();
|
||||||
|
|
||||||
if (shp_.is_eof()) {
|
|
||||||
id_ = 0;
|
|
||||||
reclength_ = 0;
|
|
||||||
type_ = shape_null;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (type_!= shape_null && 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_);
|
shp_.read_envelope(cur_extent_);
|
||||||
|
|
Loading…
Reference in a new issue