Using geographic coordinates with pyshapelib
Sept. 11, 2009
2:35 p.m.
Hi, Can I use lat/long coordinates directly when creating shapes with pyshapelib. I mean, for instance in the following sample program that uses pyshapelib (from : software.stablers.net/files/shapelibSample.py) could I use lat/long in the parameters of SHPObject def make_shapefile(filename): obj = shapelib.SHPObject(shapelib.SHPT_POLYGON, 1, [[(10, 10), (20, 10), (20, 20), (10, 10)]]) print obj.extents() print obj.vertices() outfile = shapelib.create(filename, shapelib.SHPT_POLYGON) Do I need to specify anything so that ArMap interprets the coordinates correctly when importing the created shapefile? Thanks very much.
6182
Age (days ago)
6182
Last active (days ago)
0 comments
1 participants
participants (1)
-
bar tomas