# GeoFile Reader Node Error while loading gpkg file.

**URL:** <https://forum.knime.com/t/geofile-reader-node-error-while-loading-gpkg-file/70338>\
**Category:** KNIME Extensions\
**Tags:** other-knime-extensions\
**Created:** [July 6, 2023, 2:16pm UTC](https://forum.knime.com/t/geofile-reader-node-error-while-loading-gpkg-file/70338 "2023-07-06T14:16:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iCornerstone](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/i/f1d935/32.png) [@iCornerstone](https://forum.knime.com/u/iCornerstone)\
**Post date:** [July 6, 2023, 2:16pm UTC](https://forum.knime.com/t/geofile-reader-node-error-while-loading-gpkg-file/70338/1 "2023-07-06T14:16:45Z")

</div>

Hi all,

I am trying to load the UK street/road network (file osopenusrn\_202307.gpkg from [OS Data Hub](https://osdatahub.os.uk/downloads/open/OpenUSRN) ) in Geospatial Analytics package using the “GeoFile Reader” Node. I have nothing else other than this Node.

Unfortunately while loading the .gpkg file it comes up with an “Execute failed: IllegalArgumentException: point array must contain 0 or \>1 elements” Error.

Am I doing something wrong? Can you help?

---

<div class="post-metadata">

**Author:** ![tobias.koetter](https://forum-cdn.knime.com/user_avatar/forum.knime.com/tobias.koetter/32/56844_2.png) [@tobias.koetter](https://forum.knime.com/u/tobias.koetter)\
**Post date:** [July 11, 2023, 4:48pm UTC](https://forum.knime.com/t/geofile-reader-node-error-while-loading-gpkg-file/70338/2 "2023-07-11T16:48:50Z")

</div>

Hi @iCornerstone ,  
this is a known [issue](https://github.com/geopandas/geopandas/issues/2791). It seems that the geofile contains invalid line strings in which case the Shapely library used by Geopandas throws an exception during the processing of the the file. I have created a [ticket](https://github.com/spatial-data-lab/knime-geospatial-extension/issues/260) to add an “Ignore invalid” geometries to the GeoPackage Reader to investigate this as a possible solution.  
Bye  
Tobias

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [October 9, 2023, 4:49pm UTC](https://forum.knime.com/t/geofile-reader-node-error-while-loading-gpkg-file/70338/3 "2023-10-09T16:49:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
