<p></p>
<p>I have generate my OSM database with the 1.4.1.</p>
<p>I miss now in the planet_nodes table the "tags" column.</p>
<p>My osm2pgsql call was:</p>
<p>osm2pgsql --password --host localhost --database mygis --username gerd --prefix planet --slim --cache 2048 -m --style /usr/share/osm2pgsql/default.style --hstore-all /BACKUP/allmap.osm</p>
<p>I got so a planet_nodes table:</p>
<p>CREATE TABLE public.planet_nodes<br>
(<br>
id bigint NOT NULL,<br>
lat integer NOT NULL,<br>
lon integer NOT NULL,<br>
CONSTRAINT planet_nodes_pkey PRIMARY KEY (id)<br>
USING INDEX TABLESPACE tbl_space1<br>
)</p>
<p>If I use the call on osm2pgsql with same arguments in a earlier version I got an other tablestructure:</p>
<p>CREATE TABLE "public"."planet_nodes" (<br>
"id" int8 NOT NULL,<br>
"lat" int4 NOT NULL,<br>
"lon" int4 NOT NULL,<br>
"tags" text[] COLLATE "default",<br>
CONSTRAINT "planet_nodes_pkey" PRIMARY KEY ("id") NOT DEFERRABLE INITIALLY IMMEDIATE<br>
)<br>
WITH (OIDS=FALSE);<br>
ALTER TABLE "public"."planet_nodes" OWNER TO "verkehr";<br>
CREATE INDEX "planet_nodes_pkey" ON "public"."planet_nodes" USING btree("id" "pg_catalog"."int8_ops" ASC NULLS LAST);</p>
<p>In my application is SQL code that access at the "tags" column, i.e.</p>
<p>select pn.id, pn.tags, pn.lat, pn.lon from planet_nodes pn<br>
where pn.tags is not null and array_to_string(pn.tags,',') like '%LocationCode%';</p>
<p>This don't work now and my application is broken :(</p>
<p>How can I generate with the current version of osm2pgsql the planet_nodes table with the "tags" column?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/1435">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WGCEE5ZZE6K6QUQMLTFHNCNANCNFSM4ZXF325A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353R3U7XV565ASEJQU3DTFHNCNA5CNFSM4ZXF325KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MQMSGZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1435",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1435",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>