Load .osm changefile to my local database

Hello, i’ve succesfully created a local tileserver on Ubuntu 18.04, now i need to edit the map i’ve uploaded on database,
i created my own .osc change file from openstreetmap editor’s iD and i need to put those changes on my db,
i’ve looked for Osmosis but i’ve got a lot of doubts, and just google it didn’t help me,
i was looking also for JOSM,
Please, can anyone help me? I’m working on that for days unsuccesfully… :frowning:
Thanks a lot,

How did you “feed” your db?

usually osm2pgsql will do the job.


Hello Walter, thanks for your reply,
Yes i used osm2pgsql, i also was looking for it, but i dont understand which format i should use for the changes, and the procedure to follow…

if it helps, the script that I use to apply changes to a tileserver here is at https://github.com/SomeoneElseOSM/mod_tile/blob/zoom/openstreetmap-tiles-update-expire . That’s reading changes from e.g. https://planet.openstreetmap.org/replication/minute/003/588/ . If you browse to that directory and gunzip an example file you can see what format it is in, and create a change file in the same format and apply that.

command is something like “osm2pgsql --append … your usual options … xxx.osc”

in short: replace “–create” by !–append", specify x.osc as data file.