Skip to content

Commit 6f8177c

Browse files
author
Sven Geggus
committed
2 minor changes:
* add created_by tag to get deleted in default style * add notice that passwort can be specified via PGPASS environment variable to --help output
1 parent c867a59 commit 6f8177c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

default.style

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
# OsmType Tag DataType Flags
2727
node,way note text delete # These tags can be long but are useless for rendering
2828
node,way source text delete # This indicates that we shouldn't store them
29+
node,way created_by text delete
2930

3031
node,way access text linear
3132
node,way addr:housename text linear

osm2pgsql.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ static void long_usage(char *arg0)
162162
printf(" -S|--style\t\tLocation of the style file. Defaults to " OSM2PGSQL_DATADIR "/default.style\n");
163163
printf(" -C|--cache\t\tOnly for slim mode: Use upto this many MB for caching nodes\n");
164164
printf(" \t\tDefault is 800\n");
165-
printf(" -U|--username\tPostgresql user name.\n");
165+
printf(" -U|--username\tPostgresql user name\n");
166+
printf(" \t\tpassword can be given by prompt or PGPASS environment variable.\n");
166167
printf(" -W|--password\tForce password prompt.\n");
167168
printf(" -H|--host\t\tDatabase server hostname or socket location.\n");
168169
printf(" -P|--port\t\tDatabase server port.\n");

0 commit comments

Comments
 (0)