Ticket #12832: gis-docs.patch

File gis-docs.patch, 915 bytes (added by Skylar Saveland, 15 years ago)
Line 
1*** gis-master/layermapping.txt 2010-02-09 17:09:18.998871326 -0500
2--- gis-docs/layermapping.txt 2010-02-09 17:05:45.175869010 -0500
3***************
4*** 41,49 ****
5 ['float', 'int', 'str']
6 >>> print len(layer) # getting the number of features in the layer (should be 3)
7 3
8! >>> print layer.geom_type # Should be 3 (a Polygon)
9 3
10! >>> print layer.srs # WGS84
11 GEOGCS["GCS_WGS_1984",
12 DATUM["WGS_1984",
13 SPHEROID["WGS_1984",6378137,298.257223563]],
14--- 41,51 ----
15 ['float', 'int', 'str']
16 >>> print len(layer) # getting the number of features in the layer (should be 3)
17 3
18! >>> print layer.geom_type.num # Should be 3
19 3
20! >>> print layer.geom_type.name
21! Polygon
22! >>> print layer.srs.prett_wkt # WGS84
23 GEOGCS["GCS_WGS_1984",
24 DATUM["WGS_1984",
25 SPHEROID["WGS_1984",6378137,298.257223563]],
Back to Top