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