]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
XML and JSON map 'ploygon' param to AsPoints
[nominatim.git] / lib / Geocode.php
index e5f3a1572832a3ed148dfca4704ac4e7c6f55543..0e4bd0a0ab60dbe1ec2f03d7a732b1db1923b2fa 100644 (file)
                                                        $aResult['lat'] = $aPointPolygon['centrelat'];
                                                        $aResult['lon'] = $aPointPolygon['centrelon'];
                                                }
+
                                                if ($this->bIncludePolygonAsPoints)
                                                {
                                                        // Translate geometary string to point array