C# Class Azavea.Open.DAO.PostgreSQL.EWKTWriter

PostGIS doesn't use exact WKT, it uses "extended WKT". Unfortunately the WKTWriter class doesn't allow you to extend and override its methods (and many are static anyway) so we offer this alternate implementation as a WKT writer that can write PostGIS WKT.
Afficher le fichier Open project: azavea/net-dao-postgresql

Méthodes publiques

Méthode Description
ToPoint ( IPoint point ) : string

Converts a single point into EWKT

Write ( IGeometry geometry ) : string

Converts a geometry into EWKT.

Method Details

ToPoint() public static méthode

Converts a single point into EWKT
public static ToPoint ( IPoint point ) : string
point IPoint The point to write
Résultat string

Write() public méthode

Converts a geometry into EWKT.
public Write ( IGeometry geometry ) : string
geometry IGeometry The geometry to write.
Résultat string