Beispiel #1
0
 def _add_default_geof_views(cls, _views):
     if 'geofabric' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'geofabric\' as this is auto-created.'
         )
     if 'hyfeatures' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'hyfeatures\' as this is auto-created.'
         )
     _views['geofabric'] = GEOFView
     _views['hyfeatures'] = HYFView
Beispiel #2
0
 def _add_default_gnaf_views(cls, _views):
     if 'gnaf' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'gnaf\' as this is auto-created.'
         )
     if 'dct' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'dct\' as this is auto-created.'
         )
     _views['dct'] = DCTView
     _views['gnaf'] = GNAFView
Beispiel #3
0
 def _add_default_asgs_views(cls, _views):
     if 'asgs' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'asgs\' as this is auto-created.'
         )
     if 'loci' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'loci\' as this is auto-created.'
         )
     if 'geosparql' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'geosparql\' as this is auto-created.'
         )
     if 'wfs' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'wfs\' as this is auto-created.'
         )
     _views['asgs'] = ASGSView
     _views['loci'] = LOCIView
     _views['geosparql'] = GEOSparqlView
     _views['wfs'] = WFSView
Beispiel #4
0
 def _add_schema_org_views(cls, _views):
     if 'schemaorg' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'schemaorg\' as this is auto-created.'
         )
     _views['schemaorg'] = SchemaOrgView
Beispiel #5
0
 def _add_iso19160_views(cls, _views):
     if 'ISO19160' in _views.keys():
         raise pyldapi.ViewsFormatsException(
             'You must not manually add a view with token \'ISO19160\' as this is auto-created.'
         )
     _views['ISO19160'] = ISOView