get_epsg4326_wgs84_crs_ref¶
-
pydriosm.reader.
get_epsg4326_wgs84_crs_ref
(as_str=False)¶ Get reference of EPSG Projection 4326 - WGS 84 (EPSG:4326) for the setting of CRS for saving shapefile data.
- Parameters
as_str (bool) – whether to return the reference as a string type
- Returns
reference of EPSG Projection 4326 - WGS 84 (in Proj4 format)
- Return type
dict or str
Example:
>>> from pydriosm.reader import get_epsg4326_wgs84_crs_ref >>> shp_crs = get_epsg4326_wgs84_crs_ref() >>> print(shp_crs) {'proj': 'longlat', 'ellps': 'WGS84', 'datum': 'WGS84', 'no_defs': True} >>> shp_crs = get_epsg4326_wgs84_crs_ref(as_str=True) >>> print(shp_crs) +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs