[OSM-dev] TIGER import.rb

Richard Fairhurst richard at systemeD.net
Thu Jun 14 17:17:51 BST 2007

Brandon Martin-Anderson wrote:

> At present the Node#from_xml (as well as Segment#from_xml and Way#from_xml)
> method in the rails port iterate through all <node> tags in the posted XML
> request, parse _every one_, and _only return the last one parsed_. It would
> be nigh trivial to return an array of parsed Nodes, and the corresponding
> controller can supervise the insertion of each one into the DB, which should
> be a fairly cheap operation serverside. This would speed up the import of
> counties by orders of magnitude.
> I'm very new here, so what's the best way I can help make that happen?

Post a patch (maybe attached to a trac ticket), someone will test it,  
commit it, and if it works, canonify you (that's a good thing and  
doesn't involve cannons).


More information about the dev mailing list