forked from hans/Nominatim
When using a linked place as centroid for a boundary, check first that it is really within the area. If it is outside, just keep the computed centroid because a centroid outside the area just causes havok. Fixes #1352.