[GRASS-user] v.net.path and "Coor file of vector map is larger than it should be"

Markus Metz markus.metz.giswork at gmail.com
Wed Feb 15 00:38:18 PST 2017


On Mon, Feb 13, 2017 at 8:37 PM, Dustin Fry <frydustint at gmail.com> wrote:
>
> I have read on this forum that this error can result when the module
creating the vector map crashes before it closes the map.  That seems to be
what is happening, but I'm not sure why it would be.
>
> I am creating vector maps with v.net.path using .txt files of coordinate
pairs to find the shortest path along the network for each pair.  This
usually works, but not always.  For some of my maps that I am creating,
v.net.path goes through all the coordinate pairs as it should, but then
says "registering primitives" for a couple seconds and then closes before
it finishes building the map.  When I try to use v.build, I get the "coor
file of vector map is larger than it should be" error.
>
> All of the coordinate files were created identically, all have the same
number of coordinate pairs, and I'm using the same underlying vector map as
the network (input) for v.net.path.  But for some of the coordinate files,
the module crashes every time I try to create the map, after going through
all the coordinate pairs.  Any thoughts on what might be causing this
issue, and how I could fix it?

You can try gdb [0] or valgrind --tool=memcheck [1] to find out where and
why the module crashes. Alternatively, you could make a sample vector map
and text file with coordinates available (offlist).

Markus M

[0] https://grasswiki.osgeo.org/wiki/GRASS_Debugging#Using_GDB
[1] https://grasswiki.osgeo.org/wiki/GRASS_Debugging#Using_Valgrind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170215/72b30cb7/attachment.html>


More information about the grass-user mailing list