Strategic Planning for local development of amalgamated territorial communities