Opened 10 years ago

Closed 10 years ago

#1319 closed defect (fixed)

:include => :ways fails

Reported by: Richard Owned by: Shaun McDonald
Priority: major Milestone: OSM 0.6
Component: api Version:
Keywords: Cc:

Description

	  nodes_in_area = Node.find_by_area(ymin, xmin, ymax, xmax, :conditions => ["current_nodes.visible = ?", true]), :include => :ways)

doesn't work on 0.6.

If you remove :include=>:ways it does work, but is much slower. (Potlatch uses this for whichways.)

Change History (3)

comment:1 Changed 10 years ago by Tom Hughes

Owner: changed from Tom Hughes to shaun@…

comment:2 Changed 10 years ago by Shaun McDonald

Owner: changed from shaun@… to Shaun McDonald

comment:3 Changed 10 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

This seems to work now - in fact the AMF controller is using it.

Note: See TracTickets for help on using tickets.