[Tile-serving] [openstreetmap/osm2pgsql] A new option to use JSONb instead hstore (#672)

Peter notifications at github.com
Tue Jan 10 22:50:43 UTC 2017


Let's simplify the suggestion of #533 , now it is only to "use JSONb instead hstore", where hstore  has been used. 
Imagine  at [`options.cpp`](https://github.com/openstreetmap/osm2pgsql/blob/master/options.cpp) 

```
JSONb options:\n\
   -g|--jsonb      Add tags without column to an additional JSONb\n\
                    (key/value) column\n\
      --jsonb-match-only   Only keep objects that have a value in one of\n\
                    the columns (default with --jsonb is to keep all objects)\n\
   -y|--jsonb-all  Add all tags to an additional JSONb (key/value) column\n\
   -n|--jsonb-column   Add an additional JSONb (key/value) column containing\n\
                    all tags that start with the specified string, eg\n\
                    --jsonb-column \"name:\" will produce an extra JSONb\n\
                    column that contains all name:xx tags\n\
      --jsonb-add-index    Add index to JSONb column.\n\
 ```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/672
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170110/3bc380d4/attachment.html>


More information about the Tile-serving mailing list