Hello, did you try to transform your line vector into a polygon vector and use after a v.clean command with tool=rmarea ? So only the small area will be removed and after you can again transform your polygon vector into a lin vector Mick
(attachments)
···
Le 21/10/2013 16:48, grass-user-request@lists.osgeo.org a écrit :
Send grass-user mailing list submissions to [grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org) To subscribe or unsubscribe via the World Wide Web, visit [http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user) or, via email, send a message with subject or body 'help' to [grass-user-request@lists.osgeo.org](mailto:grass-user-request@lists.osgeo.org) You can reach the person managing the list at [grass-user-owner@lists.osgeo.org](mailto:grass-user-owner@lists.osgeo.org) When replying, please edit your Subject line so it is more specific than "Re: Contents of grass-user digest..." Today's Topics: 1. How to delete small closed lines, problems with v.edit and v.generalize (BLANDENIER Lucien) ---------------------------------------------------------------------- Message: 1 Date: Mon, 21 Oct 2013 14:48:21 +0000 From: BLANDENIER Lucien [<lucien.blandenier@unine.ch>](mailto:lucien.blandenier@unine.ch) To: ["grass-user@lists.osgeo.org"](mailto:grass-user@lists.osgeo.org) [<grass-user@lists.osgeo.org>](mailto:grass-user@lists.osgeo.org) Subject: [GRASS-user] How to delete small closed lines, problems with v.edit and v.generalize Message-ID: [<84F1DDBD03D55944AA4E63A2FE5EADE5530A7CFE@MAIL-MBX-05.UNINE.CH>](mailto:84F1DDBD03D55944AA4E63A2FE5EADE5530A7CFE@MAIL-MBX-05.UNINE.CH) Content-Type: text/plain; charset="iso-8859-1" Hello, I'm trying to simplify a contour map I've done with r.contour. I want to remove small area but when I use the command v.edit map=<map> tool=delete thresh=1000 query=length, only "non-closed map" are considered and the "closed line" (there are really lines, not polygons) remain.
I've the same problem with the command v.generalize. Does someone knows how to consider all the lines ? Attached is my shp. Regards Lucien -------------- next part -------------- A non-text attachment was scrubbed... Name: Head_Interp_Rast_contour.dbf Type: application/octet-stream Size: 10527 bytes Desc: Head_Interp_Rast_contour.dbf URL: [<http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.obj>](http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.obj) -------------- next part -------------- A non-text attachment was scrubbed... Name: Head_Interp_Rast_contour.prj Type: application/octet-stream Size: 389 bytes Desc: Head_Interp_Rast_contour.prj URL: [<http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment-0001.obj>](http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment-0001.obj) -------------- next part -------------- A non-text attachment was scrubbed... Name: Head_Interp_Rast_contour.shp Type: application/x-qgis Size: 131476 bytes Desc: Head_Interp_Rast_contour.shp URL: [<http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.shp>](http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.shp) -------------- next part -------------- A non-text attachment was scrubbed... Name: Head_Interp_Rast_contour.shx Type: application/x-qgis Size: 2484 bytes Desc: Head_Interp_Rast_contour.shx URL: [<http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.shx>](http://lists.osgeo.org/pipermail/grass-user/attachments/20131021/1427281b/attachment.shx) ------------------------------ _______________________________________________ grass-user mailing list [grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org) [http://lists.osgeo.org/mailman/listinfo/grass-user](http://lists.osgeo.org/mailman/listinfo/grass-user) End of grass-user Digest, Vol 90, Issue 35 ******************************************
–
Michael Rabotin |
Ingénieur d’Etude SIG / GIS Engineer |
UMR LISAH - Centre de Montpellier |
Tèl. : +33 (0)4 99 61 23 85 |
Mobile : +33 (0)6 76 45 46 83 |
Fax : +33 (0)4 67 63 26 14 |
Bat 24 - 2 place Pierre Viala |
|
34060 Montpellier cedex 2 |
|
France |
|