Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Look up information about a given location from the OpenStreetMap Nominatim public web service
ResourceFunction["NominatimData"][] returns address information about the current geolocation. | |
ResourceFunction["NominatimData"][lat,lon] returns the address information from a specific geolocation provided by two real number for latitude lat and longitude lon. | |
ResourceFunction["NominatimData"][{lat,lon}] return the address information from a specific geolocation provided by two real number in a list for latitude lat and longitude lon. | |
ResourceFunction["NominatimData"][query] return the address information for a given query in plain English text. | |
ResourceFunction["NominatimData"][assoc] return the address information for a given Association. |
Search for the address for the current location:
In[1]:= | ![]() |
Out[1]= | ![]() |
Search for White House address:
In[2]:= | ![]() |
Out[2]= | ![]() |
List NASA address at Florida:
In[3]:= | ![]() |
Out[3]= | ![]() |
Request a specific data format such as XML:
In[4]:= | ![]() |
Out[4]= | ![]() |
Geojson format, note that Insper has 2 addresses side by side:
In[5]:= | ![]() |
Out[5]= | ![]() |
Geojson format:
In[6]:= | ![]() |
Out[6]= | ![]() |
Check address data from the Sugar Loaf Entity at Rio de Janeiro city in Brazil:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
Get data from a GeoPosition:
In[9]:= | ![]() |
Out[9]= | ![]() |
Image from La Casa Rosada in Buenos Aires, Argentina:
In[10]:= | ![]() |
Out[10]= | ![]() |
Notes that the latitude (lat) and longitude (lon) fields are in text (string), conversion to float is needed:
In[11]:= | ![]() |
Out[11]= | ![]() |
Times Square location in NYC:
In[12]:= | ![]() |
Out[12]= | ![]() |
In[13]:= | ![]() |
Out[13]= | ![]() |
In[14]:= | ![]() |
Out[14]= | ![]() |
The capital of Brazil, "Distrito Federal":
In[15]:= | ![]() |
Out[15]= | ![]() |
In[16]:= | ![]() |
Out[16]= | ![]() |
In[17]:= | ![]() |
Out[17]= | ![]() |
Search by a company name:
In[18]:= | ![]() |
Out[18]= | ![]() |
Plot the location of stores addresses using geographic information:
In[19]:= | ![]() |
Out[19]= | ![]() |
Find your preferred store:
In[20]:= | ![]() |
Out[20]= | ![]() |
And visualize it:
In[21]:= | ![]() |
Out[21]= | ![]() |
Search address by a ZIP code:
In[22]:= | ![]() |
Out[22]= | ![]() |
The Terminator would love this function, it makes easy to find somebody:
In[23]:= | ![]() |
Out[23]= | ![]() |
Search for a street name:
In[24]:= | ![]() |
Out[24]= | ![]() |
Some queries can return a set of results:
In[25]:= | ![]() |
Out[25]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License