1
Find And Run Robot / Re: Openstreetmap alias(es)?
« on: October 17, 2020, 02:55 AM »
or you can add 'from' to the alias, then you don't need + signs or quotes in the seach field
regex
dir (.+) from (.+)
in combination with (same as before)
alias result
To: $$1 From: $$2 | https://www.openstre...p.org/directions?to="$$1"&from="$$2"
you can also add ' to' and ' from' to the alias (please note the use of $$3)
regex
dir (.+) (from|to) (.+)
filter results (to only show the results containing 'to' or 'from'
$$2
directions for $$1 to $$3 | https://www.openstre...p.org/directions?to="$$3"&from="$$1"
directions for $$1 from $$3 | https://www.openstre...p.org/directions?to="$$1"&from="$$3"
directions for $$1 from HOME | https://www.openstre...p.org/directions?to="$$1"&from="HOME ADDRESS"
directions for $$1 from OFFICE | https://www.openstre...p.org/directions?to="$$1"&from="OFFICE ADDRESS"
example
dir segbroeklaan, den haag to schiphol airport
or
dir circuit, zandvoort from home
of course you need to replace HOME ADDRESS with your own home address ;-)
regex
dir (.+) from (.+)
in combination with (same as before)
alias result
To: $$1 From: $$2 | https://www.openstre...p.org/directions?to="$$1"&from="$$2"
you can also add ' to' and ' from' to the alias (please note the use of $$3)
regex
dir (.+) (from|to) (.+)
filter results (to only show the results containing 'to' or 'from'
$$2
directions for $$1 to $$3 | https://www.openstre...p.org/directions?to="$$3"&from="$$1"
directions for $$1 from $$3 | https://www.openstre...p.org/directions?to="$$1"&from="$$3"
directions for $$1 from HOME | https://www.openstre...p.org/directions?to="$$1"&from="HOME ADDRESS"
directions for $$1 from OFFICE | https://www.openstre...p.org/directions?to="$$1"&from="OFFICE ADDRESS"
example
dir segbroeklaan, den haag to schiphol airport
or
dir circuit, zandvoort from home
of course you need to replace HOME ADDRESS with your own home address ;-)