2022-02-22 20:21:57 +05:30
|
|
|
from django.contrib.gis.utils import LayerMapping
|
|
|
|
|
|
|
|
|
|
location_mapping = {
|
2022-03-01 14:51:00 +05:30
|
|
|
'location_id' : 'loc_id',
|
|
|
|
|
'location_name' : 'loc_name',
|
2022-02-28 17:51:56 +05:30
|
|
|
'category': 'category',
|
|
|
|
|
'zip':'zip',
|
|
|
|
|
'address':'address',
|
|
|
|
|
'prefecture':'prefecture',
|
|
|
|
|
'area':'area',
|
|
|
|
|
'city':'city',
|
|
|
|
|
'photos':'photos',
|
|
|
|
|
'videos':'videos',
|
2022-03-01 15:19:42 +05:30
|
|
|
'webcontents':'webcontent',
|
2022-02-28 17:51:56 +05:30
|
|
|
'status':'status',
|
2022-03-01 13:08:59 +05:30
|
|
|
'portal':'portal',
|
2022-02-28 17:51:56 +05:30
|
|
|
'group':'group',
|
|
|
|
|
'phone':'phone',
|
|
|
|
|
'fax':'fax',
|
|
|
|
|
'email':'email',
|
|
|
|
|
'facility':'facility',
|
|
|
|
|
'remark':'remark',
|
2022-03-01 16:48:46 +05:30
|
|
|
'parammeters':'params',
|
2022-03-01 16:39:25 +05:30
|
|
|
'tags':'tags',
|
2022-02-22 20:21:57 +05:30
|
|
|
'geom': 'MULTIPOLYGON',
|
|
|
|
|
}
|