<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_1421525840020_6031" dir="ltr">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:</div><div id="yui_3_16_0_1_1421525840020_6031" dir="ltr"> --with-geos=/Library/Frameworks/GEOS.framework/Versions/3/unix/bin/geos-config</div><div id="yui_3_16_0_1_1421525840020_6031" dir="ltr"><br></div>
<div id="yui_3_16_0_1_1421525840020_6031" dir="ltr">Below is an example of an error that I am getting when I try anything besides overlap:</div><div id="yui_3_16_0_1_1421525840020_6031"> <br></div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="">v.select --overwrite ainput=EdgePav_cent@PERMANENT binput=Bldg@PERMANENT output=Pav_sel operator=contains</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="">WARNING: Vector map <Pav_sel> already exists and will be overwritten</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="">Building spatial index...</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="">Processing features...</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="">ERROR: IllegalArgumentException: point array must contain 0 or >1 elements</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style=""> </div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="" dir="ltr">A similar question appears to have previously gone unanswered:</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="" dir="ltr"><a href="http://osdir.com/ml/grass-development-gis/2012-11/msg00289.html" id="yui_3_16_0_1_1421525840020_6367" style="background-color: rgb(255, 255, 255);">grass-development-gis - [GRASS-dev] v.select - ERROR: IllegalArgumentException: point array must contain 0 or >1 elements - msg#00289 - Recent Discussion OSDir.com</a><br></div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px; background-color: #ffffff;" contenteditable="false" id="enhancrCard_1" class="link-enhancr-attachment link-enhancr-element"><table class="link-enhancr-element" cellspacing="0" cellpadding="0" border="0" style="width:450px; height:auto; position: relative; display: block;" id="yui_3_16_0_1_1421525840020_6450"><tbody id="yui_3_16_0_1_1421525840020_6449"><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr class="link-enhancr-element" id="yui_3_16_0_1_1421525840020_6453"><td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;" id="yui_3_16_0_1_1421525840020_6452"><div class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 6pt;" id="yui_3_16_0_1_1421525840020_6451"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 20px; background-color: #ffffff; font-size: 20pt;"> </div></td><td class="link-enhancr-element" rowspan="5" width="1" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr id="yui_3_16_0_1_1421525840020_6448"><td class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';" id="yui_3_16_0_1_1421525840020_6447"><div class="link-enhancr-text-part link-enhancr-element" style="line-height:16.5px; background-color: #ffffff; width: 414px;" id="yui_3_16_0_1_1421525840020_6446"><div class="link-enhancr-element" style="word-wrap: break-word; word-break: break-all;" id="yui_3_16_0_1_1421525840020_6445"><span class="link-enhancr-element icon icon-shrink link-enhancr-toggle"></span><span class="link-enhancr-element icon icon-close link-enhancr-delete"></span><a href="http://osdir.com/ml/grass-development-gis/2012-11/msg00289.html" class="link-enhancr-card-urlWrapper link-enhancr-element" style="text-decoration: none !important; color: #000000 !important; line-height: 100%; font-size: 18px; display: block;" id="yui_3_16_0_1_1421525840020_6444"><span class="link-enhancr-element link-enhancr-card-title" style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; display: inline-block;" id="yui_3_16_0_1_1421525840020_6443">grass-development-gis - [GRASS-dev] v.select - ERROR: IllegalArgumentException: point array mus...</span></a><div style="font-size: 13px; line-height: 20px; color: #999999; max-height: 81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" class="link-enhancr-card-description link-enhancr-element" id="yui_3_16_0_1_1421525840020_6454">hi, I've tried v.select of a line vector by an area vector: GEOS-based selection v.select ainput=geav150@rstreamanalysis binput=mgoutlet@rstreamanalysis output=test operator=overlaps </div></div></div></td></tr><tr id="yui_3_16_0_1_1421525840020_6457"><td colspan="2" class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;" id="yui_3_16_0_1_1421525840020_6456"><div class="link-enhancr-element" style="height: 6px; background-color: #ffffff; font-size: 6pt;" id="yui_3_16_0_1_1421525840020_6455"></div></td></tr><tr><td class="link-enhancr-element" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="link-enhancr-element" style="font-size: 0pt;"><a href="http://osdir.com/ml/grass-development-gis/2012-11/msg00289.html" class="link-enhancr-card-url link-enhancr-element" style="color: black; text-decoration: none !important;cursor:pointer !important;" target="_blank"><span class="link-enhancr-element link-enhancr-view-on" style="display: inline-block; line-height: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: 13px; word-break: break-all;" id="yui_3_16_0_1_1421525840020_6381"><span class="link-enhancr-element link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span style="font-weight: bold" class="link-enhancr-view-on-domain">osdir.com</span></span></span></a></div></td><td class="link-enhancr-element" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="link-enhancr-element link-enhancr-preview-wrapper" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span class="link-enhancr-element link-enhancr-preview-by link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr><td colspan="2" class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 9px; background-color: #ffffff; font-size: 9pt;"></div></td></tr><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="" dir="ltr">Thanks for any advice you can provide.</div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="" dir="ltr"><br></div><div id="yui_3_16_0_1_1421525840020_6031" class="" style="" dir="ltr">-Thayer</div></div></body></html>