Files
rogaining_srv/rog/mapping.py
2022-03-01 16:34:55 +05:30

24 lines
558 B
Python

from django.contrib.gis.utils import LayerMapping
location_mapping = {
'location_id' : 'loc_id',
'location_name' : 'loc_name',
'category': 'category',
'zip':'zip',
'address':'address',
'prefecture':'prefecture',
'area':'area',
'city':'city',
'photos':'photos',
'videos':'videos',
'webcontents':'webcontent',
'status':'status',
'portal':'portal',
'group':'group',
'phone':'phone',
'fax':'fax',
'email':'email',
'facility':'facility',
'remark':'remark',
'geom': 'MULTIPOLYGON',
}