Jump to: navigation, search

Changes


WKTParser

659 bytes added, 13:31, 3 April 2020
== Supported Geography types ==
=== Multiline Linestring ===A Multiline Linestring is an open line segment defined by 2 or more geo coordinates.
''Example''
GeoLine line;
if (parser.TryParseLine(WKT_LINE, out line)
{
...
}
</source>
 
=== Multiline ===
A Multiline is an open line segment defined by 2 or more Linestrings.
 
''Example''
<source lang="csharp">
using UBIK.Kernel.Geography;
 
string WKT_LINE = "MULTILINESTRING ((" +
"7.57993575611781 51.683810417826201 0," +
"7.579931596709839 51.683807447421998 0," +
"7.5799200326123 51.683760818713999 0," +
"7.57991875699064 51.683757153992197 0)," +
("7.57993575611781 51.683810417826201 0," +
"7.579931596709839 51.683807447421998 0))" ;
 
WKTParser parser = new WKTParser();
GeoMultiLine line;
if (parser.TryParseMultiLine(WKT_LINE, out line)
{
...
1,579
edits