I'm new in Web mapping, I need web map editor. I found the iD Editor but I couldn't configure it to my own osm server! I don't know how is it working with API and Oauth.
How to configure the iD editor in my server without Oauth and how to create API?
Thanks.
The openstreetmap-website documentation has a excellent tutorial of how to use an editor with the openstreetmap-api.
The example of the doc is using the Potlatch 2 editor, but you can do the same process for registering and configuring iD (id_key) and the website/Notes (oauth_key).
Do the following:
An example excerpt from application.yml:
# Default editor
default_editor: "id"
# OAuth consumer key for iD
id_key: "8lFmZPsagHV4l3rkAHq0hWY5vV3Ctl3oEFY1aXth"
To use the iD editor you need to use OAuth authorization, otherwise, you can use the JOSM editor which you can choose a base authentication.
# Default editor
default_editor: "id"
# OAuth consumer key for iD
oauth_key: "8lFmZPsagHV4l3rkAHq0hWY5vV3Ctl3oEFY1aXth"
to change:
# OAuth consumer key for iD
id_key: "8lFmZPsagHV4l3rkAHq0hWY5vV3Ctl3oEFY1aXth"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With