Il 24/09/13 15:13, Ricardo Cárdenas ha scritto:
> The gluon.tools geocode() function is great.
>
> A minor suggestion. Right now it returns (0,0) on any execption. It
> would be nice if the function distinguished between /unable to geocode
> this address/ and other problems (such as quota reached).
why can't you consider (0,0) as the output for exception? :)
If you prefer you can use assert to raise exception when geocode return
exactly (0,0)

    M.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to