<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 7/21/19 9:08 PM, Rich Shepard wrote:<br>
</div>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1907211105590.412@salmo.appl-ecosys.com"><br>
Micha,
<br>
<br>
There is a space preceeding each coordinate and layer line. The
VERTI and
<br>
object type start in column 1 while the other lines start in
column 2.
<br>
<br>
</blockquote>
<p><br>
</p>
<p>I'm getting the same error as you. Maybe you found a bug?</p>
<p>I removed both the " 1 1" lines, and also rearranged the points
so that they go in order around the boundary. (I wasn't paying
attention, previously they made an "X").</p>
<p><br>
</p>
<p><tt>micha@RMS tmp $ cat analysis_boundary.dat </tt><tt><br>
</tt><tt>VERTI:</tt><tt><br>
</tt><tt>B 5</tt><tt><br>
</tt><tt> -123.960 45.1501</tt><tt><br>
</tt><tt> -123.940 45.1501</tt><tt><br>
</tt><tt> -123.940 45.1454</tt><tt><br>
</tt><tt> -123.960 45.1454</tt><tt><br>
</tt><tt> -123.960 45.1501</tt><tt><br>
</tt><tt>C 1</tt><tt><br>
</tt><tt> -123.950 45.1475</tt><tt><br>
</tt><tt>micha@RMS tmp $ v.in.ascii
input=~/work/tmp/analysis_boundary.dat output=analysis_boundary
format=standard --o</tt><tt><br>
</tt><tt>Building topology for vector map
<analysis_boundary@PERMANENT>...</tt><tt><br>
</tt><tt>Registering primitives...</tt><tt><br>
</tt><tt>Building areas...</tt><tt><br>
</tt><tt> 100%</tt><tt><br>
</tt><tt>Attaching islands...</tt><tt><br>
</tt><tt> 100%</tt><tt><br>
</tt><tt>Attaching centroids...</tt><tt><br>
</tt><tt> 100%</tt><tt><br>
</tt><tt>micha@RMS tmp $ v.info analysis_boundary</tt><tt><br>
</tt><tt> +----------------------------------------------------------------------------+</tt><tt><br>
</tt><tt> | Name:
analysis_boundary |</tt><tt><br>
</tt><tt> | Mapset:
PERMANENT |</tt><tt><br>
</tt><tt> | Location:
WGS84 |</tt><tt><br>
</tt><tt> | Database:
/home/micha/GIS/grass |</tt><tt><br>
</tt><tt> |
Title:
|</tt><tt><br>
</tt><tt> | Map scale:
1:1 |</tt><tt><br>
</tt><tt> | Name of creator:
micha |</tt><tt><br>
</tt><tt> |
Organization:
|</tt><tt><br>
</tt><tt> | Source date: Sun Jul 21 21:48:47
2019 |</tt><tt><br>
</tt><tt> | Timestamp (first layer):
none |</tt><tt><br>
</tt><tt> |----------------------------------------------------------------------------|</tt><tt><br>
</tt><tt> | Map format:
native |</tt><tt><br>
</tt><tt> |----------------------------------------------------------------------------|</tt><tt><br>
</tt><tt> | Type of map: vector (level:
2) |</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> | Number of points: 0 Number of
centroids: 1 |</tt><tt><br>
</tt><tt> | Number of lines: 0 Number of
boundaries: 1 |</tt><tt><br>
</tt><tt> | Number of areas: 1 Number of
islands: 1 |</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> | Map is 3D:
No |</tt><tt><br>
</tt><tt> | Number of dblinks:
0 |</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> | Projection:
Latitude-Longitude |</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> | N: 45:09:00.36N S:
45:08:43.44N |</tt><tt><br>
</tt><tt> | E: 123:56:24W W:
123:57:36W |</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> | Digitization threshold:
0 |</tt><tt><br>
</tt><tt> |
Comment:
|</tt><tt><br>
</tt><tt> |
|</tt><tt><br>
</tt><tt> +----------------------------------------------------------------------------+</tt><tt><br>
</tt><tt><br>
</tt><tt>micha@RMS tmp $ g.version</tt><tt><br>
</tt><tt>GRASS 7.6.1 (2019)</tt><tt><br>
</tt><tt><br>
</tt></p>
<p>Note that you now have a geometry with no category column. So
next will have to be <br>
</p>
<p><tt>v.category option=add ....</tt></p>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:alpine.LNX.2.20.1907211105590.412@salmo.appl-ecosys.com">Thanks,
<br>
<br>
Rich
<br>
_______________________________________________
<br>
grass-user mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>