[GRASS-dev] Export from GRASS to Postgres
suprakash maitra
suprakashmaitra at yahoo.com
Wed Apr 3 05:14:16 PDT 2013
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/20130403/dc4378d9/attachment.html>
More information about the grass-dev
mailing list