[GRASS-dev] Extract vector features from external PostGIS layer without building topology

Martin Landa landa.martin at gmail.com
Sun Aug 6 02:51:03 PDT 2017


Hi,

2017-08-06 8:38 GMT+02:00 Nikos Alexandris <nik at nikosalexandris.net>:
> I am looking for a confirmation that the following is _not_ possible:
>
> v.external -b input="PG:host=somehost user=someuser dbname=somepgdb"
> layer=somemaplayer
>
> then
> v.extract input=somemaplayer output=somemaplayer_extract where="some sql
> query"

currently `v.extract` requires topology [1]. It would be possible to
modify it in order to operate also on level 1 (no topology). At least
for points it would make sense. For areas you always need topology
built. Ma

[1] https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.extract/main.c#L188


More information about the grass-dev mailing list