SearchCriteriaGeometricWellKnownText Property |
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
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)