Changes between Version 2 and Version 3 of UsersWikiSimplifyWithTopologyExt


Ignore:
Timestamp:
Apr 10, 2012, 9:48:07 AM (12 years ago)
Author:
nicolasribotosgeo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiSimplifyWithTopologyExt

    v2 v3  
    2525#!sh
    2626shp2pgsql -IiD -g geom -s 2154 DEPARTEMENT.SHP departement | psql
     27
    2728}}}
    2829
     
    4849-- adds the new geom column that will contain simplified geoms
    4950alter table new_dept add column simple_geom geometry(POLYGON, 2154);
     51
    5052}}}
    5153
     
    7375       from topo1.edge_data
    7476) as foo;
     77
    7578}}}
    7679
     
    8790where st_intersects(d.geom, sf.geom)
    8891and st_area(st_intersection(sf.geom, d.geom))/st_area(sf.geom) > 0.5;
     92
    8993}}}
    9094