Project

General

Profile

Actions

Question #1160

closed

Type of shape need to be renamed for API/Geojson

Added by Bernhard Koschiček-Krombholz almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Backend
Target version:
-
Start date:
2020-02-21
Estimated time:

Description

The shape type for a valid geojson is case sensitiv. For now, with Gis.get_by_id(entity.location.id)['shape'] I get all lowercase. I don't know if we can or want to store the geojson names somewhere.

For now I will build a workaround with a dict.

Actions

Also available in: Atom PDF