<div dir="ltr"><div dir="ltr"><div>A follow up:</div><div><br></div><div>If I convert the gpkg to shapefile and import into GRASS, then all points are imported:</div><div><br></div><div dir="ltr">v.import input=central.shp layer=central output=central --overwrite<br>Check if OGR layer <central> contains polygons...<br>Creating attribute table for layer <central>...<br>Importing 30 features (OGR layer <central>)...<br>-----------------------------------------------------<br>Building topology for vector map <central@testing>...<br>Registering primitives...<br>Input <central.shp> successfully imported without reprojection</div><div dir="ltr"><br></div><div dir="ltr">v.db.select -c central | wc -l<br>30<br><br></div><div>What could be the problem with gpkg and how to test further?? <br></div></div><br><div class="gmail_quote"><div dir="ltr">El lun., 8 oct. 2018 a las 21:24, Veronica Andreo (<<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello devs <div><br></div><div>I found a quite striking issue when importing a simple vector file.  It is a gpkg file with 30 points and only one field as attribute. When I import it into GRASS, either with v.in.ogr or v.import, I only get 28 points imported. No idea why. Meanwhile, ogrinfo -al reports 30 points, same as QGIS</div><div><br></div><div>v.in.ogr input=central.gpkg layer=central output=central<br></div><div><div>Check if OGR layer <central> contains polygons...</div><div>WARNING: Vector map <central> already exists and will be overwritten</div><div>Creating attribute table for layer <central>...</div><div>Importing 28 features (OGR layer <central>)...</div><div>-----------------------------------------------------</div><div>Building topology for vector map <central@testing>...</div><div>Registering primitives...</div></div><div><br></div><div><div>v.db.select -c central | wc -l</div><div>28</div></div><div><br></div><div>I attach the file.</div><div><br></div><div>Thanks much in advance</div><div>Vero<br></div><div><br></div><div>ps: I use trunk r73492</div></div></div></div>
</blockquote></div></div>