-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--table-prefix support #27
Comments
Try |
I get a 'bad connection' error from the driver, but I am using the January binary release... |
Can you post your connection string (before and after)? |
Basically identical to a sample from the readme, using this build (http://imposm.org/static/rel/imposm3-0.1dev-20140624-cf8c196-linux-x86-64.tar.gz): before: imposm3 import -connection postgis://user:password@host/database -mapping mapping.json -read /path/to/osm.pbf -write after: imposm3 import -connection postgis://user:password@host/database?prefix=some_prefix_ -mapping mapping.json -read /path/to/osm.pbf -write |
Ok, I think lib/pq does not allow unknown parameters in the connection string anymore. Should work now! |
Awesome, thx! |
Were you expecting this build to contain the fix? http://imposm.org/static/rel/imposm3-0.1dev-20140624-cf8c196-linux-x86-64.tar.gz Getting the same error. root@extractor2:/tmp/imposm3-0.1dev-20140624-cf8c196-linux-x86-64# ./imposm3 import -connection postgis://user:password@localhost/osm?prefix=a_prefix_ -mapping mapping.json -read abuja.osm.pbf -overwritecache -write
[Jun 25 15:09:07] driver: bad connection |
Hi,
Would love to have an equivalent functionality to imposm2 for support of --table-prefix.
The text was updated successfully, but these errors were encountered: