[−][src]Trait geo_postgis::ToPostgis
Converts geometry to a PostGIS type.
Note that PostGIS databases can include a SRID (spatial reference
system identifier) for geometry stored in them. You should specify
the SRID of your geometry when converting, using to_postgis_with_srid(),
or use to_postgis_wgs84() if your data is standard WGS84.
Required methods
pub fn to_postgis_with_srid(&self, srid: Option<i32>) -> T[src]
Converts this geometry to a PostGIS type, using the supplied SRID.
Provided methods
pub fn to_postgis_wgs84(&self) -> T[src]
Converts this WGS84 geometry to a PostGIS type.