AW: AW: [Qgis-user] snapping, revisited

Hugentobler Marco marco.hugentobler at karto.baug.ethz.ch
Wed Dec 3 02:12:02 PST 2008


>Can't we reffer to the reprojected coordinates? Maybe it's something to add to 
>the API?

Maybe it is possible with a method that takes the tolerance in pixels, the point where the user clicked and the layer involved. The method then would calculate the search rectangle in layer coordinates.

Marco


-----Ursprüngliche Nachricht-----
Von: Borys Jurgiel [mailto:borys at wolf.most.org.pl]
Gesendet: Mi 03.12.2008 10:42
An: Hugentobler  Marco
Cc: qgis-user at lists.osgeo.org
Betreff: Re: AW: [Qgis-user] snapping, revisited
 
Wednesday 03 of December 2008 09:45:54 Hugentobler Marco napisal(a):
> Hi all,
>
> Same question as the last time we discussed this:
> What shall we do if the layer is reprojected? In most cases, the
> pixel/layer unit is not uniform accross the map canvas. So it is not
> possible to map number of pixels to distance in layer units (or at least
> that would not be valid for the whole map). Let me know if you have any
> good ideas how to solve this.

Can't we reffer to the reprojected coordinates? Maybe it's something to add to 
the API?




More information about the Qgis-user mailing list