def construct_rest_of_world(self, excluded, name=None, fp=None, geom=True):
for location in excluded:<EOL><INDENT>assert location in self.locations, "<STR_LIT>".format(location)<EOL><DEDENT>included = self.all_faces.difference(<EOL>set().union(*[set(self.data[loc]) for loc in excluded])<EOL>)<EOL>if not geom:<EOL><INDENT>return included<EOL><DEDENT>elif not gis:<EOL><INDENT>warn(MISSING_GIS)<EOL>return<EOL><DEDENT>geom = _union(included)[<NUM_LIT:1>]<EOL>if fp:<EOL><INDENT>self.write_geoms_to_file(fp, [geom], [name] if name else None)<EOL>return fp<EOL><DEDENT>else:<EOL><INDENT>return geom<EOL><DEDENT>
Construct rest-of-world geometry and optionally write to filepath ``fp``.

        Excludes faces in location list ``excluded``. ``excluded`` must be an iterable of location strings (not face ids).