Skip to content

Commit b0c35bf

Browse files
authored
Merge pull request #344 from JamesParrott/python-3.0.0-alpha-the-last-jedtype
Python 3.0.0 alpha the last jedtype
2 parents 07af50b + 6d17738 commit b0c35bf

File tree

3 files changed

+284
-250
lines changed

3 files changed

+284
-250
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ and the bounding box area the shapefile covers:
430430
>>> len(sf)
431431
663
432432
>>> sf.bbox
433-
BBox(xmin=-122.515048, ymin=37.652916, xmax=-122.327622, ymax=37.863433)
433+
(-122.515048, 37.652916, -122.327622, 37.863433)
434434

435435
Finally, if you would prefer to work with the entire shapefile in a different
436436
format, you can convert all of it to a GeoJSON dictionary, although you may lose
@@ -1388,7 +1388,7 @@ Shapefiles containing M-values can be examined in several ways:
13881388
>>> r = shapefile.Reader('shapefiles/test/linem')
13891389

13901390
>>> r.mbox # the lower and upper bound of M-values in the shapefile
1391-
MBox(mmin=0.0, mmax=3.0)
1391+
(0.0, 3.0)
13921392

13931393
>>> r.shape(0).m # flat list of M-values
13941394
[0.0, None, 3.0, None, 0.0, None, None]
@@ -1421,7 +1421,7 @@ To examine a Z-type shapefile you can do:
14211421
>>> r = shapefile.Reader('shapefiles/test/linez')
14221422

14231423
>>> r.zbox # the lower and upper bound of Z-values in the shapefile
1424-
ZBox(zmin=0.0, zmax=22.0)
1424+
(0.0, 22.0)
14251425

14261426
>>> r.shape(0).z # flat list of Z-values
14271427
[18.0, 20.0, 22.0, 0.0, 0.0, 0.0, 0.0, 15.0, 13.0, 14.0]

0 commit comments

Comments
 (0)