X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c371bbcfe45904ab56ece73f709b75e5ef6502fd..09bde0baf96af07d5873e952f604fe4e2409e455:/lib/Geocode.php?ds=inline diff --git a/lib/Geocode.php b/lib/Geocode.php index 545d3b71..78b0716f 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1435,10 +1435,12 @@ { preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); } + /* elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#',$aPointPolygon['astext'],$aMatch)) { preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); } + */ elseif (preg_match('#POINT\\((-?[0-9.]+) (-?[0-9.]+)\\)#',$aPointPolygon['astext'],$aMatch)) { $fRadius = 0.01;