[GRASS-dev] [GRASS GIS] #3248: v.external: mixed up IDs from PostGIS tables
GRASS GIS
trac at osgeo.org
Tue Jan 10 02:57:50 PST 2017
#3248: v.external: mixed up IDs from PostGIS tables
--------------------------+-------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Vector | Version: 7.0.5
Resolution: | Keywords: v.external
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by martinl):
Replying to [ticket:3248 sbl]:
> Linking the SQLite data source however seems to work fine. No errors
for:
> {{{
> v.external --overwrite input=points.sqlite layer=myschema.points
output=points_sqlite -o
> v.what.rast map=points_sqlite raster=rand column=morphology
> }}}
SQLite links are processed by OGR interface, PostGIS by native GRASS-
PostGIS interface. You can try to enforce OGR interface also for PostGIS
links by `GRASS_VECTOR_OGR` environmental variable. Then `v.rast.stats`
should work.
{{{
GRASS_VECTOR_OGR=1 v.what.rast map=points_pg raster=rand column=morphology
}}}
> For discussion see: https://lists.osgeo.org/pipermail/grass-
dev/2017-January/083807.html
Should be fixed in r70330 (trunk). Could you confirm?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3248#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list