Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Nominating #622

Closed
stefan-niedermann opened this issue Jan 28, 2015 · 6 comments
Closed

Integrate Nominating #622

stefan-niedermann opened this issue Jan 28, 2015 · 6 comments

Comments

@stefan-niedermann
Copy link

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.

@tombatossals
Copy link
Owner

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?

@stefan-niedermann
Copy link
Author

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?

@razvansr
Copy link

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

@tombatossals
Copy link
Owner

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.

@nmccready
Copy link
Contributor

This issue was moved to angular-ui/ui-leaflet#47

@elesdoar elesdoar reopened this Oct 29, 2015
@tombatossals
Copy link
Owner

I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.

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

No branches or pull requests

5 participants