User Reference

User reference for mycybergis package.

mycybergis.uiuc module

mycybergis.uiuc.get_map_of_uiuc(center: List[float] = [40.098, -88.219], zoom: int = 11) Map[source]

Creates and returns a folium.Map instance of UIUC.

Parameters:
  • center (List[float]) – the lon, lat for the center of the map.

  • zoom (int) – the starting level of zoom.

Returns:

folium.Map showing UIUC

Tip

Maps are fun!

mycybergis.uiuc.get_uiuc_buffered_gdf(buffer: float = 1000, buffer_crs: str = 'ESRI:102003', output_crs: str = 'EPSG:4326') GeoDataFrame[source]

Returns a gpd.GeoDataFrame of UIUC with a buffer of size buffer in buffer_crs units and returns the GeoDataFrame in crs output_crs.

Parameters:
  • buffer (float) – size of the buffer in buffer_crs units. Default is 1000.

  • buffer_crs (str) – authority string for Coordinate Reference System to calculate buffer on

  • output_crs (str) – authority string for return gpd.GeoDataFrame

Returns:

gpd.GeoDataFrame of UIUC with buffer

mycybergis.uiuc.get_uiuc_gdf() GeoDataFrame[source]

Returns a gpd.GeoDataFrame representing UIUC. Uses mycybergis.uiuc.get_uiuc_polygon().

Returns:

gpd.GeoDataFrame representing UIUC.

mycybergis.uiuc.get_uiuc_polygon() Polygon[source]

Returns a shapely.geometry.Polygon surrounding UIUC.

Returns:

shapely.geometry.Polygon representing UIUC