[OSM-talk-fr] natural=rock bug / osmose / corine

Etienne Chové chove at crans.org
Lun 12 Oct 11:57:18 UTC 2009


sly (sylvain letuffe) a écrit :
> salut,
> 
> Juste pour dire que les polygones non importés de type "roche nues" sur 
> http://osmose.openstreetmap.fr/clc/ ne contiennent pas l'attribu natural=rock

Oups...

> et qu'il faut bien penser à l'ajouter à la main.

C'est corrigé.

-- 
Etienne

if tags["CLC:code"] == "111":
     tags["landuse"] = "residential"
if tags["CLC:code"] == "112":
     tags["landuse"] = "residential"
if tags["CLC:code"] == "121":
     tags["landuse"] = "industrial;retail"
     tags["note:fr"] = u"Import CLC: ajustez le tag landuse avec soit 
industrial, soit retail après contrôle"
     tags["note"]    = "CLC import: update the tag landuse with either 
industrial or retail after survey"
if tags["CLC:code"] == "123":
     tags["landuse"] = "harbour"
if tags["CLC:code"] == "124":
     tags["aeroway"] = "aerodrome"
if tags["CLC:code"] == "131":
     tags["landuse"] = "quarry"
if tags["CLC:code"] == "132":
     tags["landuse"] = "landfill"
if tags["CLC:code"] == "133":
     tags["landuse"] = "construction"
if tags["CLC:code"] == "211":
     tags["landuse"] = "farm"
if tags["CLC:code"] == "212":
     tags["landuse"] = "farm"
if tags["CLC:code"] == "213":
     tags["landuse"] = "farm"
if tags["CLC:code"] == "221":
     tags["landuse"] = "vineyard"
if tags["CLC:code"] == "222":
     tags["landuse"] = "orchard"
if tags["CLC:code"] == "223":
     tags["landuse"] = "orchard"
     tags["trees"]   = "olive_tree"
if tags["CLC:code"] == "231":
     tags["landuse"] = "meadow"
if tags["CLC:code"] == "311":
     tags["landuse"] = "forest"
     tags["wood"]    = "deciduous"
if tags["CLC:code"] == "312":
     tags["landuse"] = "forest"
     tags["wood"]    = "coniferous"
if tags["CLC:code"] == "313":
     tags["landuse"] = "forest"
     tags["wood"]    = "mixed"
if tags["CLC:code"] == "321":
     tags["natural"] = "grassland"
if tags["CLC:code"] == "322":
     tags["natural"] = "heath"
if tags["CLC:code"] == "332":
     tags["natural"] = "rocks"
if tags["CLC:code"] == "335":
     tags["natural"] = "glacier"
if tags["CLC:code"] == "411":
     tags["natural"] = "wetland"
     tags["wetland"] = "marsh"
if tags["CLC:code"] == "412":
     tags["natural"] = "wetland"
     tags["wetland"] = "bog"
if tags["CLC:code"] == "421":
     tags["natural"] = "wetland"
     tags["wetland"] = "saltmarsh"
if tags["CLC:code"] == "422":
     tags["landuse"] = "salt_pound"
if tags["CLC:code"] == "423":
     tags["water"] = "tidal"
if tags["CLC:code"] == "512":
     tags["natural"] = "water"
if tags["CLC:code"] == "521":
     tags["natural"] = "water"





Plus d'informations sur la liste de diffusion Talk-fr