You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the properties returned by routing, time-filter etc. are of the wrong type: we can safely assume distance and travel_time will be a single integer therefore it would be nice if such values returned to qgis layers would be of corresponding type.
I suggest adding something like:
def propType(propName):
if propName == "distance" or propName == "travel_time" :
return QVariant.Int
else:
return QVariant.String
and using it in result prop processing such as calls:
Some of the properties returned by routing, time-filter etc. are of the wrong type: we can safely assume
distance
andtravel_time
will be a single integer therefore it would be nice if such values returned to qgis layers would be of corresponding type.I suggest adding something like:
and using it in result
prop
processing such as calls:traveltime-platform-qgis-plugin/travel_time_platform_plugin/algorithms/advanced.py
Line 487 in 7801910
use
QgsField("prop_" + prop, propType(prop), "text")
insteadThe text was updated successfully, but these errors were encountered: