Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2ijM-0001jg-9W for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 16:19:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z2ijL-0008Fq-LA for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 16:19:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z2dbA-0005gL-95 for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 10:51:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z2db6-0008B7-Ge for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 10:51:07 +0000 MIME-Version: 1.0 Subject: BUG #13425: Not able to import osm data into database To: pgsql-bugs@postgresql.org From: dineshrapidflow@gmail.com Date: Wed, 10 Jun 2015 10:50:51 +0000 Message-ID: <20150610105051.2795.99332@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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