Skip to content

Commit

Permalink
2 minor changes:
Browse files Browse the repository at this point in the history
* add created_by tag to get deleted in default style
* add notice that passwort can be specified via PGPASS
  environment variable to --help output




git-svn-id: http://svn.openstreetmap.org/applications/utils/export/osm2pgsql@26594 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information
giggls committed Sep 2, 2011
1 parent 8c21f8c commit 1b8b757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions default.style
Expand Up @@ -26,6 +26,7 @@
# OsmType Tag DataType Flags
node,way note text delete # These tags can be long but are useless for rendering
node,way source text delete # This indicates that we shouldn't store them
node,way created_by text delete

node,way access text linear
node,way addr:housename text linear
Expand Down
3 changes: 2 additions & 1 deletion osm2pgsql.c
Expand Up @@ -162,7 +162,8 @@ static void long_usage(char *arg0)
printf(" -S|--style\t\tLocation of the style file. Defaults to " OSM2PGSQL_DATADIR "/default.style\n");
printf(" -C|--cache\t\tOnly for slim mode: Use upto this many MB for caching nodes\n");
printf(" \t\tDefault is 800\n");
printf(" -U|--username\tPostgresql user name.\n");
printf(" -U|--username\tPostgresql user name\n");
printf(" \t\tpassword can be given by prompt or PGPASS environment variable.\n");
printf(" -W|--password\tForce password prompt.\n");
printf(" -H|--host\t\tDatabase server hostname or socket location.\n");
printf(" -P|--port\t\tDatabase server port.\n");
Expand Down

0 comments on commit 1b8b757

Please sign in to comment.