Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Converts OpenStreetMap data to a PostgreSQL / PostGIS database
0
votes
1
answer
37
views
How to fix error from osm2pgsql importing buildings - Column entry must contain a 'type' str...
do
buildings:insert({
geom = geom
})
end
end
end
I'm running the following command (with user/password/host/dbname filled in with real values):
> osm2pgsql … -O flex -S buildings.lua -d postgresql://user:password
@host:5432/dbname united-kingdom-latest.osm.pbf
2024-03-26 11:10:45 osm2pgsql version 1.4.1
2024-03-26 11:10:45 Database version: 14.10
2024-03 …
1
vote
How to fix error from osm2pgsql importing buildings - Column entry must contain a 'type' str...
The root cause of my issue was osm2pgsql version 1.4.1
I was running in a debian bullseye container and the osm2pgsql package on this platform is very old and incompatible. …