fix SQL
This commit is contained in:
parent
dbdb392c6e
commit
a7f2819d76
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ alter table planet_osm_polygon_twkb add column twkb bytea;
|
||||||
update planet_osm_polygon_twkb set twkb = ST_AsTWKB(way, 2);
|
update planet_osm_polygon_twkb set twkb = ST_AsTWKB(way, 2);
|
||||||
alter table planet_osm_polygon_twkb drop column way;
|
alter table planet_osm_polygon_twkb drop column way;
|
||||||
```
|
```
|
||||||
*NOTE: `update planet_osm_polygon_twkb set twkb = ST_AsTWKB(way, 2);` should be using `ST_AsTWKB(ST_Simplify(ST_RemoveRepeatedPoints(way, <tolerance>),<tolerance>),2)`
|
_NOTE: `update planet_osm_polygon_twkb set twkb = ST_AsTWKB(way, 2);` should be using `ST_AsTWKB(ST_Simplify(ST_RemoveRepeatedPoints(way, <tolerance>),<tolerance>, true),2)`
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue