|
Posted by houghi on 07/08/07 22:03
petersprc wrote:
> Here's a script which will convert the URL to an ITN:
>
> <?
<snip excelent script>
Mmm. Small problem if there are negative numbers:
http://tinyurl.com/2uepg3 or
http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=Golf+Links+Rd%2FR151+%4053.706260,+-6.248640&daddr=Golf+Links+Rd%2FR151+%4053.718770,+-6.252960+to%3AR167%2FSt+Mary's+Bridge+%4053.713490,+-6.349130+to%3AWellington+Quay+%4053.713890,+-6.354920+to%3ADominic's+St+%4053.714980,+-6.355000&mrcr=1&mra=mr&sll=53.71332,-6.324606&sspn=0.03764,0.080338&ie=UTF8&ll=53.71266,-6.266499&spn=0.075282,0.160675&z=13&om=1
gives
624864|5370626|Golf Links Rd/R151|4|
625296|5371877|Golf Links Rd/R151|1|
634913|5371349|R167/St Mary's Bridge|1|
635492|5371389|Wellington Quay|1|
635500|5371498|Dominic's St|3|
Where it should be
-624864|5370626|Golf Links Rd/R151|4|
-625296|5371877|Golf Links Rd/R151|1|
-634913|5371349|R167/St Mary's Bridge|1|
-635492|5371389|Wellington Quay|1|
-635500|5371498|Dominic's St|3|
Any idea?
houghi
--
________________________ Open your eyes, open your mind
| proud like a god don't pretend to be blind
| trapped in yourself, break out instead
http://openSUSE.org | beat the machine that works in your head
Navigation:
[Reply to this message]
|