[GRASS-user] Importing vector points

Ken Mankoff mankoff at gmail.com
Wed Jun 1 18:00:29 PDT 2016


Hi Anna,

On 2016-06-01 at 20:20, Anna Petrášová <kratochanna at gmail.com> wrote:
> On Wed, Jun 1, 2016 at 5:49 PM, Ken Mankoff <mankoff at gmail.com> wrote:
>> Hi GRASS list,
>>
>> I'm trying to import some vectors and use them to look up values on a
>> raster using v.what.rast. I'm using GRASS 7.0.3. I'm getting the
>> error,
>>
>>> No features of type (point) found in vector map <wells>
>>
>> Which is un-googleable, but implies that my vector db doesn't have
>> points. I'm creating the vector like this:
>>
>> v.in.ascii --o format=point input=lon_lat_x_y_depth_id.csv
>> output=wells separator=, x=3 y=4 z=0 cat=6 skip=1 columns="lon double
>> precision, lat double precision, x double precision, y double
>> precision, z double precision, id"
>>
>
> It might be missing category, because based on this:
> https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.what.rast/main.c#L207
>
> points without category are skipped.

Yes. If I remove "cat=6" from the "v.in.ascii" command above, it works. I thought that I could assign a category column. No problem, it works for me this way too.

Thank you!

  -k.


More information about the grass-user mailing list