mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-26 13:27:52 +03:00
parent
5f4e98e0d9
commit
02645277c8
@ -251,9 +251,9 @@ class APIDetails:
|
||||
if args.node:
|
||||
params = dict(osmtype='N', osmid=args.node)
|
||||
elif args.way:
|
||||
params = dict(osmtype='W', osmid=args.node)
|
||||
params = dict(osmtype='W', osmid=args.way)
|
||||
elif args.relation:
|
||||
params = dict(osmtype='R', osmid=args.node)
|
||||
params = dict(osmtype='R', osmid=args.relation)
|
||||
else:
|
||||
params = dict(place_id=args.place_id)
|
||||
if args.object_class:
|
||||
|
Loading…
Reference in New Issue
Block a user