<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1421636675098_3762" dir="ltr"><span>There is no reason for me not to use 7, I will give it a try. I thought 6 might be more stable so I started with that.</span></div><div id="yui_3_16_0_1_1421636675098_3762" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1421636675098_3762" dir="ltr"><span>-Thayer</span></div><div id="yui_3_16_0_1_1421636675098_3762" dir="ltr"><span><br></span></div><br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1421636675098_3765"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1421636675098_3764"> <div dir="ltr" id="yui_3_16_0_1_1421636675098_3763"> <hr size="1"> <font size="2" face="Arial" id="yui_3_16_0_1_1421636675098_3766"> <b><span style="font-weight:bold;">From:</span></b> Markus Neteler <neteler@osgeo.org><br> <b><span style="font-weight: bold;">To:</span></b> Thayer Young <thayeray@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> GRASS LIST <grass-user@lists.osgeo.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, January 18, 2015 5:23 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [GRASS-user] v.select error: point array must contain 0 or >1 elements<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1421636675098_3797"><br>On Sat, Jan 17, 2015 at 10:12 PM, Thayer Young <<a shape="rect" ymailto="mailto:thayeray@yahoo.com" href="mailto:thayeray@yahoo.com">thayeray@yahoo.com</a>> wrote:<div class="qtdSeparateBR"><br><br></div><div class="yqt5923574534" id="yqtfd15793"><br clear="none">><br clear="none">> I have two shapefiles that I imported into GRASS 6.4.5 using v.in.ogr. One is a polygon file of building footprints. The second is a polyline of the pavement edges of urban streets. I am trying to convert this into street area. I used v.clean, v.type (to switch from line to boundaries), and v.centroids. This conversion process gives me street areas but also creates doughnut holes corresponding to the area inside of a city block outlined by the streets. For the most part the doughnut holes contain buildings, so I am trying to use v.select to select the areas that do not contain buildings. I have not been able to get anything besides "overlap" to work. Overlap is not good enough though because many of the buildings have shared nodes with the streets, for example where a driveway runs along one side of a house. I checked and my version of GRASS was compiled with the following GEOS details:<br clear="none">> --with-geos=/Library/Frameworks/GEOS.framework/Versions/3/unix/bin/geos-config<br clear="none">><br clear="none">> Below is an example of an error that I am getting when I try anything besides overlap:<br clear="none">><br clear="none">> v.select --overwrite ainput=<a shape="rect" ymailto="mailto:EdgePav_cent@PERMANENT" href="mailto:EdgePav_cent@PERMANENT">EdgePav_cent@PERMANENT</a> binput=<a shape="rect" ymailto="mailto:Bldg@PERMANENT" href="mailto:Bldg@PERMANENT">Bldg@PERMANENT</a> output=Pav_sel operator=contains<br clear="none">> WARNING: Vector map <Pav_sel> already exists and will be overwritten<br clear="none">> Building spatial index...<br clear="none">> Processing features...<br clear="none">> ERROR: IllegalArgumentException: point array must contain 0 or >1 elements</div><br clear="none"><br clear="none">In the past few days Markus Metz has fixed some topology issues in<br clear="none">GRASS GIS 7 (potentially to be backported while that's a big task).<br clear="none">Do you have any chance to try this in GRASS 7, downloading a version<br clear="none">newer than RC1 (fixes will go into RC2)?<br clear="none"><br clear="none">markusN<br><br></div> </div> </div> </div></body></html>