Ejemplo n.º 1
0
def test_seaside_roadways(client):
    trns_brdg_dataset_id = "5ee7af50772cf80008577ae3"
    trns_brdg_dataset = Dataset.from_data_service(trns_brdg_dataset_id,
                                                  DataService(client))
    viz.plot_map(trns_brdg_dataset, column=None, category=False, basemap=True)

    assert True
Ejemplo n.º 2
0
def test_seaside_bridges(client):
    trns_brdg_dataset_id = "5d251172b9219c0692cd7523"
    trns_brdg_dataset = Dataset.from_data_service(trns_brdg_dataset_id,
                                                  DataService(client))
    viz.plot_map(trns_brdg_dataset, column=None, category=False, basemap=True)

    assert True
Ejemplo n.º 3
0
def test_visualize_inventory(client):
    shelby_hospital_inv_id = "5a284f0bc7d30d13bc081a28"
    shelby_road_id = "5a284f2bc7d30d13bc081eb6"

    # get shelvy building inventory and road
    sh_bldg_inv = Dataset.from_data_service(shelby_hospital_inv_id,
                                            DataService(client))
    sh_road = Dataset.from_data_service(shelby_road_id, DataService(client))

    # visualize building inventory
    viz.plot_map(sh_bldg_inv,
                 column="struct_typ",
                 category=False,
                 basemap=True)

    # visualize building inventory from geoserver
    viz.get_wms_map([sh_bldg_inv, sh_road])
    viz.get_gdf_map([sh_bldg_inv, sh_road])
    viz.get_gdf_wms_map([sh_bldg_inv], [sh_road])

    assert True