<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:12pt"><div>Hi<br>You have given some commands,on the basis of that o/p is as follows:<br><br> [user@lab35 ~]$ ogrinfo --version<br>GDAL 1.8.1, released 2011/07/09<br>[user@lab35 ~]$ gdal-config --libs<br>-L/usr/local/lib -lgdal<br>[user@lab35 ~]$ <br><br>g.version -b (in GRASS 6)<br>./configure --with-postgres-includes=/opt/PostgreSQL/9.1/include --with-postgres-libs=/opt/PostgreSQL/9.1/lib --with-freetype-includes=/usr/include/freetype2 --with-freetype-libs=/usr/lib --with-cxx --with-python --with-fftw --with-freetype --with-gdal=/usr/local/bin/gdal-config --with-postgres<br><br>according to you there is a different GDAL library,<br>then how can check it or what should I do with it,to get things done.<br><br>Thanks in
advance<br><br></div><div>----------------------------------------------------------------------------------------------</div><div><font color="#4040ff"> "If you don't know where you are going any road will get you there"</font></div><div>----------------------------------------------------------------------------------------------</div><div>Regards <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: verdana,helvetica,sans-serif; background-color: transparent; font-style: normal;">suprakash<br></div><div><br></div> <div style="font-family: verdana, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> suprakash maitra <suprakashmaitra@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> "grass-dev@lists.osgeo.org"
<grass-dev@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, April 8, 2013 6:21 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Export from GRASS to Postgres<br> </font> </div> <br>
<div id="yiv772884892"><div><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:12pt;">Hi,<br>v.in.ogr -f <br> ESRI Shapefile (rw): ESRI Shapefile<br> MapInfo File (rw): MapInfo File<br> UK .NTF (ro): UK .NTF<br> SDTS (ro): SDTS<br> TIGER (rw): TIGER<br> S57 (rw): S57<br> DGN (rw): DGN<br> VRT (ro): VRT<br> REC (ro): REC<br> Memory (rw): Memory<br> BNA (rw): BNA<br> CSV (rw): CSV<br> GML (rw): GML<br> GPX (rw): GPX<br> KML (rw):
KML<br> GeoJSON
(rw): GeoJSON<br> GMT (rw): GMT<br> SQLite (rw): SQLite<br> PCIDSK (rw): PCIDSK<br> XPlane (ro): XPlane<br> AVCBin (ro): AVCBin<br> AVCE00 (ro): AVCE00<br> DXF (rw): DXF<br> Geoconcept (rw): Geoconcept<br> GeoRSS (rw): GeoRSS<br> GPSTrackMaker (rw): GPSTrackMaker<br> VFK (ro): VFK<br> PGDump (rw): PGDump<br> GPSBabel (rw): GPSBabel<br> SUA (ro): SUA<br> OpenAir (ro): OpenAir<br> PDS (ro): PDS<br> WFS (ro): WFS<br> HTF (ro): HTF<br> AeronavFAA (ro): AeronavFAA<br>Available OGR Drivers:<br>(Mon Apr 8 18:17:56 2013) Command finished (0 sec) <br>[user@lab35 local]$ ogrinfo --formats<br>Supported Formats:<br> -> "ESRI Shapefile" (read/write)<br> -> "MapInfo File" (read/write)<br> -> "UK .NTF" (readonly)<br> -> "SDTS" (readonly)<br> -> "TIGER" (read/write)<br> -> "S57"
(read/write)<br> -> "DGN" (read/write)<br> -> "VRT" (readonly)<br> -> "REC" (readonly)<br> -> "Memory" (read/write)<br> -> "BNA" (read/write)<br> -> "CSV" (read/write)<br> -> "GML" (read/write)<br> -> "GPX" (read/write)<br> -> "KML" (read/write)<br> -> "GeoJSON" (read/write)<br> -> "GMT" (read/write)<br> -> "SQLite" (read/write)<br> -> "PostgreSQL" (read/write)<br> -> "PCIDSK" (read/write)<br> -> "XPlane" (readonly)<br> -> "AVCBin" (readonly)<br> -> "AVCE00" (readonly)<br> -> "DXF" (read/write)<br> -> "Geoconcept" (read/write)<br> -> "GeoRSS" (read/write)<br> -> "GPSTrackMaker" (read/write)<br> -> "VFK" (readonly)<br> -> "PGDump" (read/write)<br> -> "GPSBabel" (read/write)<br> -> "SUA" (readonly)<br> -> "OpenAir"
(readonly)<br> -> "PDS" (readonly)<br> -> "WFS" (readonly)<br> -> "HTF" (readonly)<br> -> "AeronavFAA" (readonly)<br><br><div><span><br></span></div><div> </div><div>----------------------------------------------------------------------------------------------</div><div><font color="#4040ff"> "If you don't know where you are going any road will get you there"</font></div><div>----------------------------------------------------------------------------------------------</div><div>Regards <br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:verdana, helvetica, sans-serif;background-color:transparent;font-style:normal;">Suprakash<br></div><div><br></div> <div style="font-family:verdana, helvetica, sans-serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">
<b><span style="font-weight:bold;">From:</span></b> suprakash maitra <suprakashmaitra@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> "grass-dev@lists.osgeo.org" <grass-dev@lists.osgeo.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Monday, April 8, 2013 4:00 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: Export from GRASS to Postgres<br> </font> </div> <br>
<div id="yiv772884892"><div><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:12pt;"><div><span>Hi</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:verdana, helvetica, sans-serif;background-color:transparent;font-style:normal;"><span>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.</span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:verdana, helvetica, sans-serif;background-color:transparent;font-style:normal;"><br><span></span></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:verdana, helvetica, sans-serif;background-color:transparent;font-style:normal;"><span>Plz help me
out.</span></div><div> </div><div>----------------------------------------------------------------------------------------------</div><div><font color="#4040ff"> "If you don't know where you are going any road will get you there"</font></div><div>----------------------------------------------------------------------------------------------</div><div>Regards <br></div><div>Suprakash<br></div><div><br></div> <div style="font-family:verdana, helvetica, sans-serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> suprakash maitra <suprakashmaitra@yahoo.com><br> <b><span style="font-weight:bold;">To:</span></b> "grass-dev@lists.osgeo.org" <grass-dev@lists.osgeo.org> <br> <b><span style="font-weight:bold;">Sent:</span></b> Wednesday, April 3, 2013 5:44
PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Export from GRASS to Postgres<br> </font> </div> <br>
<div id="yiv772884892"><div><div style="color:#000;background-color:#fff;font-family:verdana, helvetica, sans-serif;font-size:12pt;"><div><span>Hi All,<br><br>I am trying to export GRASS maps/mapsets to PostgreSQL.At the time of installation of GRASS ,I have configured it with Postgres.<br>The command used is:<br>v.out.ogr -c input=fields type=area 'dsn=PG:host=localhost dbname=grass user=grassuser password=grassuser' olayer=fields2postgis layer=1 format=PostgreSQL<br>The database grass is postgis enabled.<br>However the format "PostgreSQL" is taken as invalid format.<br>Without "PostgreSql" format the maps are exported to ESRI_shapefile format.<br>One thing more, There is no PostgreSql format type in OGR format dropdown list in case of using GUI. <br>Please help me out.<br><br>Thanks in advance.</span></div><div> </div><div>----------------------------------------------------------------------------------------------</div><div><font
color="#4040ff"> "If you don't know where you are going any road will get you there"</font></div><div>----------------------------------------------------------------------------------------------</div><div>Regards <br></div><div><br></div><div style="color:rgb(0, 0, 0);font-size:16px;font-family:verdana, helvetica, sans-serif;background-color:transparent;font-style:normal;">Suprakash<br></div></div></div></div><br><br> </div> </div> </div></div></div><br><br> </div> </div> </div></div></div><br><br> </div> </div> </div></body></html>