<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 10/21/18 7:37 AM, Mehrdad Varedi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+F3BSC0_04Kw78t+46dOytqZMi1x428ROq4r-tF92VvdEo9vw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div>I was using v.what.rast and I got an error that no
point layer was found.</div>
<div>the layer that was passed was created using v.to.points
from a vector file.</div>
<div><br>
</div>
<div>The v.to.points creates two tables in SQLite and I
didn't like it. I exported it to a geo package format and
then imported it as the point layer I wanted to see.(is
there another way, please let me know)</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<p>What was the input to v.to.points? The two tables in sqlite
result from the way that v.to.points works: it creates 2 "layers"
attached to the output points vector: layer 1 with the categories
of the original lines (or boundaries) and layer 2 with new
individual categories for each point. <br>
</p>
<p><br>
</p>
<p>So when you go to the next step, v.what.rast, you probably want
to specify "layer=2"</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CA+F3BSC0_04Kw78t+46dOytqZMi1x428ROq4r-tF92VvdEo9vw@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>I tried v.what.rast and I experienced the same error
that a point layer can't be found on both point
layers.This is the v.what.rast command that generates an
error:</div>
<div><br>
</div>
<div>v.what.rast --verbose map=POM@Mehrdad
raster=ABC@Mehrdad column=ABC<br>
</div>
<div><br>
</div>
<div>The error is:</div>
<div>
<div>Reading features from vector map...</div>
<div>No features of type (point) found in vector map
<POM@Mehrdad></div>
</div>
<div><br>
</div>
<div>questions:</div>
<div>- Do you know a way that v.to.points creates only one
table in SQLite?</div>
<div>- Why I get the error in v.what.rast? I have looked at
the POM and it is really a points layer (it appears like
that in GRASS)</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>First guess: have you set the computational region to the ABC
raster?? (FAQ # 0 in GRASS)</p>
<p>Please post the outputs from:</p>
<p>g.region -p</p>
<p>r.info ABC<br>
</p>
<p>v.info POM<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CA+F3BSC0_04Kw78t+46dOytqZMi1x428ROq4r-tF92VvdEo9vw@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Thanks for your help,</div>
<div><br>
</div>
<div>Mehrdad</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-- <br>
<div dir="ltr" class="gmail_signature">Mehrdad Varedi</div>
</div>
</div>
</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=admFyZWRpQGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=72e731c7-0ace-4b1c-a908-28b2de410dd9"
moz-do-not-send="true"><font color="#ffffff" size="1">ᐧ</font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>