ebp-group / walkalytics-clients

Example code for Walkalytics API
https://dev.walkalytics.com
MIT License
3 stars 2 forks source link

Isochrone calculation fails #3

Closed rastrau closed 3 years ago

rastrau commented 8 years ago

Python tool Isochrone fails with the following error message (ArcGIS 10.3):

Traceback (most recent call last): File "<string>", line 183, in execute TypeError: object() takes no parameters Failed to execute (Isochrone).

Maybe mixed indentation characters or some other quirky Python error.

ping13 commented 8 years ago

can't reproduce this (however, I pushed a long pending update to the code this morning).

image

rastrau commented 8 years ago

Okay, re-cloned repo, but error persists. Inputs: temp

Pillow was installed from wheel as described in https://github.com/ernstbaslerpartner/walkalytics-clients#arcgis-desktop. Point FGDB FC is used as input (V:\rsm\temp\Inputdaten.zip).

ping13 commented 8 years ago

Seems to be a problem with the FC: The code in line 205 cannot access the coordinates of the point FC.

rastrau commented 8 years ago

Just re-tested with newly created LV03 and WGS1984 point FCs with the same result. Maybe datatype="GPFeatureRecordSetLayer" won't work with FCs (dunno that datatype)?

(Also bit surprising: inFeatures = parameters[0].valueAsText rather than inFeatures = parameters[0].value)

ping13 commented 8 years ago

Bei mir läuft der Prozess durch :-O, die Ergebnisse habe ich mal unter V:\RSM\TEMP abgelegt. Ich muss mir das wohl mal an Deinem PC anschauen.