Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I need an operations in PostGIS to eliminate intermediate vertexes in a polygon to rectify the walls of a building.

I was revising http://trac.osgeo.org/postgis/wiki/UsersWikiExamplesSpikeRemover but it only works to eliminate spikes.

example:

example

share|improve this question

1 Answer 1

Applying a douglas-peucker filter with a small parameter value (like one meter) should remove these points. See ST_Simplify.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.