[GRASS-dev] Export from GRASS to Postgres

suprakash maitra suprakashmaitra at yahoo.com
Mon Apr 8 03:30:57 PDT 2013


Hi
I am using Fedora15,GRASS-6.4.2,gdal-1.8.1,postgresql-9.1.I have compiled gdal with postgresql support and GRASS with gdal and postgreSQL support ,even then while exporting map/mapset to postgreSQL the format PostgreSQL is not supported.

Plz help me out.

 
----------------------------------------------------------------------------------------------
    "If you don't know where you are going any road will get you there"
----------------------------------------------------------------------------------------------
Regards 

Suprakash



________________________________
 From: suprakash maitra <suprakashmaitra at yahoo.com>
To: "grass-dev at lists.osgeo.org" <grass-dev at lists.osgeo.org> 
Sent: Wednesday, April 3, 2013 5:44 PM
Subject: Export from GRASS to Postgres
 

Hi All,

I am trying to export GRASS maps/mapsets to PostgreSQL.At the time of installation of GRASS ,I have configured it with Postgres.
The command used is:
v.out.ogr -c input=fields type=area 'dsn=PG:host=localhost dbname=grass user=grassuser password=grassuser' olayer=fields2postgis layer=1 format=PostgreSQL
The database grass is postgis enabled.
However the format "PostgreSQL" is taken as invalid format.
Without "PostgreSql" format the maps are exported to ESRI_shapefile format.
One thing more, There is no PostgreSql format type in OGR format dropdown list in case of using GUI. 
Please help me out.

Thanks in advance.
 
----------------------------------------------------------------------------------------------
    "If you don't know where you are going any road will get you there"
----------------------------------------------------------------------------------------------
Regards 


Suprakash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130408/503f8ce5/attachment-0001.html>


More information about the grass-dev mailing list