Loading...
Loading...
Compare original and translation side by side
find-nearbynearby--near "<place>"find-nearbyfind-nearbynearby--near "<地点>"nearbysearchreversenearbydistancedirectionstimezoneareabboxnearbysearchreversenearbydistancedirectionstimezoneareabbox~/.hermes/skills/maps/scripts/maps_client.py~/.hermes/skills/maps/scripts/maps_client.pyMAPS=~/.hermes/skills/maps/scripts/maps_client.pyMAPS=~/.hermes/skills/maps/scripts/maps_client.pypython3 $MAPS search "Eiffel Tower"
python3 $MAPS search "1600 Pennsylvania Ave, Washington DC"python3 $MAPS search "Eiffel Tower"
python3 $MAPS search "1600 Pennsylvania Ave, Washington DC"python3 $MAPS reverse 48.8584 2.2945python3 $MAPS reverse 48.8584 2.2945undefinedundefined
46 categories: restaurant, cafe, bar, hospital, pharmacy, hotel, guest_house,
camp_site, supermarket, atm, gas_station, parking, museum, park, school,
university, bank, police, fire_station, library, airport, train_station,
bus_stop, church, mosque, synagogue, dentist, doctor, cinema, theatre, gym,
swimming_pool, post_office, convenience_store, bakery, bookshop, laundry,
car_wash, car_rental, bicycle_rental, taxi, veterinary, zoo, playground,
stadium, nightclub.
Each result includes: `name`, `address`, `lat`/`lon`, `distance_m`,
`maps_url` (clickable Google Maps link), `directions_url` (Google Maps
directions from the search point), and promoted tags when available —
`cuisine`, `hours` (opening_hours), `phone`, `website`.
支持46种分类:restaurant、cafe、bar、hospital、pharmacy、hotel、guest_house、camp_site、supermarket、atm、gas_station、parking、museum、park、school、university、bank、police、fire_station、library、airport、train_station、bus_stop、church、mosque、synagogue、dentist、doctor、cinema、theatre、gym、swimming_pool、post_office、convenience_store、bakery、bookshop、laundry、car_wash、car_rental、bicycle_rental、taxi、veterinary、zoo、playground、stadium、nightclub。
每个结果包含:`name`(名称)、`address`(地址)、`lat`/`lon`(纬度/经度)、`distance_m`(距离,单位米)、`maps_url`(可点击的Google Maps链接)、`directions_url`(从搜索点出发的Google Maps导航链接),以及可用的附加信息标签——`cuisine`(菜系)、`hours`(营业时间)、`phone`(电话)、`website`(官网)。python3 $MAPS distance "Paris" --to "Lyon"
python3 $MAPS distance "New York" --to "Boston" --mode driving
python3 $MAPS distance "Big Ben" --to "Tower Bridge" --mode walkingpython3 $MAPS distance "Paris" --to "Lyon"
python3 $MAPS distance "New York" --to "Boston" --mode driving
python3 $MAPS distance "Big Ben" --to "Tower Bridge" --mode walkingpython3 $MAPS directions "Eiffel Tower" --to "Louvre Museum" --mode walking
python3 $MAPS directions "JFK Airport" --to "Times Square" --mode drivingpython3 $MAPS directions "Eiffel Tower" --to "Louvre Museum" --mode walking
python3 $MAPS directions "JFK Airport" --to "Times Square" --mode drivingpython3 $MAPS timezone 48.8584 2.2945
python3 $MAPS timezone 35.6762 139.6503python3 $MAPS timezone 48.8584 2.2945
python3 $MAPS timezone 35.6762 139.6503python3 $MAPS area "Manhattan, New York"
python3 $MAPS area "London"python3 $MAPS area "Manhattan, New York"
python3 $MAPS area "London"python3 $MAPS bbox 40.75 -74.00 40.77 -73.98 restaurant --limit 20areapython3 $MAPS bbox 40.75 -74.00 40.77 -73.98 restaurant --limit 20arealatitude:longitude:nearbyundefinedlatitude:longitude:nearbyundefined
Present results as a numbered list with names, distances, and the
`maps_url` field so the user gets a tap-to-open link in chat. For "open
now?" questions, check the `hours` field; if missing or unclear, verify
with `web_search` since OSM hours are community-maintained and not always
current.
将结果以编号列表形式展示,包含名称、距离以及`maps_url`字段,方便用户在聊天中点击打开链接。对于“是否营业?”这类问题,可查看`hours`字段;若该字段缺失或信息不明确,建议通过`web_search`验证,因为OSRM的营业时间由社区维护,并非始终最新。nearby --near "Colosseum Rome" --category restaurant --radius 500nearby LAT LON cafe --radius 1500directions "Hotel Name" --to "Conference Center" --mode walkingarea "Downtown Seattle"bbox S W N E restaurant --limit 30nearby --near "Colosseum Rome" --category restaurant --radius 500nearby LAT LON cafe --radius 1500directions "Hotel Name" --to "Conference Center" --mode walkingarea "Downtown Seattle"bbox S W N E restaurant --limit 30nearby--near "<address>"distancedirections--tonearby--near "<地址>"distancedirections--topython3 ~/.hermes/skills/maps/scripts/maps_client.py search "Statue of Liberty"python3 ~/.hermes/skills/maps/scripts/maps_client.py search "Statue of Liberty"undefinedundefined