[OSM-talk] Changeset Metadata Db Replication - Enhancements proposal

Clifford Snow clifford at snowandsnow.us
Sat Jan 9 20:46:44 UTC 2021


I'm running a copy of ChangesetMD on my home computer. I've updated the
python scripts to python3 since my distribution, Fedora, only comes with
python3. I mainly use the database to identify new users in my area. I do
find occasional use to check on changeset comments, one of the tables that
come with the data.

Just a word on the python upgrade to version 3. I use scripts to upgrade so
I don't know how well they actually made the change.

I find osmcha.org better for finding edits in my area than using
ChangesetMD. Osmcha has a great interface for displaying edits.

Best,
Clifford

On Sat, Jan 9, 2021 at 11:51 AM Pierre Béland via talk <
talk at openstreetmap.org> wrote:

> Local groups sometimes ask how they could access Changesets metadata to
> monitor edits. ToeBee ChangesetMD is available since 2012 to replicate OSM
> changeset metadata in a PostgreSQL database. While the actual script can
> respond to experienced developpers needs working on linux, the learning
> curve is a quite steep for many.
> https://github.com/ToeBee/ChangesetMD
>
> Note that their are at the beginning of 2021, nearly 100 million records.
> The complete Replication file is 4Gb at the beginning of 2021.
>
> mvexel has made a proposition to upgrade it to python3 since python2 is
> not supported since 2021.
>
> I myself propose some enhancements based on Python 3  that could respond
> to other needs than Complete operational database.Various local groups
> could for example extract metadata for only a week that correspond to a
> local event to monitor.
>
> This is a prototype that i Invite you to look, test it if you already have
> a PosgreSQL Db (9.5+) installed. You can easily create a new Database and
> schema from the Windows Powershell script provided. A test file is provided
> for the first Insert to the Db. It is also possible to replicate from the
> Planet Replication site.
>
> I have developped and tested this on my laptop. The tests available work
> with sample data and are completed in minutes.
>
> For many of us, it is a good time to test early 2021. Have fun!
>
> If you create a test Repository and try to replicate from the Planet
> Replication site, you dont need to let these scripts run for hours. You can
> at any time interrupt the process and records will have been kept up to the
> last Bulk rows inserted. You can even restart the replication since the
> sequence of the last file replicated is kept in the database.
>
> See documentation at
> https://github.com/pierzen/ChangesetMD/tree/dopartial-log
> The test subdirectory contains Test files (Windows OS Powershell scripts)
> that make it easy to test. Linuxians should be able to adapt these scripts
> easily.
>
> Pierre
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>


-- 
@osm_washington
www.snowandsnow.us
OpenStreetMap: Maps with a human touch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20210109/5cfb8936/attachment.htm>


More information about the talk mailing list