@giscience/ohsome2x
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -166,3 +166,4 @@ "use strict"; | ||
if (axiosError.response) { | ||
if (axiosError.response.status == 413) { | ||
if (axiosError.response.status == 413 | ||
|| (axiosError.response.status == 500)) { | ||
if (fetchSize <= 1) { | ||
@@ -169,0 +170,0 @@ throw new Ohsome2XError_1.default('Could not get Ohsome results, even with fetchSize: 1. Processing took too long with current query and service configuration.', {}, axiosError); |
@@ -103,4 +103,5 @@ "use strict"; | ||
column_name, | ||
CASE dtype = 'geometry' | ||
WHEN TRUE THEN (SELECT dtype FROM geom_cols) | ||
CASE | ||
WHEN dtype = 'geometry' | ||
THEN (SELECT dtype FROM geom_cols WHERE geom_cols.column_name = cols.column_name) | ||
ELSE dtype | ||
@@ -107,0 +108,0 @@ END AS dtype |
{ | ||
"name": "@giscience/ohsome2x", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "convenience library to query ohsome-api using nodejs", | ||
@@ -5,0 +5,0 @@ "main": "dist/Ohsome2X.js", |
108077
2066