# Error with creating isochrones

**URL:** <https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341>\
**Category:** isochrones\
**Created:** [November 17, 2022, 7:10pm UTC](https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341 "2022-11-17T19:10:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnaehle](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/c/8baadc/32.png) [@cnaehle](https://ask.openrouteservice.org/u/cnaehle)\
**Post date:** [November 17, 2022, 7:10pm UTC](https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341/1 "2022-11-17T19:10:40Z")

</div>

Hi there,

I need to calculate isochrones from a shapefile with multiple points (not a multipoint shape file, I was smart enough not do use that), and it worked until I edited two point in the file and added a few points. Not the error log looks like this:

“Traceback (most recent call last):  
File “/Users/cnaehle/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/isochrones\_layer\_proc.py”, line 127, in processAlgorithm  
for locations, id\_value in self.get\_sorted\_feature\_parameters(source, id\_field\_name):  
File “/Users/cnaehle/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/isochrones\_layer\_proc.py”, line 193, in get\_sorted\_feature\_parameters  
x\_point = x\_former.transform(feat.geometry().asPoint())  
ValueError: Null geometry cannot be converted to a point.  
Execution failed after 0.04 Sekunden”

Any suggestions? I really wouldn’t want to recreate all 150 points manually…

Regards

Philip

---

<div class="post-metadata">

**Author:** ![jschnell](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/jschnell/32/971_2.png) [@jschnell](https://ask.openrouteservice.org/u/jschnell)\
**Post date:** [November 18, 2022, 9:40am UTC](https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341/2 "2022-11-18T09:40:15Z")

</div>

Hey,

without the input data, finding the cause for these kinds of issues is just poking around in the fog.  
However, there’s a few reasons this might happen even if your input data is “correct”:

- layer was still in edit mode
- points had no geometry after edits
- invalid geometry (however that may come to be…)

Best regards

---

<div class="post-metadata">

**Author:** ![Stefan](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/stefan/32/1529_2.png) [@Stefan](https://ask.openrouteservice.org/u/Stefan)\
**Post date:** [November 18, 2022, 1:38pm UTC](https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341/3 "2022-11-18T13:38:16Z")

</div>

The answer is in the error message:

> [@cnaehle](#):
>
> ValueError: Null geometry cannot be converted to a point.

You have a row in your shapefile that may or may not have attributes, but does not have a geometry. Either remove that row or add a geometry to it. Shouldn’t be too hard to find using QGis.

---

<div class="post-metadata">

**Author:** ![cnaehle](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/c/8baadc/32.png) [@cnaehle](https://ask.openrouteservice.org/u/cnaehle)\
**Post date:** [November 18, 2022, 8:49pm UTC](https://ask.openrouteservice.org/t/error-with-creating-isochrones/4341/4 "2022-11-18T20:49:42Z")

</div>

Thanks a lot!
