<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Can you share some more information about how the failure occurs?  </div><div class="">Any javascript errors or network errors reported in a developer console?</div><div class="">Maybe you are missing the port that localhost is running on?</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 10, 2016, at 9:17 PM, Stadin, Benjamin <<a href="mailto:Benjamin.Stadin@heidelberg-mobil.com" class="">Benjamin.Stadin@heidelberg-mobil.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">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.</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">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.</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Is it because I need a user session?<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Best</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Ben</div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">        protocol = useHttps ? 'https:' : 'http:',<br class="">        url = protocol + '//localhost',<br class="">        connection = {},<br class="">        inflight = {},<br class="">        loadedTiles = {},<br class="">        tileZoom = 16,<br class="">        oauth = osmAuth({<br class="">            url: protocol + '//localhost',<br class="">            oauth_consumer_key: 'xxx',<br class="">            oauth_secret: 'yyy',<br class="">            loading: authenticating,<br class="">            done: authenticated<br class="">        }),<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); color: rgb(33, 33, 33);" class=""><hr tabindex="-1" style="display: inline-block; width: 742.828125px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>Simon Poole <<a href="mailto:simon@poole.ch" class="">simon@poole.ch</a>><br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Sonntag, 5. Juni 2016 23:59<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span><a href="mailto:dev@openstreetmap.org" class="">dev@openstreetmap.org</a><br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: [OSM-dev] OSM + iD + Nominatim Setup instructions</font><div class=""> </div></div><div class=""><div class="moz-cite-prefix">It is probably a good idea to have a look at<br class=""><pre class=""><a class="moz-txt-link-freetext" href="http://www.asklater.com/matt/blog/2015/11/18/the-road-to-api-07/">http://www.asklater.com/matt/blog/2015/11/18/the-road-to-api-07/</a>

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

Simon 

</pre><br class="">Am 04.06.2016 um 18:34 schrieb Stadin, Benjamin:<br class=""></div><blockquote type="cite" class="">Hi Bryan,<br class=""><br class="">thank you for these pointers.<span class="Apple-converted-space"> </span><br class=""><br class="">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?<span class="Apple-converted-space"> </span><br class=""><br class="">Thanks<br class="">Ben<span class="Apple-converted-space"> </span><hr tabindex="-1" style="display: inline-block; width: 733.03125px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>Bryan Housel<span class="Apple-converted-space"> </span><a class="moz-txt-link-rfc2396E" href="mailto:bryan@7thposition.com"><bryan@7thposition.com></a><br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Samstag, 4. Juni 2016 18:03:19<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span>Stadin, Benjamin<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>osm-dev<br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>Re: [OSM-dev] OSM + iD + Nominatim Setup instructions</font><div class=""> </div></div><div class=""><div class="">Hi Ben,</div><div class=""><br class=""></div><div class="">iD’s connection to OSM is in `connection.js`:</div><div class=""><a href="https://github.com/openstreetmap/iD/blob/a8ac9faad8a597d81813d8effd5cc5c1a1a0a668/js/id/core/connection.js#L8-L19" class="">https://github.com/openstreetmap/iD/blob/a8ac9faad8a597d81813d8effd5cc5c1a1a0a668/js/id/core/connection.js#L8-L19</a></div><div class=""><br class=""></div><div class="">iD’s connection to Nominatim is in the `nominatim.js` service:</div><div class=""><a href="https://github.com/openstreetmap/iD/blob/master/js/id/services/nominatim.js#L3" class="">https://github.com/openstreetmap/iD/blob/master/js/id/services/nominatim.js#L3</a></div><div class=""><br class=""></div><div class="">See also from our FAQ:</div><div class=""><a href="https://github.com/openstreetmap/iD/blob/master/FAQ.md#can-i-use-id-with-my-own-osm-server" class="">https://github.com/openstreetmap/iD/blob/master/FAQ.md#can-i-use-id-with-my-own-osm-server</a></div><div class=""><br class=""></div><div class="">Thanks, Bryan</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 3, 2016, at 7:54 PM, Stadin, Benjamin <<a href="mailto:Benjamin.Stadin@heidelberg-mobil.com" class="">Benjamin.Stadin@heidelberg-mobil.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi list,<br class=""><br class="">I¹m on a quest to setup an own instance of OSM, altogether with Nominatim<br class="">and iD editor. iD should communicate with this very instance of OSM and<br class="">not with the global OSM website.<br class=""><br class="">While I¹ll continue to digg into the code, do you have some valuable<br class="">pointers for me about installing and configuring these three? While the<br class="">website is documented well, this triplet is not. It doesn¹t seem to be<br class="">common (understandably, but I really need to do this).<br class=""><br class="">Cheers<br class="">Ben<br class=""><br class=""><br class="">_______________________________________________<br class="">dev mailing list<br class=""><a href="mailto:dev@openstreetmap.org" class="">dev@openstreetmap.org</a><br class=""><a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a><br class=""></div></div></blockquote></div><br class=""></div><br class=""><fieldset class="mimeAttachmentHeader"></fieldset><br class=""><pre class="">_______________________________________________
dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a>
</pre></blockquote><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div></div></div><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">dev mailing list</span><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="mailto:dev@openstreetmap.org" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">dev@openstreetmap.org</a><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="https://lists.openstreetmap.org/listinfo/dev" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">https://lists.openstreetmap.org/listinfo/dev</a><br style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""></div></blockquote></div><br class=""></body></html>