omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
719 stars 157 forks source link

Options for choosing empty string or null at insertation #104

Open tds4u opened 8 years ago

tds4u commented 8 years ago

If possible can someone add a switch for inserting empty string as "empty string" (as now) or NULL ?

I know that

The value as-is. Note that missing values will be inserted as an empty string and not as null. This allows SQL queries like column NOT IN ('a', 'b').

but a switch for that would be great.

edkimmel commented 6 years ago

I have the same problem.

For compatibility with osm2pgsql imports, being able to choose between NULL and empty string would be nice.