[Tile-serving] [osm2pgsql] --hstore-add-index help text is ambiguous (#120)

Paul Norman notifications at github.com
Sat Feb 15 06:36:51 UTC 2014


The osm2pgsql help text states 

> ```
Hstore options:
   -k|--hstore      Add tags without column to an additional hstore
                    (key/value) column
      --hstore-match-only   Only keep objects that have a value in one of
                    the columns (default with --hstore is to keep all objects)
   -j|--hstore-all  Add all tags to an additional hstore (key/value) column
   -z|--hstore-column   Add an additional hstore (key/value) column containing
                    all tags that start with the specified string, eg
                    --hstore-column "name:" will produce an extra hstore
                    column that contains all name:xx tags
```

This allows multiple hstore columns (e.g. by passing ``-k -z "name:"``) but the ``--hstore-add-index`` text is "Add index to hstore column", which is singular, and contradicts the earlier documentation.

I'm not sure what the real interaction between ``-k``, ``-j``, ``-z``, and ``--hstore-add-index`` is, but it doesn't reflect the documentation.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140214/34253abb/attachment.html>


More information about the Tile-serving mailing list