[OSM-dev] OSM + iD + Nominatim Setup instructions

Stadin, Benjamin Benjamin.Stadin at heidelberg-mobil.com
Sat Jun 11 01:17:35 UTC 2016

I've managed to install a small OSM test setup with a local instance of Nominatim. I can edit and save map changes via the iD editor that is bundled with OSM.

However, I didn't have success with using an isolated instance of iD. I've edited config.js as below, but I can't connect to the API.

Is it because I need a user session?



        protocol = useHttps ? 'https:' : 'http:',
        url = protocol + '//localhost',
        connection = {},
        inflight = {},
        loadedTiles = {},
        tileZoom = 16,
        oauth = osmAuth({
            url: protocol + '//localhost',
            oauth_consumer_key: 'xxx',
            oauth_secret: 'yyy',
            loading: authenticating,
            done: authenticated

Von: Simon Poole <simon at poole.ch>
Gesendet: Sonntag, 5. Juni 2016 23:59
An: dev at openstreetmap.org
Betreff: Re: [OSM-dev] OSM + iD + Nominatim Setup instructions

It is probably a good idea to have a look at


of which cgimap and developing it further is a key piece.


Am 04.06.2016 um 18:34 schrieb Stadin, Benjamin:
Hi Bryan,

thank you for these pointers.

A somehwat unrelated question: The FAQ mentions cgimap. Is this performance optimized map API implementation still relevant and is it still in use? Will a production system benefit from this significantly, when it has to deal with lots of requests?

Von: Bryan Housel <bryan at 7thposition.com><mailto:bryan at 7thposition.com>
Gesendet: Samstag, 4. Juni 2016 18:03:19
An: Stadin, Benjamin
Cc: osm-dev
Betreff: Re: [OSM-dev] OSM + iD + Nominatim Setup instructions

Hi Ben,

iD's connection to OSM is in `connection.js`:

iD's connection to Nominatim is in the `nominatim.js` service:

See also from our FAQ:

Thanks, Bryan

On Jun 3, 2016, at 7:54 PM, Stadin, Benjamin <Benjamin.Stadin at heidelberg-mobil.com<mailto:Benjamin.Stadin at heidelberg-mobil.com>> wrote:

Hi list,

I¹m on a quest to setup an own instance of OSM, altogether with Nominatim
and iD editor. iD should communicate with this very instance of OSM and
not with the global OSM website.

While I¹ll continue to digg into the code, do you have some valuable
pointers for me about installing and configuring these three? While the
website is documented well, this triplet is not. It doesn¹t seem to be
common (understandably, but I really need to do this).


dev mailing list
dev at openstreetmap.org<mailto:dev at openstreetmap.org>

dev mailing list
dev at openstreetmap.org<mailto:dev at openstreetmap.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20160611/126a24de/attachment.html>

More information about the dev mailing list