geometry.geojson
This commit is contained in:
parent
a6334a26d1
commit
85541ed4b1
|
@ -58,7 +58,7 @@ class Feature(models.Model):
|
|||
feature_type_name.short_description = "Feature Type"
|
||||
|
||||
def get_geojson(self):
|
||||
geom = json.loads(self.geojson)
|
||||
geom = json.loads(self.geometry.geojson)
|
||||
properties = {
|
||||
'id': self.id,
|
||||
'preferred_name': self.preferred_name
|
||||
|
|
Loading…
Reference in New Issue
Block a user