[GRASS-dev] v.extracy fails for type=boundary

Nikos Alexandris nik at nikosalexandris.net
Fri May 4 08:10:56 PDT 2018


* Markus Metz <markus.metz.giswork at gmail.com> [2018-05-04 16:41:59 +0200]:

>On Fri, May 4, 2018 at 4:09 PM, Nikos Alexandris <nik at nikosalexandris.net>
>wrote:
>>
>> Dears,
>>
>> I get something unexpected using type=boundary with `v.external`:
>>
>> ```
>> v.extract input=european_grid_10k_boundaries out=test type=boundary --v
>--o
>> Using native format
>> Extracting features...
>> 100%
>> Building topology for vector map <test at PERMANENT>...
>> Registering primitives...
>> 0 primitives registered
>> 0 vertices registered
>> Topology was built
>> Number of nodes: 0
>> Number of primitives: 0
>> Number of points: 0
>> Number of lines: 0
>> Number of boundaries: 0
>> Number of centroids: 0
>> Number of areas: 0
>> Number of isles: 0
>> Writing attributes...
>> ```
>
>The default answer for the layer option of v.extract is 1, i.e. only
>features with a category in layer 1 will be extracted. If you want to
>extract all features of a given type, use e.g. v.extract layer=-1
>type=boundary.
>
>Markus M
>
Understood, it works. It's also in the NOTES of the manual, which I
obviously missed to read carefully.

Thank you Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180504/e1b171d6/attachment.sig>


More information about the grass-dev mailing list