<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks Markus<br>
</p>
<p>My GRASS-version is 7.4 from standard Ubuntu 18.04.2 LTS
repository;</p>
<p>Regards,</p>
<p>Patrick<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 26/02/2019 21.12, Markus Metz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG+h=FHtocqHLSX4u-htukoQKcS8QFsjHFSXPbfsvGC9vSs1VA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<br>
On Tue, Feb 26, 2019 at 5:05 PM patrick_s <<a
href="mailto:patrick_GIS@gmx.net" moz-do-not-send="true">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"
moz-do-not-send="true">grass-user@lists.osgeo.org</a><br>
> <a
href="https://lists.osgeo.org/mailman/listinfo/grass-user"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>
</blockquote>
</body>
</html>