gpandas added in factory
This commit is contained in:
parent
de449edc76
commit
3568255c29
|
@ -10,6 +10,7 @@ from imports.geometry.citygml import CityGml
|
|||
from imports.geometry.obj import Obj
|
||||
from imports.geometry.osm_subway import OsmSubway
|
||||
from imports.geometry.rhino import Rhino
|
||||
from imports.geometry.gpandas import GPandas
|
||||
|
||||
|
||||
class GeometryFactory:
|
||||
|
@ -35,6 +36,15 @@ class GeometryFactory:
|
|||
:return: City
|
||||
"""
|
||||
return Obj(self._path).city
|
||||
|
||||
|
||||
@property
|
||||
def _gpandas(self) -> City:
|
||||
"""
|
||||
Enrich the city by using GeoPandas information as data source
|
||||
:return: City
|
||||
"""
|
||||
return GPandas(self._path).city
|
||||
|
||||
@property
|
||||
def _osm_subway(self) -> City:
|
||||
|
|
Loading…
Reference in New Issue
Block a user