Ticket #4151: area-place.diff

File area-place.diff, 1.8 KB (added by Eckhart Wörner, 8 years ago)
  • layer-placenames.xml.inc

     
    149149      (select way,place,name,ref
    150150       from &prefix;_point
    151151       where place in ('country','state')
     152       union
     153       select way,place,name,ref
     154       from &prefix;_polygon
     155       where place in ('country','state')
    152156      ) as placenames</Parameter>
    153157      &datasource-settings;
    154158    </Datasource>
     
    160164      (select way,place,name,ref
    161165       from &prefix;_point
    162166       where place in ('city','metropolis','town') and capital='yes'
     167       union
     168       select way,place,name,ref
     169       from &prefix;_polygon
     170       where place in ('city','metropolis','town') and capital='yes'
    163171      ) as placenames</Parameter>
    164172      &datasource-settings;
    165173    </Datasource>
     
    173181      from &prefix;_point
    174182      where place in ('city','metropolis','town','large_town','small_town')
    175183        and (capital is null or capital != 'yes')
     184      union
     185      select way,place,name
     186      from &prefix;_polygon
     187      where place in ('city','metropolis','town','large_town','small_town')
     188        and (capital is null or capital != 'yes')
    176189      ) as placenames</Parameter>
    177190      &datasource-settings;
    178191    </Datasource>
     
    186199      (select way,place,name
    187200      from &prefix;_point
    188201      where place in ('suburb','village','large_village','hamlet','locality','isolated_dwelling','farm')
     202      union
     203      select way,place,name
     204      from &prefix;_polygon
     205      where place in ('suburb','village','large_village','hamlet','locality','isolated_dwelling','farm')
    189206      ) as placenames</Parameter>
    190207      &datasource-settings;
    191208    </Datasource>