Project

General

Profile

Actions

Question #1160

closed

Type of shape need to be renamed for API/Geojson

Added by Bernhard Koschiček-Krombholz about 4 years ago. Updated about 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 #1

Updated by Bernhard Koschiček-Krombholz about 4 years ago

  • Status changed from New to Closed

This solution is the best

Actions #2

Updated by Alexander Watzinger about 4 years ago

  • Target version deleted (204)
Actions

Also available in: Atom PDF