mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 19:44:07 +00:00
@@ -248,9 +248,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:
|
||||||
|
|||||||
Reference in New Issue
Block a user