NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum


When using osmosis/osm2pgsql to keep an openstreetmap database up-to-date, we commonly use Osmosis with options --read-replication-interval --simplify-change --write-xml-change to get changes from a directory containing change files. This directory could be defined within Osmosis configuration.txt file thanks to the variable baseUrl.

Currently I use baseUrl= but since some years, Geofabrik has removed user names, user IDs and changeset IDs of the OSM objects (which are "subject to data protection regulations in the European Union").

Geofabrik also have an "internal download server" available for OpenStreetMap authentified users. Here is the url for France updates :

My question is : how to use Geofabrik "internal download server" with Osmosis, that means how to manage OSM authentication in a classic Osmosis/Osm2pgsql stack to keep an OSM database up-to-date using as Osmosis baseUrl

Thanks in advance for your help.


asked 22 Nov '23, 13:54

augustind's gravatar image

accept rate: 10%

If you really want to use Osmosis, you have to check out our pull request we submitted in 2018 when started the "internal download server". Unfortunately, Osmosis is in "light-maintenance mode". To be honest, I do not expect that the pull request will be accepted within the next years.

Please consider switching to Pyosmium. Pyosmium has cookie support.

The documentation about how to get a cookie for Pyosmium can be found on GitHub.

permanent link

answered 22 Nov '23, 14:16

Nakaner's gravatar image

accept rate: 16%

Thanks a lot for your quick answer ! I'm going to try migrate our stack to use Pyosmium and sendfile_osm_oauth_protector instead of Osmosis, I did not know these tools.

(22 Nov '23, 14:37) augustind

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Nov '23, 13:54

question was seen: 560 times

last updated: 22 Nov '23, 14:37

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum