def show(self, id):
        """ GET /mapfiles/id: Get a specific mapfile owned by the current user. """
        map = self._get_map_from_user_by_id(c.user, id)
        if map is None:
            abort(404)
        mapfile = Mapfile()
        mapfile.from_file(os.path.join(config['mapfiles_dir'], map.filepath))
        return {
            'map': mapfile.to_dict(),
            'wmsproxyurl': h.url_for(controller='mapfiles', action='wms_proxy', id=id),
            'wmsurl': "%s?%s" %(config['mapserver_url'], urlencode({'map':os.path.join(config['mapfiles_dir'], map.filepath)}))
        }
GET /mapfiles/id: Get a specific mapfile owned by the current user.