Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Integrate Nominating #47

Open
nmccready opened this issue Oct 29, 2015 · 5 comments
Open

Integrate Nominating #47

nmccready opened this issue Oct 29, 2015 · 5 comments

Comments

@nmccready
Copy link
Contributor

From @stefan-niedermann on January 28, 2015 12:24

Is a Integration of OSM Nominating Service planned?

http://wiki.openstreetmap.org/wiki/Nominatim

As a User i want to be able to pass e.g. a city name instead of coordinates to display a marker.

Copied from original issue: tombatossals/angular-leaflet-directive#622

@nmccready
Copy link
Contributor Author

From @tombatossals on January 29, 2015 11:46

Hi @stefan-niedermann , that's a really interesting feature, I'm going to take a look at integrate it.

How is your idea of using it? We could, for example, define the nominatim server as a default (overridable)

defaults: {
    ...
    nominatim: {
        server: ' http://nominatim.openstreetmap.org/reverse'
    }
}

And the center attribute of the directive could take care of "name" instead of lat/lng parameters:

    center: {
        name: "221B Baker Street, London, UK"
    }

Does this seems acceptable to you? Do you have another idea?

@nmccready
Copy link
Contributor Author

From @stefan-niedermann on January 29, 2015 19:14

And the center attribute of the directive could take care of "name" instead of lat/lng parameters

sounds great!
What i imagined: Use search api (https://nominatim.openstreetmap.org/search?) to get lat and lng. eg a user could define a marker or center map like this:

center: {
    address: {
        street: <housenumber> <streetname>
        city: <city>
        county: <county>
        state: <state>
        country: <country>
        postalcode: <postalcode>
    }
}

so give the user more alternatives:
1.) lat / lng
2.) name (query a string in a unknown format using reverse api)
3.) address (query an address by detailed information using search api)

but what if a user puts multiple of these solutions which are in conflict to each other?

@nmccready
Copy link
Contributor Author

From @razvansr on May 19, 2015 13:52

Hi guys,
Is this feature still planned for a future release?

@nmccready
Copy link
Contributor Author

From @tombatossals on July 4, 2015 17:1

Hi, I have integrated the Nominatim with the "bounds" property. This will be merged soon if the rest of developers consider it interesting. We could think about adding this feature with the "center" property too.

@sachin8080
Copy link

Hi @nmccready ,
Currently the default nominatim search url is over http.
nominatim: { server: ' http://nominatim.openstreetmap.org/search' }.
There should be a provision to override this url in the defaults property to make this call over https instead of http.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants