[OSM-dev] extracting output text from api_controller

Tom Hughes tom at compton.nu
Wed Jan 23 17:33:11 GMT 2008


In message <e04cd2420801230920t7eec23e6q4d21e298c38130a3 at mail.gmail.com>
        Xin Zheng <xin at zxv.ltd.uk> wrote:

> My aim is to clean up the code so I can easily and safely add new
> functionality. Extracting the output string like this takes a step in that
> direction.

Clearly this is not bad as such, and it doesn't do any significant
damage beyond perhaps making certain types of edit to the code a bit
more of a pain, so if you really want to do it then fine. I just don't
think it's worth spending a lot of time on when there are better
things to do.

If you want to do something useful to the map call then review the
patch at http://trac.openstreetmap.org/ticket/648 and consider
applying it, and see if you can tidy things up now that we have
the multi component key stuff - the version in amf_controller
looks quite a lot nicer than the main map call now ;-)

With that I think I'm going to tune out for a few days and let you
three get on with whatever it is you're going to do and I'll look at
what you come up with next week or something rather than trying to 
keep up in real time.

Have fun, and try not to do too much damage guys!

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list