Dear Grass users/devs,
while moving/deleting vertices on a line vector map, I was kicked out of
my wxdigit session. As often in this case the map is damaged, with the
warning : "Coor files of vector map <cbn2017@vincent> is larger than it
should be (7762 bytes excess)"
I don't really know how the error can be investigated, or if it's
possible to edit the file to correct the erroneous feature... but this
time I finally tried to retrieve my data (a load of contour lines) with
v.extract. I succeeded and could keep on working avoiding to loose quite
a massive data.
My question is : is there a /more regular/ way to resolve this frequent
issue?
Thanks,
Vincent.
Reply to myself (and maybe a ticket opening, let me know). I work on a
fresh build of grass7_trunk, here is the problem:
There might be something wrong with the digitizer, especially with the
ability to remove vertices. If you accidentally (I mean it's a nonsense)
attemp to remove a vertex to a two-vertices line, then digitizer and gui
immediately crash.
After rebuilding the map, running v.report allows you to identify a
zero-length segment. Notice this wrong line cannot be removed by v.clean
and its dedicated rmline option (anyone know why?). Running v.edit with
tool=delete you can remove the zero-length line, then everything runs
fine again for your map.
Hope this can help people puzzled by this rather frequent issue (at
least for me ;-)).
Vincent.
Le mercredi 01 mars 2017 à 13:40 +0100, Vincent Bain a écrit :
Dear Grass users/devs,
while moving/deleting vertices on a line vector map, I was kicked out of
my wxdigit session. As often in this case the map is damaged, with the
warning : "Coor files of vector map <cbn2017@vincent> is larger than it
should be (7762 bytes excess)"
I don't really know how the error can be investigated, or if it's
possible to edit the file to correct the erroneous feature... but this
time I finally tried to retrieve my data (a load of contour lines) with
v.extract. I succeeded and could keep on working avoiding to loose quite
a massive data.
My question is : is there a /more regular/ way to resolve this frequent
issue?
Thanks,
Vincent.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
2017-03-01 17:19 GMT+01:00 Vincent Bain <bain@toraval.fr>:
There might be something wrong with the digitizer, especially with the
ability to remove vertices. If you accidentally (I mean it's a nonsense)
attemp to remove a vertex to a two-vertices line, then digitizer and gui
immediately crash.
seems to be a bug, please report it as a new issue on trac. Thanks, Martin
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
OK,
slight rectification on my previous post: v.clean works well and truly,
my mistake.
V.
Le mercredi 01 mars 2017 à 17:23 +0100, Martin Landa a écrit :
2017-03-01 17:19 GMT+01:00 Vincent Bain <bain@toraval.fr>:
> There might be something wrong with the digitizer, especially with the
> ability to remove vertices. If you accidentally (I mean it's a nonsense)
> attemp to remove a vertex to a two-vertices line, then digitizer and gui
> immediately crash.
seems to be a bug, please report it as a new issue on trac. Thanks, Martin