>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:[EMAIL PROTECTED] Gesendet: Mi 03.12.2008 10:42 An: Hugentobler Marco Cc: qgis-user@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? _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user