mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ fix record length check to account for OGR not writing PointZ according to
shapefile spec - PointZ: type,x,y,z,measure (#1193, #504)
This commit is contained in:
parent
ff8f3f1d45
commit
da0d74529d
@ -109,8 +109,8 @@ feature_ptr shape_featureset<filterT>::next()
|
||||
double y = shape_.shp().read_double();
|
||||
// skip z
|
||||
shape_.shp().skip(8);
|
||||
// skip m if exists
|
||||
if (shape_.reclength_ == 8 + 36)
|
||||
// skip m if exists: OGR bug
|
||||
if (shape_.reclength_ == 18)
|
||||
{
|
||||
shape_.shp().skip(8);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user