C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
ToPoint ( IPoint point ) : string

Converts a single point into EWKT

Write ( IGeometry geometry ) : string

Converts a geometry into EWKT.

Описание методов

ToPoint() публичный статический Метод

Converts a single point into EWKT
public static ToPoint ( IPoint point ) : string
point IPoint The point to write
Результат string

Write() публичный Метод

Converts a geometry into EWKT.
public Write ( IGeometry geometry ) : string
geometry IGeometry The geometry to write.
Результат string