Click or drag to resize

SearchCriteriaGeometricWellKnownText Property

Coordinate to a point of interest to find houses nearby or within 1 or more coordinates forming a polygon. Format is WKT: See Wiki: http://en.wikipedia.org/wiki/Well-known_text Important notes regarding usage:

1. When parsing POLYGON structures ensure that start and end points are ALWAYS the same! 2. For POLYGON structures the preferable orientation of points are anticlockwise. 3. For all coordinate pairs make sure that the order is: long/lat and NOT lat/long! 4. When parsing a single POINT the resultset can be sorted by inserting a sorting expression in the list: Sorting. Use the enummeration value: RentalObjectSortOptionEnum.PointDistance. 5. When parsing a single POINT filter the resultset using PoiKmRadius to disregard rental objects outside the maximum distance. 6. If the coordinate structure is invalid the search ignores the geodetic search criteria.

Namespace:  Tse.EasyBook.Server.DataContracts
Assembly:  Tse.EasyBook.Server.DataContracts (in Tse.EasyBook.Server.DataContracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public string GeometricWellKnownText { get; set; }

Property Value

Type: String
Remarks
This property is optional.
Examples

Example of a multi polygon of northern jutland and the area around "Als". Will return all rental objects within these 2 polygons.

MULTIPOLYGON (((9.525034 57.780474,9.439059 57.298631,10.793124 57.188661,10.859042 57.710306,9.525034 57.780474)),((9.435883 55.074436,9.42627 54.843408,10.134888 54.8355,9.967346 55.089372,9.435883 55.074436)))

Example of a point located in northern jutland:

POINT (9.525034 57.780474)

Please take notice of the order of long/lat in both examples.
See Also