OSM website clone: error while saving my editions

Simon Poole simon at poole.ch
Thu Jul 8 14:58:05 UTC 2021


You do have to explicitly select the entry you want to use, see the
enclosed screenshot.


Am 08.07.2021 um 14:58 schrieb Sim Tov:
>
>>     I added my custom api URL in the form
>>     http://map.example.com:123/api/0.6
>>     <http://map.example.com:123/api/0.6> along with/instead of OSM
>>     data api URL... then "Clear and download current view" and indeed
>>     I get "Download failed with error cavode 404, message Not found"...
>>
>>     1. Is this what you mean by the "inability to use OAuth with
>>     custom API sources"?
>     No, downloads are currently not authenticated and should work in
>     any case (you may be missing a trailing "/" in the url).
>
>
> You were correct. Once I added the trailing "/" I got no more
> complaints from the server and Vispucci seems to download something.
> However I still seem to get OSM data and not from my own instance. I
> know, because I added certain point on the OSM site **after**
> deploying my own website. I don't see that point in my instance via
> web interface (as I didn't synchronized it with the OSM). However I
> still do see this point in Vispucci. So I suspect that either (a) I
> didn't switch completeley from the original OSM data API (which is
> strange, because I did get an error and fixed it) or (b) there some
> sort of caching of the data and that's why I still see that point that
> should not be present in my instance... If so - how should I flush the
> data cache?
>
> Thank you again!
>
>  
>
>
>>
>>     On Thu, Jul 8, 2021 at 1:09 PM Simon Poole <simon at poole.ch
>>     <mailto:simon at poole.ch>> wrote:
>>
>>         For Vespucci see
>>         http://vespucci.io/help/en/Main%20map%20display/#layer-control
>>         <http://vespucci.io/help/en/Main%20map%20display/#layer-control>
>>
>>         OAuth support for custom API sources will fail because there
>>         is currently no way to add client keys without rebuilding (is
>>         however in the pipeline), but basic auth should work just fine.
>>
>>         Am 08.07.2021 um 11:32 schrieb Sim Tov:
>>>         Thank you very much Tom for the quick and detailed response!
>>>         Due to your advice I was able to make my instance save
>>>         edits. I'm new to OSM and just learning all the components,
>>>         so your assistance is invaluable!
>>>
>>>         Now I want to be able to connect to my instance with an
>>>         Android app in order to make edits. I took a look on the
>>>         StreetComplete, and saw that it is by default is connected
>>>         to the OSM website...
>>>
>>>         1. Is there a way to connect StreetComplete ty my instance
>>>         for editing purposes?
>>>         2. Are there other apps that can do it? What about Vespucci?
>>>
>>>         Thank you again!
>>>
>>>
>>>
>>>             > However I got an error response (see attachments):
>>>             >
>>>             > Routing Error
>>>             > No route matches [GET] "/land.html"
>>>             >
>>>             > Rails.root: /app
>>>             >
>>>             >
>>>             > So my second question is:
>>>             >
>>>             > 2. Why do I get error and how can I fix it?
>>>
>>>             Don't worry about it - once you fix the previous issue this
>>>             one should go away I think.
>>>
>>>             >
>>>             > 3. Is there a way in the web site settings to show my
>>>             map only to logged
>>>             > in users and not to everybody?
>>>
>>>             No.
>>>
>>>             Tom
>>>
>>>             -- 
>>>             Tom Hughes (tom at compton.nu <mailto:tom at compton.nu>)
>>>             http://compton.nu/ <http://compton.nu/>
>>>
>>>
>>>         _______________________________________________
>>>         rails-dev mailing list
>>>         rails-dev at openstreetmap.org <mailto:rails-dev at openstreetmap.org>
>>>         https://lists.openstreetmap.org/listinfo/rails-dev <https://lists.openstreetmap.org/listinfo/rails-dev>
>>         _______________________________________________
>>         rails-dev mailing list
>>         rails-dev at openstreetmap.org <mailto:rails-dev at openstreetmap.org>
>>         https://lists.openstreetmap.org/listinfo/rails-dev
>>         <https://lists.openstreetmap.org/listinfo/rails-dev>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210708/d09bcf0a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_1625756057.png
Type: image/png
Size: 96156 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210708/d09bcf0a/attachment-0001.png>


More information about the rails-dev mailing list