Better instructions for volume measurements

pull/451/head
Piero Toffanin 2018-05-13 09:35:29 -04:00
rodzic 114b0e52f9
commit 38ec4cafee
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ class TaskVolume(TaskNestedView):
def post(self, request, pk=None):
task = self.get_and_check_task(request, pk)
if task.dsm_extent is None:
return Response({'error': 'No surface model available'})
return Response({'error': 'No surface model available. From the Dashboard, select this task, press Edit, from the options make sure to check "dsm", then press Restart --> From DEM.'})
serializer = GeoJSONSerializer(data=request.data)
serializer.is_valid(raise_exception=True)