OSM website clone: error while saving my editions

Simon Poole simon at poole.ch
Thu Jul 8 15:57:17 UTC 2021


It would be better to look at this in the Vespucci
https://github.com/MarcusWolschon/osmeditor4android/issues repo where
you can document what you are seeing with screenshots.

Simon

Am 08.07.2021 um 17:53 schrieb Sim Tov:
> If I press on the "eye" near the "OpenStreetMap (Standard)" -
> everything disappears - both "graphic"(green/grey/etc. areas) and "geo
> objects(like street names, etc. and the point I've added to the OSM as
> well).
>
> What does it tell us?
>
> On Thu, Jul 8, 2021 at 6:30 PM Simon Poole <simon at poole.ch
> <mailto:simon at poole.ch>> wrote:
>
>     The tile layer is the regular tile layer, as has already been
>     pointed out, they have nothing to do with the data API. Selectable
>     and editable OSM data is somethign quite different (quick check to
>     be sure, you can hide / show the data layer to see if anything can
>     be changed).
>
>     Simon
>
>     Am 08.07.2021 um 17:09 schrieb Sim Tov:
>>     It was exactly as in your screenshot, but still I see the point
>>     that is unique to the original OSM and should not be present in
>>     my own instance...
>>     I tried to
>>
>>     1. "Clear and download current view"
>>     2. restart the app
>>
>>     but both it didn't help.
>>
>>     Restart the smartphone?
>>     Or maybe it's because I have in imagery : "OpenStreetMap
>>     (Standard)" - but what else should I put here?
>>
>>     Thank you!
>>
>>
>>     On Thu, Jul 8, 2021 at 5:58 PM Simon Poole <simon at poole.ch
>>     <mailto:simon at poole.ch>> wrote:
>>
>>         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/ebd2f852/attachment-0001.htm>


More information about the rails-dev mailing list