From: dineshrapidflow@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13425: Not able to import osm data into database
Date: Wed, 10 Jun 2015 10:50:51 +0000
Message-ID: <20150610105051.2795.99332@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: dineshrapidflow@gmail.com
Subject: Re: BUG #13425: Not able to import osm data into database
In-Reply-To: <20150610105051.2795.99332@wrigleys.postgresql.org>
References: <20150610105051.2795.99332@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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