Skip to main content
Open

Flow Apps: Customize Geometry Parameter Search

Related products:FME Flow
danilo_fme
crutledge
  • danilo_fme
    danilo_fme
  • crutledge
    crutledge

nia.colebrooke
Safer

Currently, searching for a location in a workspace app’s geometry parameter window appends the search bar contents to Nominatim’s URL.

 

Example 1:

 

What gets appended does not allow users or workspace app authors to include additional parameters limiting users’ search results in the Nominatim URL. Adding parameters that are compatible with the q parameter such as countrycodes, limit, and layer to the Nominatim URL breaks the resulting GET request.

 

Example 2:

 

FME Flow should check if the Nominatim URL already includes parameters designed to limit users’ search results before deciding what to append so the final result is always a valid GET request such as: https://nominatim.openstreetmap.org/search.php?countrycodes=ca&limit=1&q=vancouver&format=jsonv2

 

The current workaround is to add the additional parameters in the search bar. Example: “vancouver&countrycodes=ca&limit=1” This is cumbersome for users.

 

Posted from:

 

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Please also add the option to limit the geometry to a certain area. You can set the initial bounds but that still doesn't stop the user from creating a geometry on the other side of the world.


nia.colebrooke
Safer
Forum|alt.badge.img+3

Great addition.

 

On the topic of the Nominatim API, restricting search results to a specific area is possible using the viewbox and bounded parameters.


hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • April 15, 2025

I haven't really used the mapping part in FME before, but have used Nominatim.

Can you define a selfhosted Nominatim instance to use?


nia.colebrooke
Safer
Forum|alt.badge.img+3

@hkingsbury  Yes, it is possible to use a Nominatim API hosted elsewhere. Please see this article for reference.


nathanatsafe
Safer
Forum|alt.badge.img+7
NewOpen

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings