Skip to main content

Questions tagged [nominatim]

Is a tool to search OSM data by name and address and to generate synthetic addresses of OSM points (reverse geocoding).

Filter by
Sorted by
Tagged with
0 votes
1 answer
711 views

Limit search in OpenLayers with Nominatim to a certain city

I'm using ol.control.SearchNominatim for address search. However, I would like to limit the search to only one country, state and city. For example: country = Brazil, state = Sao Paulo, city ​​= Sao ...
2 votes
3 answers
8k views

Getting state but want country with Nominatim geocoder in GeoPy

I use the GeoPy library in Python to find the location of countries. I use country names as input, like: geolocator = Nominatim(user_agent="[email protected]") geolocator.geocode(&...
0 votes
0 answers
10 views

Nominatim 4.4.0 motorway_link not imported despite editing import.lua files

Hi I have nominatim installed on a ubuntu VM which I use for reverse geo-lookup. All is going well, but nominatim doesn't return the correct object when I do a reverse lookup for a highway entrance (...
17 votes
1 answer
55k views

User_Agent argument in Nominatim in GeoPy

I am trying to understand argument in package geopy and Nominatim geocoder. from geopy.geocoders import Nominatim geolocator = Nominatim(user_agent="specify_your_app_name_here") from their ...
0 votes
0 answers
33 views

How can I find out if a specific GeoLocation is on a motorway, in a urban area or outside a urban area (using OSM Nominatim)?

I have a list of geo-locations (latitude, longitude) as a track of a vehicle driving around the country. I need to find out how many kilometers did the vehicle drove on the motorway, inside urban ...
4 votes
1 answer
2k views

Write Nominatim-like geocode query using only PostGIS functions?

I'm new to PostGIS and was anticipating being able to write geocode queries using only the functions provided by PostGIS. However, once I loaded my database using osm2pgsql and discovered tables like ...
2 votes
1 answer
273 views

Using QGIS to obtain lat/long coordinates from large data with addresses

In QGIS, I have a requirement to obtain lat/long coordinates for an US address, and I'm looking for low-cost alternatives to the Google Maps API. I have a (very) large dataset; right now I'm looking ...
3 votes
1 answer
930 views

Nominatim API for long streets

I'm using the Nominatim API in GeoJSON method to retrieve streets poly line. For short streets I have no issue and the results are good. However for long streets the data I'm getting back in the JSON ...
8 votes
3 answers
1k views

Geocoding to shape instead of coordinate

Geocoding to a shape instead of a point The project I'm currently working on is Find-A-Record. We are geocoding genealogical record collections and storing them in a spatial index (browse our blog if ...
0 votes
1 answer
1k views

How to solve the Nominatim problem

I have a mini project about "Weather App", i use Nominatim to get location but it seems like not working. Here is the code from tkinter import * import tkinter as tk from geopy.geocoders ...
0 votes
0 answers
82 views

Finding appropriate osmfilter syntax for city, state/province, and postal code mappings for geocoding

I have a goal of running a Nominatim instance that's capable of geocoding at the city / postal code level. My understanding (which could be wrong since I'm pretty new to OSM data) is that I can filter ...
0 votes
1 answer
34 views

Obtaining label-node instead of city boundry polygon when using OSM Place Search in QGIS

I am using OSM Place Search Plugin in QGIS for searching and importing places, cities, towns etc. from Openstreetmap database into my projects. Great Plugin by the way. But I have a big problem. When ...
2 votes
1 answer
781 views

How to save overpy query to .osm?

I am using overpy to collect data information about taxiways, taxilanes and parking positions of an airport (icao code LOWW). I was able to achieve my goal I wrote the following lines of code: import ...
12 votes
2 answers
11k views

Difference between osm_id and place_id?

I'd like to know what the difference is between place_id and osm_id. I understand osm_id is some sort of reference number + more convenient for OSM to find location v. lat/lng. If this is the case, ...
0 votes
1 answer
389 views

Cannot find QuickOSM plugin in QGIS 3.28

I have the same issue as described in this quesion: Can't find QuickOSM plugin in Qgis, but in a newer version (3.28). The top bar of my QGIS looks like this: The answer to the previously asked ...
0 votes
0 answers
88 views

How to get extent of district when select by search nominatim

I using search nominatim function from ol-ext library. I want to get extent from search results of county or city when selecting but I haven't found the solution yet. This is my code: update // ...
2 votes
1 answer
4k views

Constructing query in Nominatim

I wonder how to construct the structured query URL for the OSM Nominatim? According to the documentation, one can use the free-form-query or the structured-query. This is the base url https://...
2 votes
0 answers
1k views

How to remove a marker from a Leaflet map?

I'm currently making a website where I'm using Leaflet 1.7.1 and Nominatim API and VueJS 3 and I'm trying to delete the marker after I search an address. When I search the address the first time ...
1 vote
0 answers
291 views

DefinitivelyTyped nominatim search result type?

When I use a query like this: https://nominatim.openstreetmap.org/?addressdetails=1&q=bakery+in+berlin+wedding&format=json&limit=1 (from https://nominatim.org/release-docs/develop/api/...
6 votes
2 answers
3k views

Definitive list of Nominatim types and categories?

Is there a definitive list somewhere on the interwebs of the category and type values in Nominatim? I've been doing some Googling but found nothing as yet.
0 votes
1 answer
583 views

Highlight city, town, village or hamlet name in Leaflet [closed]

I'm fairly new to GIS programming but I've managed to do the following in Leaflet along with OSM: Display the map (very simple indeed) Get coordinates from user input (onClick on map, gives me lat/...
0 votes
0 answers
905 views

Nominatim does not provide zipcode for some latitude/longitude values

I am using Nominatim from the GeoPy Python library to obtain Zip Code given Latitude and Longitude. def get_zip_code(x): geolocator = geopy.Nominatim(user_agent="check_1") location =...
0 votes
0 answers
2k views

Failed to establish connection with 'nominatim.openstreetmap.org'. Max retries exceeded with url

For some reason I cannot establish connection with nominatim.openstreetmap.org. Error texts says Max retries exceeded with url but it works fine on my Jupyter Notebook. The issue comes when I run my ...
8 votes
2 answers
35k views

Avoid time out error Nominatim Geopy OpenStreetMap

How to avoid the GeocoderTimedOut('Service timed out') error in GeoPy using the OSM Nominatim geocoder? I am not interested in using an exception and skip some entries. I already use a time delay of 1....
1 vote
1 answer
253 views

Adding nominatim control from sidebar in OpenLayers?

I'm using the example http://viglino.github.io/ol-ext/examples/search/map.control.searchnominatim.html to search with Nominatim. I have a sidebar and I would like when I click the button in the ...
2 votes
1 answer
459 views

Control search Nominatim in OpenLayers: change properties

I'm using the example http://viglino.github.io/ol-ext/examples/search/map.control.searchnominatim.html to search with Nominatim. How can I configure the control to perform the search in a single ...
2 votes
4 answers
875 views

Seeking bulk geocoding service for Brazil that allows permanent lat/long data storage

I have to geocode a huge dataset, with about 35 million addresses from Brazil. I was not able to find a good solution, even considering paid geocoders. So, I'd like to know if there is any geocoder ...
8 votes
1 answer
25k views

Max retries exceeded with URL in Nominatim with GeoPy

I'm trying to get a country name by lat lon (reverse encoding) using Python. I got to Nominatim with GeoPy which worked great two times but now I keep getting Max retries exceeded error. My code: from ...
4 votes
1 answer
4k views

Getting output in different language in GeoPy

I am using django-cities and GeoPy. I am trying to get city name, id and country name, id based on given latitude and longitude. Normally this is how you can get city and country using GeoPy. from ...
1 vote
0 answers
429 views

python osmnx geocode_to_gdf Nominatim not working while web-based openstreetmaps does

I am trying to geocode a list of objects (mostly road names) to their coordinates from python wth osmnx.geocode_to_gdf. The problem is that I often get returned with the following error message (...
4 votes
1 answer
683 views

Combining location from Nominatim with Overpass API query using Python

I try to get the geocodes coordinates from the location(nominatim) into the Overpass query. Is there an easy way to do this? import json import requests from geopy.geocoders import Nominatim ...
2 votes
2 answers
1k views

Nominatim limit and importance

If I limit the results by nominatim will they be ordered by importance? So if I set ?limit=1 will I get the match with the highest importance? If not, how can I enforce this?
2 votes
1 answer
1k views

Query limit Nominatim

I have a local Nominatim instance in which I carry out searches within a bounding box. The problem is that for whatever value of limit, I get a maximum of 50 results. I understand that this is the ...
1 vote
0 answers
305 views

How to format or access properties of reverse geocoding results with Nominatim in GeoPandas

I'm working on a small app where I want to collect the nearest street address from geotagged images. I have currently succeeded in pulling a PostGIS table into a geodataframe and running my points ...
1 vote
2 answers
1k views

osm2pgsql error when import pbf for Nominatim DB

I am getting the following error when running utils/setup.php in nominatim 2.1: Reading in file: /storage/Library/geodata/africa-latest.osm.pbf Processing: Node(54854k 62.1k/s) Way(4740k 8.26k/s) ...
1 vote
2 answers
1k views

Is geocoding with Nominatim available for all the countries?

I am trying to geocode an address using Nominatim for Malaysia but it cannot recognize it using his page: https://nominatim.openstreetmap.org/. Is Nominatim available only for certain countries?
0 votes
1 answer
165 views

Getting "No input file specified" when running a search query

I installed successfully nominatim and testing it with nominatim serve returns correct answers. When I try it directly from the command line with nominatim search --query 'Avd Ricardo Soriano, ...
0 votes
1 answer
886 views

Is OpenStreetMaps's Nominatim "Centre Point" the centroid and what EPSG is it?

I looked up a couple of places on OpenStreetMap's Nominatim, like Bruck an der Mur, and I could not confirm whether the reported coordinates are indeed the same thing as the centroid, and which EPSG ...
7 votes
4 answers
5k views

Seeking hosted nominatim services

Are there hosted nominatim services that can do all it's duties (particularly reverse-geocoding) all over the world? We have a high volume of lookups (we dont want to be throttled) but we want to ...
5 votes
1 answer
10k views

Bulk reverse geocoding with Geopy using built-in rate_limiter

I have a dataset with latitude and longitude coordinates, and I would like to get actual addresses for those. Since I'm using Geopy and Nominatim, I am limited to 1 request per second. Although the ...
2 votes
2 answers
1k views

Where to get city boundaries without sea area as a geometry polygon?

I am using OpenStreetMap's Nominatim to find out boundary geometry of single cities: Helsinki That polygon however contains the sea area and I would like to exclude that. So where could I get city ...
1 vote
1 answer
147 views

Reformatting API Call results in an Atlas. Nominatim and OpenWeatherMap

I am creating information sheets for geotagged photos using the atlas features in QGIS 3.14. Some of the information is created using a graphical model but I want to add some more using API calls. I ...
4 votes
2 answers
2k views

Find parent place using nominatim

I have a locally hosted Nominatim service. I'm trying to reverse geocode a lat, lon to a place hierarchy. E.g. https://nominatim.openstreetmap.org/search.php?q=30.284780%2C+-97.738831&viewbox=-...
1 vote
0 answers
133 views

Getting JSON data from Google Maps [duplicate]

I have reviewed Getting polygon boundaries of City in JSON from Google Maps API? as well as the answers by german_martin and Kamil Latosinski. There are two critical weaknesses in Nominatim, using ...
3 votes
1 answer
1k views

Getting list of result from GeoPy Nominatim

How can I get list of possible result in Nominatim? My code is geolocator = Nominatim(user_agent="[email protected]") location = geolocator.geocode("School") location.raw but ...
1 vote
0 answers
77 views

How to get city updates for nominatim

I'm using nominatim as a forward/reverse geocoder. My search target is a city. Nominatim only provides the update mechanism for countries. My current solution is to use something like osmium to get ...
0 votes
0 answers
1k views

Python - Getting coordinates without restrictions

I'm using Python for getting coordinates (latitude & longitude) for a comprehensive list of cities and postal codes (thousands of rows, nearing 10 000 rows). At the moment I'm using geopy and ...
1 vote
0 answers
1k views

Geocoding search bar input into city with Nominatim and Leaflet

Is it possible to transform a search bar into a geocoder with Nominatim and Leaflet? Using the search bar I would like to search for a city to view weather information and view it on the map. In the ...
5 votes
2 answers
2k views

How can I decrease size of geodatabase "Nominatim"?

I downloaded Nominatim http://wiki.openstreetmap.org/wiki/Nominatim/Installation. The database size is more than 400 GB. The speed of geocoding is very slow. I want to increase it. For example, I ...
1 vote
1 answer
3k views

Get only street names from Overpass

Is it possible to get a list of street names (without house numbers) by bounding box with Overpass or Nominatim? I got this query, but it is with house numbers so the responce JSON is big [out:json][...