[Imports] http://localhost:3000 lost accounts in map editor after update database
Martijn van Exel
m at rtijn.org
Sat Jan 12 16:52:19 UTC 2019
Romeo --
You should look into osmosis' capabilities to update existing databases using change entities (replication), see
https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#Replication_Tasks
and
https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--write-apidb-change_.28--wdc.29
This list is to discuss data imports, not development questions. If you want to discuss this further, you'll have better luck reaching knowledgeable people on the dev at openstreetmap.org list.
--
Martijn van Exel
m at rtijn.org
On Sat, Jan 12, 2019, at 07:47, romeo wrote:
> Imported openstreetmap to my local network, using this guide:
> https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md
> Some problems with ruby and gems but solved.
> Working great.
> How can i make update of database an preserve acounts for map editor
> Update of database:
> 1. `osmosis --truncate-apidb host="localhost" database="openstreetmap" user="openstreetmap" password="" validateSchemaVersion="no"`
> `2. ```osmosis --read-xml file=greater-london-latest.osm --write-apidb host="localhost" database="openstreetmap" user="openstreetmap" password="" validateSchemaVersion="no" with a new osm downloaded from geofabrik``
> ``3. after restarting rail server and access http://localhost:3000 i have no accounts in map editor.``
> ``I must redefine accounts and passwords.``
> ````
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/imports
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20190112/ef1e0d5c/attachment.html>
More information about the Imports
mailing list