<div dir="ltr">Great! Thank you Micha,<div>I had reset the region and forgot to set it properly. Thanks for your help.</div><div><br></div><div>The team here are all amazing! Good work and I hope someday I could compensate so much support :)</div><div><br></div><div>M.</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=52c132fc-9997-488a-8508-70456b1bc0f9"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 21, 2018 at 1:18 AM Micha Silver <<a href="mailto:tsvibar@gmail.com">tsvibar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" bgcolor="#FFFFFF" text="#000000">
<br>
<div class="m_-1167750383482662077moz-cite-prefix">On 10/21/18 7:37 AM, Mehrdad Varedi
wrote:<br>
</div>
<blockquote type="cite">
<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">
<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><a href="http://r.info" target="_blank">r.info</a> ABC<br>
</p>
<p><a href="http://v.info" target="_blank">v.info</a> POM<br>
</p>
<p><br>
</p>
<blockquote type="cite">
<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="m_-1167750383482662077gmail_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"><font color="#ffffff" size="1">ᐧ</font></div>
<br>
<fieldset class="m_-1167750383482662077mimeAttachmentHeader"></fieldset>
<pre class="m_-1167750383482662077moz-quote-pre">_______________________________________________
grass-user mailing list
<a class="m_-1167750383482662077moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a class="m_-1167750383482662077moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
</blockquote>
<pre class="m_-1167750383482662077moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mehrdad Varedi</div>