Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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




git-svn-id: http://svn.openstreetmap.org/applications/utils/export/osm2pgsql@26594 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
  • Loading branch information...
commit 1b8b757d7becfe9f52e48d315999c1fae081a958 1 parent 8c21f8c
giggls authored
Showing with 3 additions and 1 deletion.
  1. +1 −0  default.style
  2. +2 −1  osm2pgsql.c
View
1  default.style
@@ -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
View
3  osm2pgsql.c
@@ -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");
Please sign in to comment.
Something went wrong with that request. Please try again.