omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
710 stars 156 forks source link

Extract user name from diff file #238

Open 0live opened 4 years ago

0live commented 4 years ago

Hello, Is there a way to extract OSM metadata into tags or as attributes? in my case i would like to have user's name when processing diff files but i didn't found anything about that in the documentation.

Thanks

dooley commented 3 years ago

<node id="12635600" version="10" timestamp="2020-09-16T19:45:27Z" lat="49.8696256" lon="8.5997538"/>

I would like to see handled timestamp and version to use like below.

    "tables": {
        "admin": {
            "columns": [
                {
                    "type": "id",
                    "name": "osm_id",
                    "key": null
                },
                {
                    "type": "timestamp",
                    "name": "last_change",
                    "key": null
                },
                {
                    "type": "version",
                    "name": "version",
                    "key": null
                },

This could be very useful, for example to find something - which is under construction since 3 years.

djerrard commented 3 years ago

+1 for this, please. In fact... +10 if it'll help!