OSM website clone: error while saving my editions
Simon Poole
simon at poole.ch
Thu Jul 8 12:20:59 UTC 2021
Am 08.07.2021 um 14:14 schrieb Sim Tov:
> Thank you!
>
> 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 code 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).
>
> 2. If so, what do you mean by "Basic Auth" and how should I use this
> in order to access my own instance?
"basic auth" is authentication via loding/display name and password.
This can be set somewhere deep in the preferences :-)
http://vespucci.io/help/en/Advanced%20preferences/#server-settings
>
>
> Thank you!
>
>
>
> 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/640fe6df/attachment.htm>
More information about the rails-dev
mailing list