<div dir="ltr"><br><br>On Tue, Feb 26, 2019 at 5:05 PM patrick_s <<a href="mailto:patrick_GIS@gmx.net">patrick_GIS@gmx.net</a>> wrote:<br>><br>> Dear list<br>><br>> The syntax of v.in.ogr ignores the "geometry" Parameter, when using the<br>> "spatial" Parameter or "-r". A workaround is the use of v.clip and g.rename.<br>><br>> I am a longterm user, but unregular user and have no userid to start a<br><div>> ticket. Hope this helps for future development nontheless.</div><div><br></div><div>Of course it helps! Which GRASS version are you using? v.in.ogr has changed quite a bit recently, therefore we recommend to use GRASS 7.6.</div><div><br></div><div>Best,</div><div><br></div><div>Markus M<br></div>><br>> Best,<br>><br>> Patrick<br>><br>> #using flag "-r" and "spatial" finds "2990 vertices registered"<br>><br>> v.in.ogr spatial="2653156, 1249949, 2675000, 1267232"<br>> input="PG:dbname=psql_local" layer=${DBSCHEMA}.${DATASET}<br>> out=gr_${DATASET}_${REFYEAR} type=point geometry="geom_2" -o --o<br>><br>> v.in.ogr -r input="PG:dbname=psql_local" layer=${DBSCHEMA}.${DATASET}<br>> out=gr_${DATASET}_${REFYEAR} type=point geometry="geom_2" -o --o #2990<br>> vertices registered<br>><br>> #clipping with same region after loading reduces to "1079 primitives<br>> registered"<br>><br>> v.clip in=gr_${DATASET}_${REFYEAR} out=gr_${DATASET}clip_${REFYEAR} -r<br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>