re 1: Not sure why this doesn't work. From a quick look at the code is should 
work. Try not setting table_columns['special_nodes_on_highways']` at all, maybe 
that works?

re 2: Yes, that's tricky, because you don't know in which segment a node will 
be. Just don't segmentize them. That shouldn't be a huge problem. Segmentizing 
is for making rendering a bit faster, but I doubt whether it makes a difference 
here.

re 3: Usually when a row is not written to a table it is due to a `NOT NULL` 
constraint. With debug logging enabled you'll get a message in that case in the 
osm2pgsql output (`Inserted N rows into table 'X' (M not inserted due to NOT 
NULL constraints`). Try removing the `not_null = true` and see what happens. 
Also the `insert` function can report errors, see [the 
manual](https://osm2pgsql.org/doc/manual.html#handling-of-null-in-insert-function)
 for details.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2455#discussioncomment-16592950
You are receiving this because you are subscribed to this thread.

Message ID: 
<osm2pgsql-dev/osm2pgsql/repo-discussions/2455/comments/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to