Hi Joe the Quantum Navigator project has been dead for several years, so such errors from old API calls can jump at you from any corner. I'm quite busy nowadays, so I guess you're on your own :-(
btw. for your particular error: try to have a look at the QgsVectorLayer class. There are other snap*() functions which I believe have replaced that snapSegmentWithContext method. Regards Martin On Sun, Oct 17, 2010 at 5:54 PM, Joe Larson <joela...@gmail.com> wrote: > Hello All, > > I'm trying to get Quantum Navigator > http://www.mapserver.sk/~wonder/qnavigator/ going on Maverick Meerkat, built > against QGIS trunk. > > jef on IRC helped me with the API switch past QGIS 1.0, which got me past > the initial 'make' compile. I got through ./dgbuild and can run > qnavigator.py, but when I am in the 'Routing' tab and pass a Start event > from(to) the map. > > seems 'snapSegmentWithContext' is stumping me: > > > Traceback (most recent call last): > File "/home/joe/dev/qnavigator/python/gui/tools.py", line 21, in > canvasReleaseEvent > self.callback(self.pos) > File "/home/joe/dev/qnavigator/python/gui/main.py", line 257, in gotStart > pnt = self.routing.setStart(pos) > File "/home/joe/dev/qnavigator/python/routing/routing.py", line 159, in > setStart > self.start = self.layer.findNearestPoint(point) > File "/home/joe/dev/qnavigator/python/routing/routing.py", line 84, in > findNearestPoint > (result, point, vertexIndex, fid, geom) = > self.snapSegmentWithContext(point, RoutingLayer.tolerance) > AttributeError: 'RoutingLayer' object has no attribute > 'snapSegmentWithContext' > > > does anyone have any advice? i tried adjusting the tolerance, researching > besides that...thank you, > > ~joe > > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > > _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user