]> git.openstreetmap.org Git - nominatim.git/commitdiff
typo
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Oct 2012 20:20:05 +0000 (22:20 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 9 Oct 2012 20:23:35 +0000 (22:23 +0200)
utils/setup.php

index 0a0aa7109e48650d8d631a88ab520db623fc0359..b5d6767df506bbe76bc2bc90897ea28ce083c55f 100755 (executable)
                $sSQL .= "from placex where postcode is not null and calculated_country_code not in ('ie') group by calculated_country_code,postcode) as x";
                if (!pg_query($oDB->connection, $sSQL)) fail(pg_last_error($oDB->connection));
 
-               $sSQL = "insert into placex (osm_type,osm_id,class,type,postcode,calcuclated_country_code,geometry) ";
+               $sSQL = "insert into placex (osm_type,osm_id,class,type,postcode,calculated_country_code,geometry) ";
                $sSQL .= "select 'P',nextval('seq_postcodes'),'place','postcode',postcode,'us',";
                $sSQL .= "ST_SetSRID(ST_Point(x,y),4326) as geometry from us_postcode";
                if (!pg_query($oDB->connection, $sSQL)) fail(pg_last_error($oDB->connection));