I have access to a machine running grass 6.4.3. I developed code using 6.4.2 which includes using the function v.out.org to export a vector file to a postgres database. However, in the new version, it seems that the PostgreSQL driver isn't included. Here's the relevant part of the output:
ERROR: value <PostgreSQL> out of range for parameter <format>
Legal range: ESRI_Shapefile,MapInfo_File,TIGER,S57,DGN,Memory,BNA,CSV,GML,GPX,KML,GeoJSON,GMT,SQLite,PCIDSK,DXF,Geoconcept,GeoRSS,GPSTrackMaker,PGDump,GPSBabel,
Do I need to install something additional or was this left out intentionally?
I have access to a machine running
grass 6.4.3. I developed code using 6.4.2 which
includes using the function v.out.org to export a vector
file to a postgres database. However, in the new
version, it seems that the PostgreSQL driver isn't
included. Here's the relevant part of the output:
ERROR: value <PostgreSQL> out of range for parameter <format>
...
Do I need to install something additional or was this left
out intentionally?
The inclusion or exclusion of support for different DBs is
determined at build time. The good news is that the code you
wrote for 6.4.2 should work for all future 6.4.x without
needing any changes. The bad news is that whoever built 6.4.3
on that system will have to rebuild/replace it with a version
of 6.4.3(rc/svn) that was built with support for the Postgres
optional extra.
I have access to a machine running
grass 6.4.3. I developed code using 6.4.2 which
includes using the function v.out.org to export a vector
file to a postgres database. However, in the new
version, it seems that the PostgreSQL driver isn't
included. Here's the relevant part of the output:
ERROR: value<PostgreSQL> out of range for parameter<format>
...
Do I need to install something additional or was this left
out intentionally?
The inclusion or exclusion of support for different DBs is
determined at build time. The good news is that the code you
wrote for 6.4.2 should work for all future 6.4.x without
needing any changes. The bad news is that whoever built 6.4.3
on that system will have to rebuild/replace it with a version
of 6.4.3(rc/svn) that was built with support for the Postgres
optional extra.
I always thought that the inclusion of specific drivers in v.*.ogr and r.*.gdal depends on the compilation of GDAL/OGR, not on the compilation of GRASS.
On Mon, Apr 8, 2013 at 9:40 AM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:
On 08/04/13 08:14, Hamish wrote:
Shaun wrote:
I have access to a machine running
grass 6.4.3. I developed code using 6.4.2 which
includes using the function v.out.org to export a vector
file to a postgres database. However, in the new
version, it seems that the PostgreSQL driver isn't
included. Here's the relevant part of the output:
ERROR: value<PostgreSQL> out of range for parameter<format>
...
Do I need to install something additional or was this left
out intentionally?
The inclusion or exclusion of support for different DBs is
determined at build time. The good news is that the code you
wrote for 6.4.2 should work for all future 6.4.x without
needing any changes. The bad news is that whoever built 6.4.3
on that system will have to rebuild/replace it with a version
of 6.4.3(rc/svn) that was built with support for the Postgres
optional extra.
I always thought that the inclusion of specific drivers in v.*.ogr and
r.*.gdal depends on the compilation of GDAL/OGR, not on the compilation of
GRASS.
Yes, in this case OGR needs to be recompiled with PostgreSQL support.
There is no need to recompile or reinstall GRASS.