pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13425: Not able to import osm data into database
2+ messages / 2 participants
[nested] [flat]
* BUG #13425: Not able to import osm data into database
@ 2015-06-10 10:50 dineshrapidflow@gmail.com
0 siblings, 1 reply; 2+ messages in thread
From: dineshrapidflow@gmail.com @ 2015-06-10 10:50 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13425
Logged by: dinesh
Email address: dineshrapidflow@gmail.com
PostgreSQL version: 9.4.3
Operating system: windows server 64 bit
Description:
Hi,
I am currently working for opensource product.In this product i want to do
data enrichment.
Example:
We have an customer data in that we have an address attribute with using of
street address i want to update postal code in that data.
I fallow below steps to import osm data into pgsql database.
But i am not able to import data.
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#osm-import
But i stuck at 3rd step....
Now open a new command window and try the psql command
These instructions assume that you already have a PostgreSQL 'postgres'
user
Open a command prompt and enter the following commands ( the password will
always be: postgres )
createdb -E utf8 -U postgres osm
psql -U postgres -d osm -f "C:\Program
Files\PostgreSQL\9.1\share\contrib\postgis-2.0\postgis.sql"
psql -U postgres -d osm -f "C:\Program
Files\PostgreSQL\9.1\share\contrib\postgis-2.0\spatial_ref_sys.sql"
psql -U postgres -d osm -f "C:\Program
Files\PostgreSQL\9.1\share\contrib\postgis-2.0\legacy.sql"
Here i am not able to find postgis-2.0 folder and corresponding files.
When i run this commands its showing error:
No file found.
Could you please help me.
Thanks
Dan
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13425: Not able to import osm data into database
@ 2015-06-10 23:27 Venkata Balaji N <nag1010@gmail.com>
parent: dineshrapidflow@gmail.com
0 siblings, 0 replies; 2+ messages in thread
From: Venkata Balaji N @ 2015-06-10 23:27 UTC (permalink / raw)
To: dineshrapidflow@gmail.com; +Cc: pgsql-bugs
>
>
> https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#osm-import
>
> But i stuck at 3rd step....
> Now open a new command window and try the psql command
> These instructions assume that you already have a PostgreSQL 'postgres'
> user
> Open a command prompt and enter the following commands ( the password will
> always be: postgres )
> createdb -E utf8 -U postgres osm
>
> psql -U postgres -d osm -f "C:\Program
> Files\PostgreSQL\9.1\share\contrib\postgis-2.0\postgis.sql"
>
> psql -U postgres -d osm -f "C:\Program
> Files\PostgreSQL\9.1\share\contrib\postgis-2.0\spatial_ref_sys.sql"
>
> psql -U postgres -d osm -f "C:\Program
> Files\PostgreSQL\9.1\share\contrib\postgis-2.0\legacy.sql"
>
>
>
> Here i am not able to find postgis-2.0 folder and corresponding files.
> When i run this commands its showing error:
> No file found.
>
Sorry, not sure why this is posted as a BUG. This seems to be an issue with
postgis installation.
Do you have postgis installed ?
Regards,
Venkata Balaji N
Fujitsu Australia
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-06-10 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 10:50 BUG #13425: Not able to import osm data into database dineshrapidflow@gmail.com
2015-06-10 23:27 ` Venkata Balaji N <nag1010@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox