Changeset 73289fb in osmose-backend


Ignore:
Timestamp:
Oct 19, 2014 3:49:42 PM (5 years ago)
Author:
Frédéric Rodrigo <fred.rodrigo@…>
Branches:
master
Children:
0a47b1b
Parents:
70595cd
git-author:
Frédéric Rodrigo <fred.rodrigo@…> (19/10/2014 15:03:48)
git-committer:
Frédéric Rodrigo <fred.rodrigo@…> (19/10/2014 15:49:42)
Message:

Translate comment into English

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_roundabout.py

    read7782 r73289fb  
    3838            -- tags 
    3939            ways.tags?'highway' AND 
    40             ways.tags->'highway' IN ('primary','secondary','tertiary','residential') AND -- c'est une route pour voiture 
     40            ways.tags->'highway' IN ('primary','secondary','tertiary','residential') AND -- it's a car road 
    4141            (NOT ways.tags?'junction' OR ways.tags->'junction' != 'roundabout') AND 
    4242            NOT ways.tags?'area' AND 
    43             (NOT ways.tags?'name' OR ways.tags->'name' LIKE 'Rond%' OR ways.tags->'name' LIKE 'Giratoire%') AND -- pas de nom ou commence par 'Rond' ou par 'Giratoire' 
     43            (NOT ways.tags?'name' OR ways.tags->'name' LIKE 'Rond%' OR ways.tags->'name' LIKE 'Giratoire%') AND -- no name or start with 'Rond' or 'Giratoire' (French) 
    4444            -- geometry 
    45             ways.is_polygon AND -- C'est un polygone 
     45            ways.is_polygon AND -- It's a polygon 
    4646            ST_NPoints(linestring) < 24 AND 
    47             ST_MaxDistance(ST_Transform(linestring,{0}),ST_Transform(linestring,{0})) < 70 AND -- Le way fait moins de 70m de diametre 
    48             ST_Area(ST_MakePolygon(ST_Transform(linestring,{0})))/ST_Area(ST_MinimumBoundingCircle(ST_Transform(linestring,{0}))) > 0.6 -- 90% de rp recouvrent plus 60% du cercle englobant 
     47            ST_MaxDistance(ST_Transform(linestring,{0}),ST_Transform(linestring,{0})) < 70 AND -- The way diameter is less than 70m 
     48            ST_Area(ST_MakePolygon(ST_Transform(linestring,{0})))/ST_Area(ST_MinimumBoundingCircle(ST_Transform(linestring,{0}))) > 0.6 -- 90% of roundabout covert more than 60% bounding circle 
    4949    ) AS ways 
    5050    JOIN way_nodes ON 
     
    5757    geom 
    5858HAVING 
    59     COUNT(*) >= 2-- selection des rond-points connecté a au moins deux voies 
     59    COUNT(*) >= 2 -- select round about at least connected with two ways 
    6060""" 
    6161 
Note: See TracChangeset for help on using the changeset viewer.