Don't preload nodes as it seem to break ways with duplicate nodes.

This commit is contained in:
Tom Hughes 2008-02-03 16:28:02 +00:00
parent 88f469eec1
commit 02f768533d

View file

@ -167,7 +167,7 @@ class AmfController < ApplicationController
RAILS_DEFAULT_LOGGER.info(" Message: getway, id=#{wayid}")
way = Way.find(wayid, :include => :nodes)
way = Way.find(wayid)
long_array = []
lat_array = []
points = []