[Tile-serving] [osm2pgsql] Add recommended types to columns for extra attributes (#275)

Paul Norman notifications at github.com
Tue Feb 3 18:24:33 UTC 2015


> @@ -68,10 +68,13 @@
>  # way_area - datatype real. The area of the way, in the units of the projection
>  # (e.g. square mercator meters). Only applies to areas
>  #
> -# osm_user, osm_uid, osm_version, osm_timestamp - datatype text. Used with the
> -# --extra-attributes option to include metadata in the database. If importing
> -# with both --hstore and --extra-attributes the meta-data will end up in the
> -# tags hstore column regardless of the style file.
> +# osm_user - datatype text
> +# osm_uid - datatype integer
> +# osm_version - datatype integer
> +# osm_timestamp - datatype timestamptz(0).
> +# Used with the --extra-attributes option to include metadata in the database.
> +# If importing with both --hstore and --extra-attributes the meta-data will
> +# end up in the tags hstore column regardless of the style file.

This is surprising, but must have been true when I tested it - but maybe it's a bug?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/275/files#r24025719
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150203/b2bc9b6d/attachment.html>


More information about the Tile-serving mailing list