Changes between Version 2 and Version 3 of UsersWikiSimplifyPreserveTopology


Ignore:
Timestamp:
Apr 8, 2012, 6:33:00 AM (12 years ago)
Author:
nicolasribotosgeo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiSimplifyPreserveTopology

    v2 v3  
    33== What we want ==
    44
    5 Simplifying this layer:
    6 
    7  [[Image(SPT_dept_ori.png)]]
    8 
    9 into this:
    10 
    11  [[Image(SPT_dept_sim.png)]]
     5|| Simplifying this layer: || into this: ||
     6|| [[Image(SPT_dept_ori.png)]] ||  [[Image(SPT_dept_sim.png)]] ||
    127
    138== The data ==
     
    2520== Principle of simplification ==
    2621
    27 Based on the technique described here [[]], we extract linestrings out of polygons, then union and simplify them.
    28 st_polygonize() is used to rebuild surfaces from linestrings. Attributes from the initial layer are associated with simplified polygons.
     22Based on the technique described here [[]]:
     23* we extract linestrings out of polygons,
     24* then union and simplify them
     25* st_polygonize() is used to rebuild surfaces from linestrings.
     26* Finally, attributes from the initial layer are associated with simplified polygons.
    2927
    3028== Steps ==
     
    9896 [[Image(SPT_bad_attributes.png)]]
    9997
    100 8. Second method is based on percentage of overlaping area comparison. It gives better results in our testcase.
     988. Second method is based on percentage of overlaping area comparison.
    10199{{{
    102100create table simpledep as (
     
    107105);
    108106}}}
     107
     108 It gives better results in our testcase:
     109
     110 [[Image(SPT_good_attributes.png)]]
     111
    109112
    1101139. rebuild departements by grouping them by code_dept (other attributes could be re-associated here):