Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

 
discard

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

Browse other questions tagged or ask your own question.