Changeset b3c5ebe in osmose-backend


Ignore:
Timestamp:
Jun 11, 2013 11:16:48 PM (6 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
e4210d3, 045c70f
Parents:
d0f8b80
Message:

Fix _touched use in analyser_osmosis_highway_vs_building

File:
1 edited

Legend:

Unmodified
Added
Removed
  • analysers/analyser_osmosis_highway_vs_building.py

    rb952baf rb3c5ebe  
    5757    ST_AsText(tree.geom) 
    5858FROM 
    59     nodes AS tree 
    60     JOIN ways AS building ON 
     59    {0}nodes AS tree 
     60    JOIN {1}ways AS building ON 
    6161        tree.geom && building.linestring AND 
    6262        ST_NPoints(building.linestring) > 2 AND 
     
    8181    ST_AsText(tree.geom) 
    8282FROM 
    83     nodes AS tree 
    84     JOIN ways AS highway ON 
     83    {0}nodes AS tree 
     84    JOIN {1}ways AS highway ON 
    8585        tree.geom && highway.linestring AND 
    8686        ST_NPoints(highway.linestring) > 1 AND 
     
    106106    ST_AsText(ST_Centroid(ST_Intersection(highways.linestring, water.linestring))) 
    107107FROM 
    108     ways AS highways 
    109     JOIN ways AS water ON 
     108    {0}ways AS highways 
     109    JOIN {1}ways AS water ON 
    110110        highways.linestring && water.linestring AND 
    111111        ST_NPoints(highways.linestring) > 1 AND 
Note: See TracChangeset for help on using the changeset viewer.