[Qgis-developer] Full geometry of a point
Matthew Vavrek
mattvavrek at hotmail.com
Fri Apr 3 16:47:40 EDT 2009
I made up a python plugin a while ago that mostly works to convert a
point layer (or selected points) into a .gpx file to make it easier to
select a bunch of points to put on a GPS unit. We wanted it for when we
are prospecting for new fossil sites so that we don't visit old sites,
especially as we have up to 20 people in the field at once. The problem
is I need resolution less than 10 metres, but I can't figure out how to
retrieve the full data for a point using QgsFeature.geometry(). From
what I can see, python (or something) rounds the points off to 6 digits,
which means something like 106.23245 degrees W becomes 106.232 degrees W
(around 40 metres or so; a fair bit when some sites are around only 1
square metre). I know the data is there, because the original layer
shows the finer scale resolution, and if I select and copy the points
from the original layer and then paste into a text document, it shows
the full point location.
Any help on this would be greatly appreciated.
Cheers
Matthew
More information about the Qgis-developer
mailing list