Opened 10 years ago

Closed 10 years ago

#1319 closed defect (fixed)

:include => :ways fails

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


	  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@…

  • Owner changed from tom@… to shaun@…

comment:2 Changed 10 years ago by smsm1

  • Owner changed from shaun@… to smsm1

comment:3 Changed 10 years ago by tom@…

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.