[Tile-serving] [openstreetmap/osm2pgsql] Flex: Error handling w/ LuaJIT (#1070)

mmd notifications at github.com
Sat Feb 8 21:27:00 UTC 2020


Retest looks good here!


```
./osm2pgsql -d osm2 --create --slim -P 5434  -O flex -S ../flex-config/default-config.lua saarland-latest.osm.pbf 
osm2pgsql version 1.2.0 (1.2.0-246-g8b3c3cb-changed) (64 bit id space)

Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=800MB, maxblocks=12800*65536, allocation method=11
Mid: pgsql, cache=800
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Using projection SRS 3857 (Spherical Mercator)

Reading in file: saarland-latest.osm.pbf
Using PBF parser.
Processing: Node(3652k 521.7k/s) Way(598k 85.43k/s) Relation(0 0.00/s)node cache: stored: 3652013(100.00%), storage efficiency: 50.08% (dense blocks: 15, sparse nodes: 3584640), hit rate: 100.00%
Osm2pgsql failed due to ERROR: Failed to execute lua processing function: ../flex-config/default-config.lua:245: Error in 'add_row': Missing geometry transformation for column 'geom'
```



```
./osm2pgsql -V
osm2pgsql version 1.2.0 (1.2.0-246-g8b3c3cb-changed) (64 bit id space)

Compiled using the following library versions:
Libosmium 2.15.4
Lua 5.1.4 (LuaJIT 2.1.0-beta3)
```


-- 
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/1070#issuecomment-583778489
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200208/29807c6b/attachment.htm>


More information about the Tile-serving mailing list