#2878: "v.in.ogr -i" throws an error when importing a GeoJSON file containing a single point. --------------------------+--------------------------------- Reporter: pmav99 | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.4 Component: Vector | Version: svn-releasebranch70 Resolution: | Keywords: v.in.ogr v.import CPU: Unspecified | Platform: Unspecified --------------------------+--------------------------------- Changes (by neteler):
* version: unspecified => svn-releasebranch70 * milestone: => 7.0.4 Comment: Two comments: Replying to [comment:10 mlennert]: > + if (cellhd.north == cellhd.south) > + cellhd.north += 0.0001; please see: lib/gis/adj_cellhd.c * AFAIK such equality comparisons need to be done comparing against an epsilon, not with == * if I get it right, in that file 0.000001 is used. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/2878#comment:11> GRASS GIS <https://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev