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 [email protected] list. -- Martijn van Exel [email protected] 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 > [email protected] > https://lists.openstreetmap.org/listinfo/imports >
_______________________________________________ Imports mailing list [email protected] https://lists.openstreetmap.org/listinfo/imports
