Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In python, I use point = geom.asPolyline() but it looks like I am not getting any precision just whole numbers? How can I get the geometry and a certain precision?

share|improve this question
Are you sure that your data contains values after the comma? –  underdark Oct 26 '12 at 13:39
The following is the result: (1.30284e+06,399443). Yes there are more digits to follow. –  GreyHippo Oct 26 '12 at 20:42
I am having the sample pickle. I seek the output style of asPolyline(), yet its limited in precision. Confirmed via use of asWkt(), which shows many more decimal places. –  Katalpa Sep 25 '14 at 0:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.