<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
UPDATE city_boundaries SET way = ST_Makevalid(ST_Buffer(ST_Buffer(wayn1,<br>
50, 'join=miter'), -50, 'join=miter'));<br></blockquote><div><br></div><div>quick side note: you are not expected to need MakeValid after Buffer. If you ever have an invalid as an output of Buffer, that has to be reported as a bug with specific inputs you feed it.</div><div> </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Darafei "Komяpa" Praliaskouski<br>OSM BY Team - <a href="http://openstreetmap.by/" target="_blank">http://openstreetmap.by/</a><br></div></div></div>