From 7460469d9c275e637408cf1cce19afe734fa8d19 Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Sun, 15 Jul 2012 02:53:48 +0300 Subject: [PATCH] support for hstore polygons --- src/komap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komap.py b/src/komap.py index c3f9ea0..88bfcc2 100644 --- a/src/komap.py +++ b/src/komap.py @@ -120,7 +120,7 @@ if options.osm2pgsqlstyle != "-": mf = open(options.osm2pgsqlstyle, "r") for line in mf: line = line.strip().split() - if line and line[0][0] != "#": + if line and line[0][0] != "#" and not ("phstore" in line): osm2pgsql_avail_keys[line[1]] = tuple(line[0].split(",")) osm2pgsql_avail_keys["tags"] = ("node","way")