Micha & Rich: I was able to successfully import & display the boundary from Rich's example:
v.in.ascii --overwrite input=/media/teaiii/development/grass/test_analysis_boundary.dat output=test_analysis_boundary format=standard separator=space I used GRASS 7.6 with the GUI, but the command above worked... Tom On Sun, Jul 21, 2019 at 3:03 PM Micha Silver <[email protected]> wrote: > > On 7/21/19 9:08 PM, Rich Shepard wrote: > > > Micha, > > There is a space preceeding each coordinate and layer line. The VERTI and > object type start in column 1 while the other lines start in column 2. > > > I'm getting the same error as you. Maybe you found a bug? > > 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"). > > > micha@RMS tmp $ cat analysis_boundary.dat > VERTI: > B 5 > -123.960 45.1501 > -123.940 45.1501 > -123.940 45.1454 > -123.960 45.1454 > -123.960 45.1501 > C 1 > -123.950 45.1475 > micha@RMS tmp $ v.in.ascii input=~/work/tmp/analysis_boundary.dat > output=analysis_boundary format=standard --o > Building topology for vector map <analysis_boundary@PERMANENT>... > Registering primitives... > Building areas... > 100% > Attaching islands... > 100% > Attaching centroids... > 100% > micha@RMS tmp $ v.info analysis_boundary > > > +----------------------------------------------------------------------------+ > | Name: > analysis_boundary | > | Mapset: > PERMANENT | > | Location: > WGS84 | > | Database: > /home/micha/GIS/grass | > | > Title: | > | Map scale: > 1:1 | > | Name of creator: > micha | > | > Organization: | > | Source date: Sun Jul 21 21:48:47 > 2019 | > | Timestamp (first layer): > none | > > > |----------------------------------------------------------------------------| > | Map format: > native | > > > |----------------------------------------------------------------------------| > | Type of map: vector (level: > 2) | > | > | > | Number of points: 0 Number of centroids: > 1 | > | Number of lines: 0 Number of boundaries: > 1 | > | Number of areas: 1 Number of islands: > 1 | > | > | > | Map is 3D: > No | > | Number of dblinks: > 0 | > | > | > | Projection: > Latitude-Longitude | > | > | > | N: 45:09:00.36N S: > 45:08:43.44N | > | E: 123:56:24W W: > 123:57:36W | > | > | > | Digitization threshold: > 0 | > | > Comment: | > | > | > > > +----------------------------------------------------------------------------+ > > micha@RMS tmp $ g.version > GRASS 7.6.1 (2019) > > Note that you now have a geometry with no category column. So next will > have to be > > v.category option=add .... > > > > Thanks, > > Rich > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user > > -- > Micha Silver > Ben Gurion Univ. > Sde Boker, Remote Sensing Lab > cell: +972-523-665918 > > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user -- Thomas E Adams, III 1724 Sage Lane Blacksburg, VA 24060 [email protected] (personal) [email protected] (work) 1 (513) 739-9512 (cell)
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
